Setup Error

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Avaryan
Posts: 10
Joined: Sun Sep 06, 2009 3:18 pm

Setup Error

#1 Post by Avaryan » Tue Sep 08, 2009 6:22 pm

"The communication to the game with the MACRO function seems not to work.
Define ingame an empty macro at the FIRST macro space and assign that to your MACRO hotkey '0'."

I finally decided to download and set up the bot and this is one of the error messages I received. I did (well, I think I did) exactly what it asked and set up a blank macro and placed in on the '0' space on the action bar. Is this correct?

It still gave me that error though.

User avatar
droppen
Posts: 179
Joined: Mon Aug 03, 2009 10:32 pm

Re: Setup Error

#2 Post by droppen » Tue Sep 08, 2009 6:26 pm

Image

Avaryan
Posts: 10
Joined: Sun Sep 06, 2009 3:18 pm

Re: Setup Error

#3 Post by Avaryan » Tue Sep 08, 2009 6:29 pm

That is where I placed it. It adds the following code to it:

Code: Select all

/script r='' a={000} for i=1,#a do if a[i] then r=r..tostring(a[i]) end r=r..'	' end EditMacro(2,'',7,r);
However, it still gives me the same error even after it adds that.

User avatar
droppen
Posts: 179
Joined: Mon Aug 03, 2009 10:32 pm

Re: Setup Error

#4 Post by droppen » Tue Sep 08, 2009 6:32 pm

try reverting it to an older reversion..

Avaryan
Posts: 10
Joined: Sun Sep 06, 2009 3:18 pm

Re: Setup Error

#5 Post by Avaryan » Tue Sep 08, 2009 6:44 pm

This is how it looks on my screen. The text in the macro is what was put there when I ran createpath.lue

Image

User avatar
droppen
Posts: 179
Joined: Mon Aug 03, 2009 10:32 pm

Re: Setup Error

#6 Post by droppen » Tue Sep 08, 2009 8:15 pm

thanks for the detailed bug description. the bug is that some function in createpath.lua is trying to run "RoMScript("000");" witch is bad. debugging.. hmm

User avatar
droppen
Posts: 179
Joined: Mon Aug 03, 2009 10:32 pm

Re: Setup Error

#7 Post by droppen » Tue Sep 08, 2009 8:22 pm

i couldn't figure out the problem, because i didn't get it. please revert createpath.lua to reversion 217

Avaryan
Posts: 10
Joined: Sun Sep 06, 2009 3:18 pm

Re: Setup Error

#8 Post by Avaryan » Tue Sep 08, 2009 11:29 pm

Ok. 217 does seem to work for me. I haven't actually created any waypoints yet, but the options to do so are now available.

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

Re: Setup Error

#9 Post by d003232 » Wed Sep 09, 2009 6:19 am

Avaryan wrote:It still gave me that error though.
I can reproduce it by starting the cratepath.lua . It seems some timing thing. Sometimes it works. Mostly not. I set a 'yrest(2000)' before the check in settings.lua. It seems to help, so I thought perhaps a cooldown thing preventing from executing the macro? But I only helps sometimes. At 50% the error is still there.

I checked it after getting the error. The submited macro is stored in the place 1. But there are no return values at macro place 2. So the macro seems only to be stored, but not executed. If I press the macro key manual after the error, the right return values are stored in place 2.

I don't understand, why that problem don't occurs, if we start the normal bot.lua ?
The RoM Bot Online Wiki needs your help!

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

Re: Setup Error

#10 Post by d003232 » Wed Sep 09, 2009 5:04 pm

With SVN 128 I added a 'attach':

Code: Select all

attach(getWin());
startMacro(main, true);
Hope that's the right solution. At least I don't get the error anymore.
The RoM Bot Online Wiki needs your help!

Avaryan
Posts: 10
Joined: Sun Sep 06, 2009 3:18 pm

Re: Setup Error

#11 Post by Avaryan » Wed Sep 09, 2009 5:26 pm

d003232 wrote:If I press the macro key manual after the error, the right return values are stored in place 2.
Yes, I also had that happen when I was running the latest revision.

No problems since I rolled back to the one you suggested, so I suggest looking at what areas of the code where changed from that version to the current.

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

Re: Setup Error

#12 Post by d003232 » Wed Sep 09, 2009 5:28 pm

Avaryan wrote:No problems since I rolled back to the one you suggested, so I suggest looking at what areas of the code where changed from that version to the current.
Sould be solved with the last SVN version 228.
The RoM Bot Online Wiki needs your help!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest