Return Path

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

Return Path

#1 Post by extremeuser » Fri Nov 27, 2009 5:17 pm

Just wondering, when I have the profile set to 'wander' I have still specified a return path, for some reason it doesn't use it. How exactly should the return path be typed in? I tried with the name of the file, then tried adding the .xml both don't work. Is this correct, eg doesn't use a return path if set to wander?

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

Re: Return Path

#2 Post by Administrator » Fri Nov 27, 2009 5:31 pm

You're going to have to provide more information. Your profile would be a good start.

extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

Re: Return Path

#3 Post by extremeuser » Fri Nov 27, 2009 5:33 pm

I use default profile, then just add extra options and skills. I have set to 'wander', in return path line i put in my return path.

If I get stuck, die or whichever, the window says there is no specified return path

j_schlott
Posts: 119
Joined: Tue Aug 18, 2009 11:42 pm

Re: Return Path

#4 Post by j_schlott » Sat Nov 28, 2009 11:08 am

you could set up your profile with a path/returnpath:

Code: Select all

	<option name="WAYPOINTS"		value="botspot.xml" />
		<option name="RETURNPATH"		value="botspot_return.xml" />
		<option name="PATH_TYPE"		value="waypoints" />
also in your profile add this to your ONDEATH tags

Code: Select all

<onDeath>
	changeProfileOption("PATH_TYPE", value="waypoints");
	</onDeath>
the return path is normal path back to your spot
but inside the botspot.xml we will only need 1 waypoint, the location you want to start your wander:

Code: Select all

<waypoints>
	<!-- #  1 --><waypoint x="00000" z="00000">
		changeProfileOption("PATH_TYPE", value="wander");
	</waypoint>
</waypoints>
so you start bot itll run to your spot and start wander, on death itll change back to waypoints to return
not 100% this will work but its worth a try

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

Re: Return Path

#5 Post by Administrator » Sat Nov 28, 2009 7:15 pm

This was a bit of a pain to debug, but I believe I've got it working. You should now be able to use wander mode with a return path. Also, RUN and TRAVEL type paths are working as they originally should (RUN ignores aggressive enemies, TRAVEL fights back). Update to SVN r407.

extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

Re: Return Path

#6 Post by extremeuser » Mon Nov 30, 2009 6:20 am

yeah I didn't think it be easier, do apologize for coming up with it :)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests