Jump to content
  • [Vanilla] LastPos update not working while bot is in spirit


    Findeh
    • Version: All Product: WRobot General Type: Bug Status: Not a Bug

    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.



    User Feedback

    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...