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>
			
									
									
						Error when trying to run bot.lua
Re: Error when trying to run bot.lua
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.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>
And if you found the error, please post the reason. Thx.
The RoM Bot Online Wiki needs your help!
						Re: Error when trying to run bot.lua
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.
							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 135 times
 
- Administrator
- Site Admin
- Posts: 5333
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Error when trying to run bot.lua
Code: Select all
<waypoints>
<waypoints type="TRAVEL">
Re: Error when trying to run bot.lua
Thanks, now it's ok.
			
									
									
						Who is online
Users browsing this forum: No registered users and 3 guests
