Error when trying to run bot.lua

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Lol5667
Posts: 3
Joined: Sun Aug 16, 2009 11:04 am

Error when trying to run bot.lua

#1 Post by Lol5667 » Sun Aug 16, 2009 11:09 am

Hi,
my problem is:
I've created waypoint for harvesting, but when I try to run bot.lua this appears: .../scripts/rom/classes/waypointlist.lua:22: bad argument #2 to 'error' <number expected, got string>

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Error when trying to run bot.lua

#2 Post by d003232 » Sun Aug 16, 2009 1:25 pm

Lol5667 wrote:Hi,
my problem is:
I've created waypoint for harvesting, but when I try to run bot.lua this appears: .../scripts/rom/classes/waypointlist.lua:22: bad argument #2 to 'error' <number expected, got string>
Please attach your waypoint file to check it. And how do you load your waypoint file? In a profile or with load_path() in a waypoint file? Please check the names? It seems that you somewhere try to load an 'empty' waypoint filename.

And if you found the error, please post the reason. Thx.
The RoM Bot Online Wiki needs your help!

Lol5667
Posts: 3
Joined: Sun Aug 16, 2009 11:04 am

Re: Error when trying to run bot.lua

#3 Post by Lol5667 » Sun Aug 16, 2009 5:17 pm

Im kinda nob in this.
I've attached this waypoint file. I've changed used waypoint in my profile. Im opening it typing rom/bot.lua.
I would like to say, that previous one, test-waypoint works fine.
Attachments
final.xml
(9.73 KiB) Downloaded 134 times

User avatar
Administrator
Site Admin
Posts: 5333
Joined: Sat Jan 05, 2008 4:21 pm

Re: Error when trying to run bot.lua

#4 Post by Administrator » Sun Aug 16, 2009 5:39 pm

Code: Select all

<waypoints>
<waypoints type="TRAVEL">
That quite likely is your problem. You must get rid of that first line.

Lol5667
Posts: 3
Joined: Sun Aug 16, 2009 11:04 am

Re: Error when trying to run bot.lua

#5 Post by Lol5667 » Mon Aug 17, 2009 9:11 am

Thanks, now it's ok.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests