Page 2 of 4
Re: Bot strange error?
Posted: Tue Aug 23, 2011 6:20 pm
by yoyodoggg
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
Re: Bot strange error?
Posted: Tue Aug 23, 2011 11:30 pm
by rock5
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.
Re: Bot strange error?
Posted: Wed Aug 24, 2011 12:14 am
by lisa
rock5 wrote:
Code: Select all
/script SendSystemChat(type(GetKeyboardFocus))
Posts "function", so should still work
Re: Bot strange error?
Posted: Wed Aug 24, 2011 7:09 am
by rock5
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.
Re: Bot strange error?
Posted: Wed Aug 24, 2011 11:22 am
by yoyodoggg
/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.
Re: Bot strange error?
Posted: Wed Aug 24, 2011 12:21 pm
by rock5
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.
Re: Bot strange error?
Posted: Wed Aug 24, 2011 5:40 pm
by Murky
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
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 againCode: 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?
Re: Bot strange error?
Posted: Wed Aug 24, 2011 8:25 pm
by yoyodoggg
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.
Re: Bot strange error?
Posted: Wed Aug 24, 2011 8:55 pm
by rock5
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?
Re: Bot strange error?
Posted: Wed Aug 24, 2011 9:12 pm
by Murky
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
Re: Bot strange error?
Posted: Wed Aug 24, 2011 10:37 pm
by rock5
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
does the commandline appear in the waypoint list?
Re: Bot strange error?
Posted: Thu Aug 25, 2011 12:09 am
by Murky
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
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 againCode: 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()")
Re: Bot strange error?
Posted: Thu Aug 25, 2011 9:59 am
by botnewb
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!
Re: Bot strange error?
Posted: Thu Aug 25, 2011 11:09 am
by Murky
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
Re: Bot strange error?
Posted: Thu Aug 25, 2011 9:12 pm
by rock5
Murky, what version of the game client are you using? Are you using an older one? Maybe there's conflict of versions.
Re: Bot strange error?
Posted: Thu Aug 25, 2011 11:17 pm
by Murky
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
Re: Bot strange error?
Posted: Fri Aug 26, 2011 7:15 am
by rock5
I'm running out of idea.
Maybe try a fresh install of the bot or try removing all your game addoons.
Re: Bot strange error?
Posted: Fri Aug 26, 2011 8:36 am
by Murky
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.
Re: Bot strange error?
Posted: Fri Aug 26, 2011 12:32 pm
by yoyodoggg
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>
Re: Bot strange error?
Posted: Fri Aug 26, 2011 1:29 pm
by Administrator
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.