Page 1 of 1

trying to learn...

Posted: Wed Nov 24, 2010 4:58 pm
by botje

Code: Select all

<onLoad>
	settings.profile.mobs = {"Sigg Lurker","Man-eating Plant"};
	settings.profile.friends = "Stone Armored Rhino";
</onLoad>

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="1435" z="23274">
		player:merchant("Bartai");
		settings.profile.options.WAYPOINT_DEVIATION = 0;
	</waypoint>
	<!-- #  2 --><waypoint x="1435" z="23274">	</waypoint>
	<!-- #  3 --><waypoint x="1423" z="23062">	</waypoint>
	</waypoints>
whats wrong here?

bot doesnt skip the rhinos...

Botje

Re: trying to learn...

Posted: Wed Nov 24, 2010 5:19 pm
by Giram
Should it be like this?

Code: Select all

settings.profile.friends  = {"Stone Armored Rhino"};

Re: trying to learn...

Posted: Wed Nov 24, 2010 7:04 pm
by jduartedj
Giram wrote:Should it be like this?

Code: Select all

settings.profile.friends  = {"Stone Armored Rhino"};
yes it should!

Re: trying to learn...

Posted: Thu Nov 25, 2010 8:43 am
by rock5
But I would have thought that setting the mobs variable would mean it would only attack those mobs anyway. You shouldn't need to specify friends.

Re: trying to learn...

Posted: Thu Nov 25, 2010 9:45 am
by Alkaiser
You only need to specify a friend if two mobs have similar names. For example, Sand Scorpions. There's Sand Scorpion, Mutated Sand Scorpion, and Sand Scorpion Pupa.

If you wanted the bot to attack only the scorpions and not the Pupa, you could do this:

Code: Select all

settings.profile.mobs = {"Scorpion"};
settings.profile.friends  = {"Pupa"};

Re: trying to learn...

Posted: Thu Nov 25, 2010 12:41 pm
by botje
rock5 wrote:But I would have thought that setting the mobs variable would mean it would only attack those mobs anyway. You shouldn't need to specify friends.
i agree, but it seems it still did.

ill do some more tests.

Botje

Re: trying to learn...

Posted: Fri Nov 26, 2010 3:14 am
by botje
ok, tested it.

worked fine xd

seems it didnt work due to teh previous mistake i made.

thanx guys, this will keep my profile so much cleaner :)

Botje