Page 1 of 1
bug in targeting?
Posted: Tue Mar 06, 2012 9:37 am
by pman
hi, I have a problem, I looked through the code but I didn't find the problem...
Problem:
Most of the time when a mob spawns the bot finds the target, but sometimes a mob spawn, and I think the bot drops the target, or doesn't find it. Then a second mob spawns, bot kills it and then finally it finds the first mob.
have a nice day

Re: bug in targeting?
Posted: Tue Mar 06, 2012 9:47 am
by pman
2nd bug I noticed: sometimes (very rare) it kills but doesn't loot the mob (in range)
3rd bug: sometimes (very rare) the bot gets aggro from anywhere, then the char starts running straight through the map
Re: bug in targeting?
Posted: Tue Mar 06, 2012 9:56 pm
by lisa
pman wrote:3rd bug:
That has been around for a very long time, the client says the mob still exists but it is very very very far away.
pman wrote:2nd bug
Try turning on some debugging options, it might reveal why.
pman wrote:Problem:
Try turning on some debugging options, it might reveal why.
=)
Re: bug in targeting?
Posted: Wed Mar 07, 2012 4:19 am
by rock5
pman wrote:2nd bug
Try setting
Code: Select all
<option name="LOOT_AGAIN" value="xxxx" />
in your profile, where "xxxx" is how long after the first attempt it should try again (in ms).
Re: bug in targeting?
Posted: Thu Mar 15, 2012 6:56 am
by pman
lisa wrote:pman wrote:3rd bug:
That has been around for a very long time, the client says the mob still exists but it is very very very far away.
so when the bot checks the target distance it has to make sure, that the target is in max target dist range, so there must be a bug, or not?
Re: bug in targeting?
Posted: Fri Mar 16, 2012 6:35 am
by Romplayer
rock5 wrote:pman wrote:2nd bug
Try setting
Code: Select all
<option name="LOOT_AGAIN" value="xxxx" />
in your profile, where "xxxx" is how long after the first attempt it should try again (in ms).
Can I set Loot again to = nil? So it won't try to loot again?
Re: bug in targeting?
Posted: Fri Mar 16, 2012 7:00 am
by rock5
Romplayer wrote:Can I set Loot again to = nil? So it won't try to loot again?
If you don't have the setting, it wont loot again.
If you don't want to delete the line, the bot checks to see if it is a number value greater than 0. So "0" or "nil", for example, will disable it without having to delete the line. Just note that nil without quotes wont work because the xml reader expects strings for all values.
Re: bug in targeting?
Posted: Sun Mar 25, 2012 12:34 pm
by pman
pman wrote:Problem:
Most of the time when a mob spawns the bot finds the target, but sometimes a mob spawn, and I think the bot drops the target, or doesn't find it. Then a second mob spawns, bot kills it and then finally it finds the first mob.
tried to debug it, the bot thinks that the mob is a player the first time...