Bot strange error?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
yoyodoggg
Posts: 34
Joined: Mon Aug 22, 2011 8:54 pm

Re: Bot strange error?

#21 Post by yoyodoggg » Tue Aug 23, 2011 6:20 pm

updated to 640 rev today. tryed it again, was able to reproduce the error again.

[string "R=" a={GetKeyboardFocus():ClearFocus()} fo..."]:1: attempt to index a nil value

printf("%x\n",addresses.editBoxHasFocus_address)=
a18fc4

print(memoryReadUInt(getProc(), addresses.editBoxHasFocus_address))=
0

RoMScript("GetKeyboardFocus():ClearFocus()")
started spaming ESC on the char and didnt stop till i cntl L

then
printf("%x\n",addresses.editBoxHasFocus_address)=
0

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

Re: Bot strange error?

#22 Post by rock5 » Tue Aug 23, 2011 11:30 pm

Hm... Maybe they removed the getfocus function. I can't test it at the moment so try this in the game.

Code: Select all

/script SendSystemChat(type(GetKeyboardFocus))
BTW is that first error message an ingame error or did it appear in the micromacro window?

Edit: Can you also make sure that your functions.lua file doesn't have a red icon next to it.
  • 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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Bot strange error?

#23 Post by lisa » Wed Aug 24, 2011 12:14 am

rock5 wrote:

Code: Select all

/script SendSystemChat(type(GetKeyboardFocus))
Posts "function", so should still work
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

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

Re: Bot strange error?

#24 Post by rock5 » Wed Aug 24, 2011 7:09 am

I think there is an error in his RoMScript function although how, I don't know.

That error message starts
[string "R=" a={
but it should start
[string "R='' a={
It could just be a typo because it was manually written in the post but it would explain the error.

So I'm just waiting to hear back.
  • 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

yoyodoggg
Posts: 34
Joined: Mon Aug 22, 2011 8:54 pm

Re: Bot strange error?

#25 Post by yoyodoggg » Wed Aug 24, 2011 11:22 am

/script SendSystemChat(type(GetKeyboardFocus)) returns
function

the first error in ingame and in my little mini error icon in my mini map

there is no red icon by my fuctions.

on an unrelated note i got this error today

Unstick tries 12 greater then maximum
08/24/11 08:13:38 Auto-logging out.
'TASKKILL' is not recognized as an in
operable program or batch file.

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

Re: Bot strange error?

#26 Post by rock5 » Wed Aug 24, 2011 12:21 pm

yoyodoggg wrote:[string "R=" a={GetKeyboardFocus():ClearFocus()} fo..."]:1: attempt to index a nil value
The only value that is "indexed" is 'a' but it clearly is made into a table so it should work. The only thing I can think of is maybe 'a' is used by another addon. It's not likely but it's the only thing I can think of.

So try this. Line 574-575 of functions.lua looks like this.

Code: Select all

			text = scriptDef.." R='' a={" .. script ..
			"} for i=1,#a do R=R..tostring(a[i])" ..
Change it to this

Code: Select all

			text = scriptDef.." R='' aa={" .. script ..
			"} for i=1,#aa do R=R..tostring(aa[i])" ..
See if that works.
  • 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

Murky
Posts: 29
Joined: Sun Jul 03, 2011 1:57 pm

Re: Bot strange error?

#27 Post by Murky » Wed Aug 24, 2011 5:40 pm

rock5 wrote:Could you please follow these instructions when next you get the ESC error.
  • 1. Stop or pause your waypoint file.
    2. Make sure the system menu isn't open.
    3. Start a new instance of micromacro.
    4. Enter

    Code: Select all

    rom/bot path:commandline
    5. Enter

    Code: Select all

    printf("%x\n",addresses.editBoxHasFocus_address)
    6. Enter

    Code: Select all

    print(memoryReadUInt(getProc(), addresses.editBoxHasFocus_address))
    7. Enter

    Code: Select all

    RoMScript("GetKeyboardFocus():ClearFocus()")
    8. Enter again

    Code: Select all

    print(memoryReadUInt(getProc(), addresses.editBoxHasFocus_address))
And print the output here.


Tips for easy copy and paste from micromacro window:
  • Make sure micromacro is set to "QuickEdit Mode".
    • Right-click the micromacro title bar.
    • Select "Properties".
    • Click the "Options" tab.
    • Tick "QuickEdit Mode"
    To copy from the micromacro window.
    • Select the text you want to copy by clicking and dragging the mouse to highlight the text you want to copy.
    • Right-click the micromacro window (not the title bar or border).
    To paste to the micromacro window.
    • Move the cursor to where you want the text to appear using your arrow keys.
    • Right-click the micromacro window (not the title bar or border).
So if there is something selected and you right click the window, it copies but if there is nothing selected then it pastes.
im having trouble with step 1. yes i know sorry just try to bare with me :/

when i type : rom\bot path:commandline into micro macro it just starts the bot like normal?

yoyodoggg
Posts: 34
Joined: Mon Aug 22, 2011 8:54 pm

Re: Bot strange error?

#28 Post by yoyodoggg » Wed Aug 24, 2011 8:25 pm

could it be caused by another rombot instance?
i notice it will happen every time i load a 3rd bot , one of the other 2 will ESC spam bug
could just be my cpu teling me to piss off im overloaded =/
i used 1 not sandboxed, 1 sandbox, 1 not sandboxed
and both the 1st and 2nd buged out at different trys when the 3rd got activeated.

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

Re: Bot strange error?

#29 Post by rock5 » Wed Aug 24, 2011 8:55 pm

Murky wrote:when i type : rom\bot path:commandline into micro macro it just starts the bot like normal?
You mean you get the waypoint file list? So it doesn't start the commandline? In that case you must be using an older version of the bot. What version are you running?
yoyodoggg wrote:could it be caused by another rombot instance?
i notice it will happen every time i load a 3rd bot , one of the other 2 will ESC spam bug
could just be my cpu teling me to piss off im overloaded =/
i used 1 not sandboxed, 1 sandbox, 1 not sandboxed
and both the 1st and 2nd buged out at different trys when the 3rd got activeated.
I don't know. I don't think so, well not the esc error. I don't know what effect running boxed has though. Have you tried running all your clients unboxed to see what happens? Why do you run them boxed anyway? Which software are you talking about anyway? Are you talking about something like Sandboxie?
  • 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

Murky
Posts: 29
Joined: Sun Jul 03, 2011 1:57 pm

Re: Bot strange error?

#30 Post by Murky » Wed Aug 24, 2011 9:12 pm

rock5 wrote:
Murky wrote:when i type : rom\bot path:commandline into micro macro it just starts the bot like normal?
You mean you get the waypoint file list? So it doesn't start the commandline? In that case you must be using an older version of the bot. What version are you running?

when i type that, it starts the bot and then i have to press delete then it goes to the waypoints yes.

it says We can't find your waypoint file C:/....waypoints/commandline.xml

micromacro v1.01 beta 4
rombot version 3.29 revision 639

edit: i also use more than one client at a time does that matter? i bot on 1 and use 2-3 other ones for pet crafting and playing.

rock5 do you use AIM b/c it would make this a lot easier lol

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

Re: Bot strange error?

#31 Post by rock5 » Wed Aug 24, 2011 10:37 pm

The commandline waypoint file is part of the bot so either you've deleted the file or something about the way you have it set up is making it look in the wrong place for the file.

Does the "commandline.xml" file exist in the waypoints folder? If you type just

Code: Select all

rom/bot
does the commandline appear in the waypoint list?
  • 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

Murky
Posts: 29
Joined: Sun Jul 03, 2011 1:57 pm

Re: Bot strange error?

#32 Post by Murky » Thu Aug 25, 2011 12:09 am

rock5 wrote:Could you please follow these instructions when next you get the ESC error.
  • 1. Stop or pause your waypoint file.
    2. Make sure the system menu isn't open.
    3. Start a new instance of micromacro.
    4. Enter

    Code: Select all

    rom/bot path:commandline
    5. Enter

    Code: Select all

    printf("%x\n",addresses.editBoxHasFocus_address)
    6. Enter

    Code: Select all

    print(memoryReadUInt(getProc(), addresses.editBoxHasFocus_address))
    7. Enter

    Code: Select all

    RoMScript("GetKeyboardFocus():ClearFocus()")
    8. Enter again

    Code: Select all

    print(memoryReadUInt(getProc(), addresses.editBoxHasFocus_address))
And print the output here.


Tips for easy copy and paste from micromacro window:
  • Make sure micromacro is set to "QuickEdit Mode".
    • Right-click the micromacro title bar.
    • Select "Properties".
    • Click the "Options" tab.
    • Tick "QuickEdit Mode"
    To copy from the micromacro window.
    • Select the text you want to copy by clicking and dragging the mouse to highlight the text you want to copy.
    • Right-click the micromacro window (not the title bar or border).
    To paste to the micromacro window.
    • Move the cursor to where you want the text to appear using your arrow keys.
    • Right-click the micromacro window (not the title bar or border).
So if there is something selected and you right click the window, it copies but if there is nothing selected then it pastes.

after i do step 7 the bot starts spamming ESC and the command line won't let me do step 8



RomBot command line
Type in 'q' (without quotes) to quit.
Command> rom/bot path:commandline
Invalid Command
Command> printf("%x\n",addresses.editBoxHasFocus_address)
a18fc4
Command> print(memoryReadUInt(getProc(), addresses.editBoxHasFocus_address))
0
Command> RoMScript("GetKeyboardFocus():ClearFocus()")

botnewb
Posts: 26
Joined: Sun Jul 24, 2011 2:07 pm

Re: Bot strange error?

#33 Post by botnewb » Thu Aug 25, 2011 9:59 am

Hey guys idk if your getting the esc error still but i found when i deleted my addresses.lua and reverted it back to an older version it worked just fine! hope this helps yall!

Murky
Posts: 29
Joined: Sun Jul 03, 2011 1:57 pm

Re: Bot strange error?

#34 Post by Murky » Thu Aug 25, 2011 11:09 am

botnewb wrote:Hey guys idk if your getting the esc error still but i found when i deleted my addresses.lua and reverted it back to an older version it worked just fine! hope this helps yall!
which revision b/c when i do that it the bot won't even start up for me.
thanks

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

Re: Bot strange error?

#35 Post by rock5 » Thu Aug 25, 2011 9:12 pm

Murky, what version of the game client are you using? Are you using an older one? Maybe there's conflict of versions.
  • 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

Murky
Posts: 29
Joined: Sun Jul 03, 2011 1:57 pm

Re: Bot strange error?

#36 Post by Murky » Thu Aug 25, 2011 11:17 pm

rock5 wrote:Murky, what version of the game client are you using? Are you using an older one? Maybe there's conflict of versions.
4.0.1.2433

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

Re: Bot strange error?

#37 Post by rock5 » Fri Aug 26, 2011 7:15 am

I'm running out of idea.

Maybe try a fresh install of the bot or try removing all your game addoons.
  • 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

Murky
Posts: 29
Joined: Sun Jul 03, 2011 1:57 pm

Re: Bot strange error?

#38 Post by Murky » Fri Aug 26, 2011 8:36 am

rock5 wrote:I'm running out of idea.

Maybe try a fresh install of the bot or try removing all your game addoons.
i will try it again.

yoyodoggg
Posts: 34
Joined: Mon Aug 22, 2011 8:54 pm

Re: Bot strange error?

#39 Post by yoyodoggg » Fri Aug 26, 2011 12:32 pm

got a new error again today.

Use MACRO: Looting target in distance 18.
Clearing target.
11:34am - D:\Temp\micromacro\lib\lib.lua:472: stack overflow


Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>

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

Re: Bot strange error?

#40 Post by Administrator » Fri Aug 26, 2011 1:29 pm

yoyodoggg wrote:got a new error again today.

Use MACRO: Looting target in distance 18.
Clearing target.
11:34am - D:\Temp\micromacro\lib\lib.lua:472: stack overflow


Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
Redownload MicroMacro and try that.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests