Page 1 of 2
[Problem] "Attempt to compare number with nil"
Posted: Fri Dec 10, 2010 6:53 am
by zarossa
It all works till last conservation which was in 9.12. You can see my problem in the picture. I have reinstalled bot, game and even try to use this option update in bot, but still nothing. So here is my question - what should I do?
Re: [Problem] "Attempt to compare number with nil"
Posted: Fri Dec 10, 2010 7:28 am
by jduartedj
I suggest you start by running 'rom/update' or 'rom/bot update'!
Re: [Problem] "Attempt to compare number with nil"
Posted: Fri Dec 10, 2010 7:56 am
by zarossa
Like I wrote before I have done it but there is something like this (in the picture). Moreover rom is updated.
Re: [Problem] "Attempt to compare number with nil"
Posted: Fri Dec 10, 2010 8:23 am
by rock5
Looks like you are using an older version of the bot. What version are you using?
Re: [Problem] "Attempt to compare number with nil"
Posted: Fri Dec 10, 2010 8:34 am
by zarossa
v.1.01 beta 3, but on screen you can see v.1.0 , but I already reinstalled bot and same shit. ;/
Re: [Problem] "Attempt to compare number with nil"
Posted: Fri Dec 10, 2010 9:47 am
by rock5
zarossa wrote:v.1.01 beta 3, but on screen you can see v.1.0 , but I already reinstalled bot and same shit. ;/
v 1.01 beta 3 is the version of micromacro. That is the lua language interpreter. The way to check the version of rombot is by right clicking the rom folder and selecting "TortoiseSVN/Show Log". Also are there any files in the 'rom' folder with red icons next to them?
Re: [Problem] "Attempt to compare number with nil"
Posted: Fri Dec 10, 2010 3:56 pm
by zarossa
To be honest I don't really know what are ya mean.. ; x Can ya explain it in other way? or even show me it on screens if you can.
Re: [Problem] "Attempt to compare number with nil"
Posted: Fri Dec 10, 2010 4:13 pm
by jduartedj
do you have tortoise or any SVN software installed?
If not I recommend you do so and update the bot.
Re: [Problem] "Attempt to compare number with nil"
Posted: Sat Dec 11, 2010 4:06 am
by zarossa
I have installed this program, updated what I could.. still can't 2 things which are in my opinion not worth to mention, but now I'm having problem with this.. What should I do?
Re: [Problem] "Attempt to compare number with nil"
Posted: Sat Dec 11, 2010 4:20 am
by rock5
macros.lua is not one of rombots files. There's something funny about your version.
Re: [Problem] "Attempt to compare number with nil"
Posted: Sat Dec 11, 2010 4:22 am
by jduartedj
Have you got the latest SVN RoM Bot version? (r541)
Try having a look at the wiki on my signature, may be it helps.
Start with a clean install!
and BTW you can just copy paste the errors... no need for screenshots!
Re: [Problem] "Attempt to compare number with nil"
Posted: Sat Dec 11, 2010 4:30 am
by zarossa
To be honest I'm tired of it. I have done something then again new problem, then again again and again. I give up, thanks for tryin' to help me, but I guess it's impossible to do it.
Re: [Problem] "Attempt to compare number with nil"
Posted: Sat Dec 11, 2010 4:31 am
by rock5
Ah I see my error. Then it must not be installed properly as it says the error is with 'micromacro/scripts/macros.lua' which is not even in the 'rom' sub-folder.
Maybe that's what he did, he copied the contents of the rom folder directly into the scripts folder?
Re: [Problem] "Attempt to compare number with nil"
Posted: Sat Dec 11, 2010 4:35 am
by jduartedj
jduartedj wrote:
Try having a look at the wiki on my signature, may be it helps.
Hello....! WIKI! go here -->
http://www.solarstrike.net/wiki/index.p ... le=RoM_Bot
follow the instructions precisely and it'll work for sure!
put the rom folder *INSIDE* scripts folder (micromacro/scripts/rom)
Re: [Problem] "Attempt to compare number with nil"
Posted: Sat Dec 11, 2010 4:44 am
by zarossa
Like I told ya I reinstalled it.. and still the same. It's confusing me a lot.
Re: [Problem] "Attempt to compare number with nil"
Posted: Sat Dec 11, 2010 4:55 am
by jduartedj
zarossa wrote:Like I told ya I reinstalled it.. and still the same. It's confusing me a lot.
Honestly??? then How did you get a "macros.lua" file inside scripts folder? it's NOT supposed to be there!!!
ME wrote:put the rom folder *INSIDE* scripts folder (micromacro/scripts/rom)
macros.lua--> micromacro/scripts/rom/macros.lua
just like every other rom bot file!
Re: [Problem] "Attempt to compare number with nil"
Posted: Sat Dec 11, 2010 5:02 am
by zarossa
Just look..
Re: [Problem] "Attempt to compare number with nil"
Posted: Sat Dec 11, 2010 5:12 am
by rock5
There are indications of conflicts, so it probably hasn't merged properly when you did your update. Try Right-clicking the 'rom' folder and selecting 'TortoiseSVN/Revert'. That should make sure the files are an exact match to the SVN version.
Re: [Problem] "Attempt to compare number with nil"
Posted: Sat Dec 11, 2010 5:22 am
by zarossa
RoM windows size is 0x0, upper left corner at -32000,-32000
MACRO Test: ok
Odnaleziono umiejętność dystansową: PRIEST_RISING_TIDE
[DEBUG] CPU Frequency 3208960
Loading items tables.
096% [************************************************--]...ulpit/micromacro/scr
ipts/rom/classes/memorytable.lua:37: attempt to compare number with nil
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
Ehhh.. all files have green icon next to them.. so what's now?! Only this memorytable.lua.bak got blue "?"
EDITED.
and again I can't use rom/update.lua, because there is
Patched addresses.pawnMount_offset (value: 0xC4, at: 0x842A82)
Patched addresses.pawnName_offset (value: 0x290, at: 0x84FFD2)
Unable to find 'pawnPetPtr_offset' in module.

Re: [Problem] "Attempt to compare number with nil"
Posted: Sat Dec 11, 2010 5:40 am
by rock5
Maybe it has to do with the version of the game you are running. Some countries run older versions of the game I believe.