Im targeting a mob, but dont fight them. Don't have aggro from that mob.
Then I get aggro from one new mob (not the mob in my target) I call a 'self:clearTarget();'. I'm under attack from the new mob. But after that, 'target.TargetPtr' is still 0. Means it is not the target who is hitting me. It will first get the right target addresses, if I manualy face the new mob by turning my char with the mouse. Shouldn't I get automaticly the new target from the client?
I have a
Code: Select all
self:update();
target = self:getTarget(); -- STEPH07
target:update();
It really changes only if I turn the char with my mouse.
Is that a problem with the client or with the bot? It is also a little difficult to track, because after using 'self:clearTarget()' the target in the client ui seems still to be the old target.