Another problem with LoginNextChar

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
NonAnon
Posts: 22
Joined: Wed Aug 06, 2014 5:10 am

Re: Another problem with LoginNextChar

#21 Post by NonAnon » Wed Jan 21, 2015 7:55 am

Still not working, but i have printout for you.

Code: Select all

Changing to character 2 account 2.
Doing player update in waitForLoadingScreen
Player address changed: 0x2659EB00
Ranged skill found: DRUID_EARTH_ARROW
Doing updateNature
Doing getBuff
Doing updatebuffs
Doing GetIdName in updateBuffs
Doing GetIdName 620454
Ending GetIdName
Doing GetIdName in updateBuffs
Doing GetIdName 620455
Ending GetIdName
Doing GetIdName in updateBuffs
Doing GetIdName 622704
Ending GetIdName
Ending updatebuffs
Doing GetIdName in getbuff
Doing GetIdName 503827
Slashcommand2   1       2       1       2
Paused. (Delete) to continue, (CTRL+L) exit to shell, (CTRL+C) quit
Resumed.
Ending GetIdName
Ending getBuff
Ending player:updateNature
Finished player update  1       2
loadPaths

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Another problem with LoginNextChar

#22 Post by rock5 » Wed Jan 21, 2015 9:58 am

I was really hoping in this line the numbers wouldn't match. It would give me something to look for.

Code: Select all

Slashcommand2   1       2       1       2
But 1,2 matches 1,2.

I noticed though that there is a loop immediately after this that it could get stuck in. Basically it's waiting for a value to change in memory. If it never changes because the command didn't work then it would wait forever. I'll try adding a time out and maybe have it try the command again. Hopefully these files will actually fix the problem. I still included some print messages to see if what I think is correct. In case you miss the messages I'm having it write to a log file too.
memorytable.lua
(8.32 KiB) Downloaded 115 times
functions.lua
(89.95 KiB) Downloaded 102 times
You can revert player.lua and pawn.lua.

If it gets stuck again. Show me what it prints. If it works then after you have run a few characters send me the log file in rom/logs called bool.log.
  • 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

NonAnon
Posts: 22
Joined: Wed Aug 06, 2014 5:10 am

Re: Another problem with LoginNextChar

#23 Post by NonAnon » Wed Jan 21, 2015 12:43 pm

IT'S ALIVE! Ekhm. Wrong speech.
It's Working.

Code: Select all


Bot started...
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
Slashcommand2	503827	1	2	1	2	
mismatched macros. Trying to run setupMacros()	
Slashcommand2	503827	1	2	1	2	
I was very smooth run!

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Another problem with LoginNextChar

#24 Post by rock5 » Wed Jan 21, 2015 8:10 pm

Good. I'll work on releasing an update to the bot. When I do, you might get conflict when you try to do an svn update. Just click ok when you get the conflict then do a revert on the whole rom folder. Or revert the files before doing the update.

And thanks for your help in solving this. This will be helpful to other users.
  • 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

NonAnon
Posts: 22
Joined: Wed Aug 06, 2014 5:10 am

Re: Another problem with LoginNextChar

#25 Post by NonAnon » Thu Jan 22, 2015 2:49 am

No problem, It can help me too in the future. : )
Thanks one more time.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Another problem with LoginNextChar

#26 Post by rock5 » Tue Jan 27, 2015 10:10 am

NonAnon, I see you are still visiting the forum. I'm not really happy with the solution. Could you try some other fixes?

I noticed that waitForLoadingScreen doesn't check IsInGame. This is because on my system IsInGame is already true by the time the loading screen has gone so there is no point. But maybe on servers like you play with this bug IsInGame becomes true a little later. This would be great if true.
functions.lua
IsInGame fix
(89.81 KiB) Downloaded 116 times
If that doesn't work then the only other idea I can think of is to try a RoMScript and see if it works. Of course you can't do this all the time but it could be added to waitForLoadingScreen just to be sure it's fully in the game.
functions.lua
RoMScript wait fix
(89.76 KiB) Downloaded 115 times
Please test with memorytable.lua restored to default.
  • 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

NonAnon
Posts: 22
Joined: Wed Aug 06, 2014 5:10 am

Re: Another problem with LoginNextChar

#27 Post by NonAnon » Sat Mar 07, 2015 6:32 am

Well with 1th:

Code: Select all

Changing to character 2 account 2.
IsInGame is true so it doesn't look like this will fix it.
Player address changed: 0x2634D700
Ranged skill found: DRUID_EARTH_ARROW
Paused. (Delete) to continue, (CTRL+L) exit to shell, (CTRL+C) quit
Resumed.
loadPaths
Still need to pause.
But for a second function.lua it seem to be working, but i still not sure, when i'll go through all alts on 2 accs i'll get you know.

Code: Select all

Changing to character 3 account 2.
RoMScript is working this time
Player address changed: 0x3C6FFA00
Ranged skill found: DRUID_EARTH_ARROW
loadPaths
But I'm really hopeful.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Another problem with LoginNextChar

#28 Post by rock5 » Sat Mar 07, 2015 6:49 am

Looks like I went with the RoMScript fix anyway in rev 780. So if the second is working then you should be able to just update the bot to 780 and it will also work.
  • 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

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 7 guests