Page 1 of 1

Help bot crash with 761

Posted: Sat Aug 17, 2013 12:19 pm
by Romplayer
The game client did not crash.
12:7am - E:/micromacro/micromacro/scripts/functions.lua:2295: bad argument #2 to
'memoryReadInt' (number expected, got nil)
New revision error?

usually happens with multiple mobs attacking me with a possible stun.

or maybe it is when i run out of HP potions...?

Re: Help bot crash with 761

Posted: Sat Aug 17, 2013 12:49 pm
by rock5
Line 2295 has to do with the getTEXT function. Argument #2 is an address from addresses.lua. It should exist. Maybe you bot install is corrupt. Try doing a 'revert'. Right click the 'rom' folder and select "TortoiseSVN/Revert".

Re: Help bot crash with 761

Posted: Sat Aug 17, 2013 12:59 pm
by Romplayer
I reverted and still get the same error.
Maybe the memory address is wrong?

Re: Help bot crash with 761

Posted: Sat Aug 17, 2013 2:07 pm
by Romplayer
well I replaced my addresses.lua with the one on the svn page... and it works.
Maybe doing a bot.lua update screwed it up. IDK
a fresh addresses.lua makes it work perfect.

Re: Help bot crash with 761

Posted: Fri Aug 30, 2013 6:43 am
by lolita
I had problem's with 761 too, this was my error

Code: Select all

1:38pm - scripts\rom/bot.lua:86: ...ram Files/micromacro/scripts/rom/classes/memorytable.lua:7: bad argument #2 to 'memoryReadUIntPtr' (number expected, got nil)
I fixed my problem with this

Code: Select all

rom/update.lua