It seems like wManager.Wow.Bot.States.StopBotIf.LastPos is not updating while bot is dead (in spirit form).
For example, code like this in a loop:
if (wManager.Wow.Bot.States.StopBotIf.LastPos != null && Me.Position.DistanceTo(StopBotIf.LastPos) >= 50)
{
Logging.WriteDebug("Short distance teleport detected");
}
Will work perfectly while bot is alive. He will compare last position with a current one and will give you a message is it's true.
But if you are in spirit, it seems like LastPos is always = your last position when you were alive (in a word, your corpse position). So Me.Position.DistanceTo(StopBotIf.LastPos) >= 50 will always return true if you are more then 50 metters away from your corpse.
This make all teleports while you are dead absolutley undetectable.
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now