Page 1 of 1

problem with bot

Posted: Fri Aug 28, 2015 2:21 pm
by chesterfield
Wir wandern in einem Radius von 50 umher.
Did not find any crashed game clients.
9:16pm - scripts\rom/bot.lua:499: onLoad error: F:/micromacro/scrip
ons.lua:1003: bad argument #1 to 'pairs' (table expected, got nil)

Champion lv2

Re: problem with bot

Posted: Fri Aug 28, 2015 4:53 pm
by Bill D Cat
I don't see any code at either of the line numbers listed that would even remotely cause that error. So my guess is you are using an older version of the bot. I'd suggest you check the bot version and upgrade to the latest if you need to do so.

Re: problem with bot

Posted: Sun Dec 04, 2016 3:20 am
by VLD
Can help me with my problem?
I use addon for autoligin and waypoint on dailys in coast of elfs, but after relog bot crash with error:
".../rom/settings.lua:1317: bad argument #1 to 'pairs' <table expected, got nil>"

Re: problem with bot

Posted: Wed Dec 07, 2016 5:40 am
by Bill D Cat
I'm guessing that the bot didn't update it's data completely/correctly when you changed characters.
Is the add-on for RoM iteself, or a userfunction file for the bot?
  • If it is an add-on for RoM, then you will need to find a way to get the bot to do a player:update() call to refresh its data.
  • If it is a userfunction file for the bot, then we can probably figure out where the problem is and get it fixed for you.

Re: problem with bot

Posted: Wed Dec 07, 2016 11:23 am
by VLD
Bill D Cat wrote:I'm guessing that the bot didn't update it's data completely/correctly when you changed characters.
Is the add-on for RoM iteself, or a userfunction file for the bot?
  • If it is an add-on for RoM, then you will need to find a way to get the bot to do a player:update() call to refresh its data.
  • If it is a userfunction file for the bot, then we can probably figure out where the problem is and get it fixed for you.
Oh, thank you! player:update() solve my problem! You best, Bill D Cat!