Page 1 of 1

bot error

Posted: Sun Aug 15, 2010 9:01 pm
by whome12
classes/player.lua:1293: attempt to index global 'self' <a nil value>

kept on getting that error and the bot just stop running

Re: bot error

Posted: Sun Aug 15, 2010 9:03 pm
by Administrator
That's bound to happen when you are using mismatched files.
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 error

Posted: Sun Aug 15, 2010 9:38 pm
by whome12
first of: thanks for the quick reply

i deleted everything.. and redownloaded the micromacro.. then went to script > create new folder > svn checkout...
when i start the bot and update it.. everything is ok.. but when i run it.. it gives me classes/memorytable.lua:117: attempt to perform arithmetic on local 'tablepointerdir' < a nil value >

fix addresses doesn't help..
btw it's PH client

Re: bot error

Posted: Sun Aug 15, 2010 10:26 pm
by Administrator
whome12 wrote: btw it's PH client
There's your problem. We don't have that information for the PH client.

Revert to an older version. http://www.solarstrike.net/phpBB3/viewt ... =21&t=1121

Re: bot error

Posted: Sun Aug 15, 2010 10:36 pm
by whome12
yup.. i got the ph version of the micromacro.. everything works well... except for that error which i mentioned on post 1..
it seems all the icons got a check mark except for the addresses.lua which have a ! mark