Error when switching paths

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
CrazyGuy
Posts: 63
Joined: Mon Mar 23, 2009 10:41 am

Error when switching paths

#1 Post by CrazyGuy » Mon Aug 03, 2009 4:15 pm

I get an error when i try to load another path

Code: Select all

	<waypoint x="-3463" z="-34534">
		if( player.Level > 15 ) then
		  load_paths("travel1");
		end;
	</waypoint>

which gives me the error:

Code: Select all

[string "..."]:4: attempt to call global 'load_paths' (a nil value)
i have a path called travel1.xml in the waypoints folder so not sure why it says its a nil value

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

Re: Error when switching paths

#2 Post by d003232 » Mon Aug 03, 2009 6:01 pm

CrazyGuy wrote:which gives me the error:

Code: Select all

[string "..."]:4: attempt to call global 'load_paths' (a nil value)
i have a path called travel1.xml in the waypoints folder so not sure why it says its a nil value
You don't have the function 'load_paths()'. Means you have the wrong bot version. Just download it here or make a SVN update.
The RoM Bot Online Wiki needs your help!

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

Re: Error when switching paths

#3 Post by Administrator » Mon Aug 03, 2009 9:27 pm

The function was added after revision 107, so the only way to get it is off of SVN.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest