stability problems using fastLogin

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
C3PO
Posts: 109
Joined: Sun Jul 10, 2011 2:45 pm

stability problems using fastLogin

#1 Post by C3PO »

Hello,

I'm using since 2 weeks the fastLogin functionality and nearly every time I need to do something because it hangs up. The error messages are:

1) within a WP File

Code: Select all

3:24pm - D:/MicroMacro/scripts/rom/functions.lua:2227: bad argument #1 to 'origi
nalkeyboardHold' (number expected, got nil)
or within a command in the commandline

Code: Select all

onLoad error: D:/MicroMacro/scripts/rom/functions.lua:2227: bad argument #1 to '
originalkeyboardHold' (number expected, got nil)
2) or

Code: Select all

Keine Fernkampf Fähigkeit im Profil angegeben. Option COMBAT_RANGED_PULL wurde a
usgeschaltet.
onLoad error: undefined player.Class1 in settings.lua
3) or it "forgets" the server (within one account)
4) or it writes that it didn't find the macro on place 1
5) after changing the char the bot is not fighting against the mobs in the changeOptionFriendMob("mob", mob, "Add"). but the char is running and fighting back if necessary.

could someone tell me what to do to get it working more reliable?

the code for the command is

Code: Select all

function all_Users()
	
	AccountNumber = RoMScript("LogID")									
	CharacterNumber = RoMScript("CHARACTER_SELECT.selectedIndex")
		
	while not (AccountNumber == 55 and CharacterNumber ==8)
	do
		SetCharList({
					{account=1 , chars= {1,2,3,4,5,6,7,8}},
					--...
					{account=55 , chars= {1,2,3,4,5,6,7,8}},
					})
		
		
		
		
		logInfo("test","running with " .. player.Name .. "/" .. RoMScript("GetAccountName()") .. "(" .. CharacterNumber .. "/" .. RoMScript("LogID") .. ") ",true)
		player:rest(0.05*60)												-- 30sec pause
		
		LoginNextChar()
		player = CPlayer.new();
		settings.load();
		settings.loadProfile(convertProfileName("MyDef"))
		
		AccountNumber = RoMScript("LogID")									--AccountName = RoMScript("GetAccountName()")
		CharacterNumber = RoMScript("CHARACTER_SELECT.selectedIndex")
	end
	logInfo("test","running with " .. player.Name .. "/" .. RoMScript("GetAccountName()") .. "(" .. CharacterNumber .. "/" .. RoMScript("LogID") .. ") ",true)
	player:rest(0.05*60)												-- 30sec pause
end
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: stability problems using fastLogin

#2 Post by rock5 »

Maybe you have a corrupt bot installation. Try doing a svn revert.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
C3PO
Posts: 109
Joined: Sun Jul 10, 2011 2:45 pm

Re: stability problems using fastLogin

#3 Post by C3PO »

Hi Rock,

I tested it but it's still the same. About 20 from 160 times (maybe more often) I get one of the error above.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: stability problems using fastLogin

#4 Post by lisa »

When I change characters a lot in a short period of time I get the choose server window popup but it keeps logging in anyway, if I am only logging occasional it is fine.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
C3PO
Posts: 109
Joined: Sun Jul 10, 2011 2:45 pm

Re: stability problems using fastLogin

#5 Post by C3PO »

What time span would you suggest Lisa?
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: stability problems using fastLogin

#6 Post by lisa »

If I am running a WP that literally logs in and then logs next char it gets the choose server window, when I run a WP that takes more than 2 minutes it seems fine. It may be different for others.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Post Reply