[Problem] "Attempt to compare number with nil"

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
zarossa
Posts: 26
Joined: Fri Dec 10, 2010 6:34 am

[Problem] "Attempt to compare number with nil"

#1 Post by zarossa » Fri Dec 10, 2010 6:53 am

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?
Attachments
bot.lua.JPG

User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: [Problem] "Attempt to compare number with nil"

#2 Post by jduartedj » Fri Dec 10, 2010 7:28 am

I suggest you start by running 'rom/update' or 'rom/bot update'!
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

zarossa
Posts: 26
Joined: Fri Dec 10, 2010 6:34 am

Re: [Problem] "Attempt to compare number with nil"

#3 Post by zarossa » Fri Dec 10, 2010 7:56 am

Like I wrote before I have done it but there is something like this (in the picture). Moreover rom is updated.
Attachments
bottt.JPG

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: [Problem] "Attempt to compare number with nil"

#4 Post by rock5 » Fri Dec 10, 2010 8:23 am

Looks like you are using an older version of the bot. What version are you using?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

zarossa
Posts: 26
Joined: Fri Dec 10, 2010 6:34 am

Re: [Problem] "Attempt to compare number with nil"

#5 Post by zarossa » Fri Dec 10, 2010 8:34 am

v.1.01 beta 3, but on screen you can see v.1.0 , but I already reinstalled bot and same shit. ;/

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: [Problem] "Attempt to compare number with nil"

#6 Post by rock5 » Fri Dec 10, 2010 9:47 am

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?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

zarossa
Posts: 26
Joined: Fri Dec 10, 2010 6:34 am

Re: [Problem] "Attempt to compare number with nil"

#7 Post by zarossa » Fri Dec 10, 2010 3:56 pm

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.

User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: [Problem] "Attempt to compare number with nil"

#8 Post by jduartedj » Fri Dec 10, 2010 4:13 pm

do you have tortoise or any SVN software installed?
If not I recommend you do so and update the bot.
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

zarossa
Posts: 26
Joined: Fri Dec 10, 2010 6:34 am

Re: [Problem] "Attempt to compare number with nil"

#9 Post by zarossa » Sat Dec 11, 2010 4:06 am

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?
Attachments
dumbbot.JPG

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: [Problem] "Attempt to compare number with nil"

#10 Post by rock5 » Sat Dec 11, 2010 4:20 am

macros.lua is not one of rombots files. There's something funny about your version.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: [Problem] "Attempt to compare number with nil"

#11 Post by jduartedj » Sat Dec 11, 2010 4:22 am

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!
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

zarossa
Posts: 26
Joined: Fri Dec 10, 2010 6:34 am

Re: [Problem] "Attempt to compare number with nil"

#12 Post by zarossa » Sat Dec 11, 2010 4:30 am

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.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: [Problem] "Attempt to compare number with nil"

#13 Post by rock5 » Sat Dec 11, 2010 4:31 am

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?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: [Problem] "Attempt to compare number with nil"

#14 Post by jduartedj » Sat Dec 11, 2010 4:35 am

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)
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

zarossa
Posts: 26
Joined: Fri Dec 10, 2010 6:34 am

Re: [Problem] "Attempt to compare number with nil"

#15 Post by zarossa » Sat Dec 11, 2010 4:44 am

Like I told ya I reinstalled it.. and still the same. It's confusing me a lot.

User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: [Problem] "Attempt to compare number with nil"

#16 Post by jduartedj » Sat Dec 11, 2010 4:55 am

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!
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

zarossa
Posts: 26
Joined: Fri Dec 10, 2010 6:34 am

Re: [Problem] "Attempt to compare number with nil"

#17 Post by zarossa » Sat Dec 11, 2010 5:02 am

Just look..
Attachments
qwe.JPG

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: [Problem] "Attempt to compare number with nil"

#18 Post by rock5 » Sat Dec 11, 2010 5:12 am

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.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

zarossa
Posts: 26
Joined: Fri Dec 10, 2010 6:34 am

Re: [Problem] "Attempt to compare number with nil"

#19 Post by zarossa » Sat Dec 11, 2010 5:22 am

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.



:roll:

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: [Problem] "Attempt to compare number with nil"

#20 Post by rock5 » Sat Dec 11, 2010 5:40 am

Maybe it has to do with the version of the game you are running. Some countries run older versions of the game I believe.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot], Semrush [Bot] and 0 guests