Page 1 of 1

How to ignore unreachable foes?

Posted: Tue Aug 30, 2011 4:32 am
by ichmagbotsyay
Hey,

I have a problem with my bot. While farming he often gets stuck because he's trying to attack unreachable foes. I made a sketch (it's attached) to make it clearer. There's a boulder with two foes behind it. I am standing in front of the boulder, trying to attack the foes behind it. Bot tries to attack the first one, doesn't work, boulder's too high. I receive a message that my bot is going to ignore him. Bot attacks the second one, same story. Problem: After having attacked the second one, he isn't ignoring the first one any longer.

How do I increase the ignoring-time? I want him to try to attack both foes but after that he should still ignore both and go on.

Re: How to ignore unreachable foes?

Posted: Tue Aug 30, 2011 8:03 am
by rock5
Using the bot as it is at the moment, you would either change the COMBAT_DIST to a smaller value as you pass that spot or move the waypoint or points to avoid that problem.

Re: How to ignore unreachable foes?

Posted: Tue Aug 30, 2011 10:03 am
by lisa
have you thought about changing the coords of the waypoints so the foes arn't obstructed from view by the bolder?

Re: How to ignore unreachable foes?

Posted: Thu Sep 01, 2011 4:15 pm
by Sithlord512589
Hi,

may i suggest my workaround for this problem.

<option name="MAX_FIGHT_TIME" value="2" /> <!-- Max time without damage before break -->

Simply reduce the max_fight_time counter to reduce the time the bot unsuccessfully tries to reach the blocked enemy.

As said a little workaround not a solution.