Page 1 of 1

Harvest Bot

Posted: Thu Feb 14, 2013 6:53 pm
by DestinyJK
Hello,

How can i make a waypoint start over and over again?
Im using the waypoint downloaded from someone here at the forum, which you can see below.

And is it possible to ignore an npc? So the bot won't attack him but he will attack the one's around him?
Solved by wps
Maybe you could try this.

Profile - Friends

The "Friends" list can be used to mark targets that you do not want to attack. This can be other players that may be marked for PVP, or targets that you want to ignore (ie. "Ystra Ferret"). You may also add players to your friend list to get the bot to assist them when it notices they are fighting something.

Example:

<friends>
<!-- names of friends we help fighting or enemys we don't want to attack -->
<friend name="Jack" /> <!-- A player, lets assist him -->
<friend name="Jill" /> <!-- A player, do not attack her -->
<friend name="Ambas" /> <!-- Elite, avoid him -->
</friends>
Thanks!

Re: Harvest Bot

Posted: Thu Feb 14, 2013 9:56 pm
by wps
DestinyJK wrote:Hello,
And is it possible to ignore an npc? So the bot won't attack him but he will attack the one's around him?
Thanks!
Maybe you could try this.

Profile - Friends

The "Friends" list can be used to mark targets that you do not want to attack. This can be other players that may be marked for PVP, or targets that you want to ignore (ie. "Ystra Ferret"). You may also add players to your friend list to get the bot to assist them when it notices they are fighting something.

Example:

<friends>
<!-- names of friends we help fighting or enemys we don't want to attack -->
<friend name="Jack" /> <!-- A player, lets assist him -->
<friend name="Jill" /> <!-- A player, do not attack her -->
<friend name="Ambas" /> <!-- Elite, avoid him -->
</friends>

Re: Harvest Bot

Posted: Fri Feb 15, 2013 5:41 am
by DestinyJK
wps wrote:
DestinyJK wrote:Hello,
And is it possible to ignore an npc? So the bot won't attack him but he will attack the one's around him?
Thanks!
Maybe you could try this.

Profile - Friends

The "Friends" list can be used to mark targets that you do not want to attack. This can be other players that may be marked for PVP, or targets that you want to ignore (ie. "Ystra Ferret"). You may also add players to your friend list to get the bot to assist them when it notices they are fighting something.

Example:

<friends>
<!-- names of friends we help fighting or enemys we don't want to attack -->
<friend name="Jack" /> <!-- A player, lets assist him -->
<friend name="Jill" /> <!-- A player, do not attack her -->
<friend name="Ambas" /> <!-- Elite, avoid him -->
</friends>
That worked, thanks! But now, how can i make a waypoint go endless?

Re: Harvest Bot

Posted: Fri Feb 15, 2013 6:41 am
by Jandrana
That worked, thanks! But now, how can i make a waypoint go endless?
Either I don't understand your question or your question is not phrased correctly. I will try to give an answer, guessing what you wanted to ask.

Each waypoint file will go endless, if you don't stop it with a certain condition.

If you like to do repetitive stuff at a specific waypoint you can use the tagging of waypoints:

Code: Select all

<!-- #  1 --><waypoint x="31416" z="5715" y="-33" tag = "aTag">	
if [condition] then
 	__WPL:setWaypointIndex(__WPL:findWaypointTag("aTag"));
end
</waypoint>
But doing this at a single waypoint looks quite bottish. Its better doing an explicit loop.

Re: Harvest Bot

Posted: Fri Feb 15, 2013 6:56 am
by lisa
DestinyJK wrote:That worked, thanks! But now, how can i make a waypoint go endless?
default behaviour of a waypoint is to go in a constant loop, the last line of that waypoint makes it load the waypoint again, that isn't needed at all.

just delete the

Code: Select all

loadPaths("harvest_varanas");