Page 1 of 1

ERROR MESSAGE WHEN STARTING THE BOT

Posted: Sat Sep 24, 2011 6:18 am
by do002
Hi, after taking a break from RoM for awhile I decided to play again. I installed the bot and updated everything before running it but I kept getting this same error ..../rom/classes/memorytable.lua:74 bad argument #2 to 'memoryReadIntPtr' <number expected,got nil>. I have deleted the bot and reinstalled everything a few times and looked up rom wiki but couldn't find the solution. Anyone help is much appreciated. cheers

Re: ERROR MESSAGE WHEN STARTING THE BOT

Posted: Sat Sep 24, 2011 9:19 am
by lisa
are you running on a client with latest version?
did you do a full svn update and svn revert on both MM and rom folder?

Re: ERROR MESSAGE WHEN STARTING THE BOT

Posted: Sat Sep 24, 2011 8:34 pm
by do002
Yes, I'm currently using the latest RoM client. I have updated both MM and rom folders with SVN. I did reverting everything with SVN too but i still got the same error.

Re: ERROR MESSAGE WHEN STARTING THE BOT

Posted: Sat Sep 24, 2011 8:41 pm
by lisa
I am sorry but you can't have the latest version of bot.

The error is pointing to memorytable.lua line 74 which is

Code: Select all

				end
So nothing in that line which can cause an error and deffinately no arguments like the error says.

So maybe try open up that file and have a look, if you see the code I posted on line 74 then you might have an issue with compatability mode or something.

Otherwise you need to look at how svn is updating and reverting as it isn't doing it properly.

this is very familiar, search revealed
http://www.solarstrike.net/phpBB3/viewt ... 430#p26430

Re: ERROR MESSAGE WHEN STARTING THE BOT

Posted: Sat Sep 24, 2011 9:55 pm
by do002
Thanks Lisa, I just went through and checked every single folder and found that my script folder is set as Read-Only. I've tried to change it to full control but when i exited the folder it automatically changed back to read-only again :(. I even changed authority to administrator and changed the control but still didn't work. Any suggestions on how to fix this?

Re: ERROR MESSAGE WHEN STARTING THE BOT

Posted: Sat Sep 24, 2011 11:24 pm
by rock5
As far as I know, in Windows, folders always show as "Read Only". You have to look as the files themselves to see their actuall "Read Only" status. I think the folder "Read Only" checkbox is for changing the "Read Only" values of the files in the folder as a whole but the folder remains the same.

Re: ERROR MESSAGE WHEN STARTING THE BOT

Posted: Sun Sep 25, 2011 10:25 am
by do002
The bot is working perfectly for me now. I founded that there was an extra rom folder in the macro folder. Maybe it got in there when i did SVN update on the macro folder. I just got rid of that and the bot worked. Thank for the help lisa and rock :)