Update Crash

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Uniden65
Posts: 151
Joined: Thu Aug 20, 2009 5:17 pm

Update Crash

#1 Post by Uniden65 » Thu Sep 10, 2009 2:07 pm

Well it looks like they add in a check or something for this bot ....when ever it checks for the MACRO system know the bot detects the client it crashes. ?

User avatar
Administrator
Site Admin
Posts: 5333
Joined: Sat Jan 05, 2008 4:21 pm

Re: Update Crash

#2 Post by Administrator » Thu Sep 10, 2009 2:57 pm

It probably has more to do with writing to the wrong location in memory. Go to line 334 in functions.lua and look for this line:

Code: Select all

	local macro_address = memoryReadUInt(getProc(), staticmacrobase_address);
Directly underneath that, add this:

Code: Select all

printf("macro_address: 0x%X\n", macro_address);
Then run the script. What does it say macro_address is?

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Update Crash

#3 Post by d003232 » Thu Sep 10, 2009 3:49 pm

CDWriter wrote:Well it looks like they add in a check or something for this bot ....when ever it checks for the MACRO system know the bot detects the client it crashes. ?
Other reasons could be:

1. Depending from the version you have. There were some coding like

Code: Select all

sendMacro("SetSpellPoint( 4, 2 );");
in the <onLeaveCombat> event in the default profile. That coding will levelup skills. If you try to levelup an wrong skill, your client will crash.

2. I could also happen, that your macro file is invalid an crash the client. Close RoM. Go to the RoM settings in your 'my documents' folder. There are folders within for every character. Go to the invalid character and delete the 'Macro.bsd' file (or just delete the whole folder, if that character is not important to you, or the whole settings, if your don't have special things).
The RoM Bot Online Wiki needs your help!

Uniden65
Posts: 151
Joined: Thu Aug 20, 2009 5:17 pm

Re: Update Crash

#4 Post by Uniden65 » Thu Sep 10, 2009 3:56 pm

Comes up 0xA220000

hmm that time it worked, But i had to update.lua before doing anything Even after geting it from Svn..... Then it spammed that number 20 times but it did work ? thats strange

I tryed it on a Noob char, ill try it agian on a old char see what happens and ill report it

and i have nothing there at all d003232

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Update Crash

#5 Post by d003232 » Thu Sep 10, 2009 4:00 pm

CDWriter wrote:and i have nothing there at all d003232
Couldn't be. After starting and closing RoM, RoM writes all settings to the folder 'Runes of Magic' in your 'My documents' folder (or 'Eigene Dateien' in a german installation, ...).
The RoM Bot Online Wiki needs your help!

Uniden65
Posts: 151
Joined: Thu Aug 20, 2009 5:17 pm

Re: Update Crash

#6 Post by Uniden65 » Thu Sep 10, 2009 4:06 pm

no no in the <onLeaveCombat> on the char file i have nothing there....

here is what it does


EDIT: delete image to protect character name (d003232)

Uniden65
Posts: 151
Joined: Thu Aug 20, 2009 5:17 pm

Re: Update Crash

#7 Post by Uniden65 » Thu Sep 10, 2009 4:22 pm

Another thing maybe its my character file, am sure its something becuase it works with my noob char with no skills setup


Working now ? Still dont understand why it crashed, and i deleted the macro file in documents



and thanks... Hopefuly i covered the names well enough ....

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Update Crash

#8 Post by d003232 » Thu Sep 10, 2009 4:40 pm

CDWriter wrote:Another thing maybe its my character file, am sure its something becuase it works with my noob char with no skills setup
I don't believe that a wrong profile settings could crash the client. If it happens while updating the the inventory, it looks more like something with that new functionality.

So we have to find way to come closer to the reason. There is a hiden profile option:

Code: Select all

<option name="DEBUG_INV" 			value="true" />
That could help to see, if it happens after scaning a certain numer of slots.

But. Do you still get the crash or it is now gone?
The RoM Bot Online Wiki needs your help!

Uniden65
Posts: 151
Joined: Thu Aug 20, 2009 5:17 pm

Re: Update Crash

#9 Post by Uniden65 » Thu Sep 10, 2009 4:46 pm

well i set up a empty macro in slot 1 in the macro menu ....i did not relize it wrote something there into the first macro for the bot too work ?

/script r='' a={UseSkill(1,1);} for i=1,#a do if a then r=r..tostring(a) end r=r..' ' end EditMacro(2,'',7,r);


I was deleteing everything in there thinking it was just throwing junk in there and adding my script too it , so i did not lose my key 0 assignment..

/cast Evasion


could this have been the reason it Crashed?

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Update Crash

#10 Post by d003232 » Thu Sep 10, 2009 4:50 pm

CDWriter wrote:well i set up a empty macro in slot 1 in the macro menu ....i did not relize it wrote something there into the first macro for the bot too work ?

/script r='' a={UseSkill(1,1);} for i=1,#a do if a then r=r..tostring(a) end r=r..' ' end EditMacro(2,'',7,r);


I was deleteing everything in there thinking it was just throwing junk in there and adding my script too it , so i did not lose my key 0 assignment..

/cast Evasion


could this have been the reason it Crashed?
Don't think so. The bot will just overwrite your macro '/cast Evasion'. But if you can't reproduce it, it was perhaps just something other?
The RoM Bot Online Wiki needs your help!

Uniden65
Posts: 151
Joined: Thu Aug 20, 2009 5:17 pm

Re: Update Crash

#11 Post by Uniden65 » Fri Sep 11, 2009 12:20 am

Yes i think it was it ? my macro went like this

/wait 1
/cast Assassins Rage
/wait 1
/cast Enrage
/wait 1
/cast Posion
/wait 1
/cast Evasion
/wait 1
/cast Hide

that was the macro i was adding in there, and each time CRASH..

Would that have been to long to remove and be replace by the bot?
and since your using macro now on assignment 0 .. Do we lose that assignment to that Number ...i dont understand what you mean our the site info you sent me about a Dummy file ? i seen it there but dont understand what it does so i delete it ?

Bottom line i hate losing that Key assignment since we only have 9 + 1 for HP our MP depending on what you use.

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Update Crash

#12 Post by d003232 » Fri Sep 11, 2009 1:49 am

CDWriter wrote: Would that have been to long to remove and be replace by the bot?
and since your using macro now on assignment 0 .. Do we lose that assignment to that Number ...i dont understand what you mean our the site info you sent me about a Dummy file ? i seen it there but dont understand what it does so i delete it ?

Bottom line i hate losing that Key assignment since we only have 9 + 1 for HP our MP depending on what you use.
You could also use a-z. Just enter your ingame options and go to the interface. There you can activate more action bars. And under key assignment (?) you can assign the proper keys.
The RoM Bot Online Wiki needs your help!

Uniden65
Posts: 151
Joined: Thu Aug 20, 2009 5:17 pm

Re: Update Crash

#13 Post by Uniden65 » Fri Sep 11, 2009 3:35 am

Well doo3232 that sounds great but when ever you assign them in the bot it gives this error.
Error: The hotkey 'VK=[' for 'XXXXXXXX" is not a Valid Key!
Please check your settings: Ingame -> System -> Hotkey and in your profile.
and in game its set to undifine just like all the others ?

and the profile is what making the bot report this ?

So i alway had this problem and not able to assign any more ?

Bind file is there also do i need to put it in Bot dir?

and iam using Vista so the binding text is located differently then Other OS's and it is reasding it says it right when it starts

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Update Crash

#14 Post by d003232 » Fri Sep 11, 2009 3:52 am

CDWriter wrote:Well doo3232 that sounds great but when ever you assign them in the bot it gives this error.
Error: The hotkey 'VK=[' for 'XXXXXXXX" is not a Valid Key!
Please check your settings: Ingame -> System -> Hotkey and in your profile.
and in game its set to undifine just like all the others ?

and the profile is what making the bot report this ?

So i alway had this problem and not able to assign any more ?

Bind file is there also do i need to put it in Bot dir?

and iam using Vista so the binding text is located differently then Other OS's
It difficult to see from your writing, what you have defined. It would be more helpfull to post the part of the profile with the key you defined. I suppose, you try to set a key '['. And thats not a valid key! I wrote:

'You could also use a-z'. That are 26 more keys. And there are some special virtual keys, that you can see in the file '\micromacro\lib\mods\keyboard\en_us.lua'.
The RoM Bot Online Wiki needs your help!

Uniden65
Posts: 151
Joined: Thu Aug 20, 2009 5:17 pm

Re: Update Crash

#15 Post by Uniden65 » Fri Sep 11, 2009 3:52 am

Please exnore it needed the assignment in CAPS to see it from the Bot profile

Works, Thanks ALot

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Update Crash

#16 Post by d003232 » Fri Sep 11, 2009 3:54 am

CDWriter wrote:Please exnore it needed the assignment in CAPS to see it from the Bot profile
I don't understand anything. But if it works ... it is fine. ;)
The RoM Bot Online Wiki needs your help!

Uniden65
Posts: 151
Joined: Thu Aug 20, 2009 5:17 pm

Re: Update Crash

#17 Post by Uniden65 » Fri Sep 11, 2009 4:35 am

Iam sorry ill explain it a little better ...i assigned the letters l j and i to three keys witch need to be low case in the game , but when it comes to the bot VK_ = X where X needs to be a CAP Letter L J and the I, That i added to my profile. but all is Great ....


thanks for the help doo3232 i hope that is a better explanation,

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Update Crash

#18 Post by d003232 » Fri Sep 11, 2009 4:40 am

CDWriter wrote:Iam sorry ill explain it a little better ...i assigned the letters l j and i to three keys witch need to be low case in the game , but when it comes to the bot VK_ = X where X needs to be a CAP Letter L J and the I, That i added to my profile. but all is Great ....


thanks for the help doo3232 i hope that is a better explanation,
Oki, thx, now I understand.
The RoM Bot Online Wiki needs your help!

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests