Jump to content
  • [Vanilla] Me.Rooted state is not read correctly


    Matenia
    • Product: WRobot General Type: Bug Status: Unconfirmed

    Always returns false, even if the character is rooted. I think it is either implemented incorrectly (it checks for Influenced) or the offset for character state rooted is wrong. It works with Me.IsStunned.



    User Feedback

    Recommended Comments

    Can you run this code several time when you or your target are rooted and send me results:

            var meUnitFlags = wManager.Wow.Memory.WowMemory.Memory.ReadInt32(wManager.Wow.ObjectManager.ObjectManager.Me.GetDescriptorAddress(Descriptors.UnitFields.Flags));
            var targetUnitFlags = wManager.Wow.Memory.WowMemory.Memory.ReadInt32(wManager.Wow.ObjectManager.ObjectManager.Target.GetDescriptorAddress(Descriptors.UnitFields.Flags));
            robotManager.Helpful.Logging.Write("meUnitFlags: " + meUnitFlags + " - targetUnitFlags: " + targetUnitFlags);

     

    Link to comment
    Share on other sites

    With me rooted by Dragonmaw Rider:

    09:23:42 - meUnitFlags: 528392 - targetUnitFlags: 557056 (ObjectManager.Me.Rooted: false)

    With me not rooted and no target:

    09:25:20 - meUnitFlags: 4104 - targetUnitFlags: 0

    Edited by Matenia
    Link to comment
    Share on other sites



    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...