Page 1 of 1

bot geting stuck

Posted: Tue Aug 17, 2010 10:57 am
by Nathanoo
ok the bot well get stuck and kill me i dont know what it is but the log gives this


stack traceback:
scripts/rom/classes/pawn.lua:184: in function 'update'
scripts/rom/classes/pawn.lua:152: in function 'ctor'
...Users/Nathan/Desktop/micromacro/lib/mods/classes.lua:26: in function 'CPawn'
scripts/rom/classes/player.lua:168: in function 'findEnemy'
scripts/rom/classes/player.lua:1577: in function 'moveTo'
scripts/rom/bot.lua:629: in function 'foo'
C:\Users\Nathan\Desktop\micromacro\lib\lib.lua:510: in function <C:\Users\Nathan\Desktop\micromacro\lib\lib.lua:508>

----------TRACEBACK END----------

Tue Aug 17 08:51:12 2010 : scripts/rom/classes/pawn.lua:184: bad argument #1 to 'bitAnd' ((null))
Tue Aug 17 08:51:12 2010 : Execution error: Runtime error

Re: bot geting stuck

Posted: Tue Aug 17, 2010 9:18 pm
by Administrator
SVN - Always have the newest version:
Advanced:

For those of you who already have some working knowledge of SVN, you can use this command to checkout:
svn checkout http://rom-bot.googlecode.com/svn/trunk/ rom-bot-read-only


Simple:

First, I suggest you install Tortoise SVN. Once installed, you may need to reboot your machine. Now, locate your 'rom' folder (should be inside micromacro/scripts/) and right-click it. Select 'SVN Checkout'.

Now, a window should open. Inside "URL of repository:", enter this url:
http://rom-bot.googlecode.com/svn/trunk/rom

Everything else can be left at default. Click OK and it should begin downloading and updating all of your files. Now that you've got it all setup, you can simply right click the 'rom' folder again and select SVN update. Typically, a red icon over the folder should indicate that there are updates to download.


Problems with file conflicts?

This typically happens if you've made any modifications to the scripts. To fix it, you should delete any files that have conflicts, and try to SVN update again.

Re: bot geting stuck

Posted: Tue Sep 21, 2010 6:39 pm
by jpp
still having this on version 501

Code: Select all

We get aggro. Stop moving to waypoint and wait for target.
D:/cg/rom/micromacro/scripts/rom/classes/pawn.lua:184: bad argument #1 to 'bitAn
d' ((null))
it mostly happens for Knight and did not happened for Warrior.