Tracking a Player/Unit menu

User Tag List

Results 1 to 5 of 5
  1. #1
    fvicaria's Avatar Active Member
    Reputation
    29
    Join Date
    Jan 2009
    Posts
    55
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Tracking a Player/Unit

    Hi guys,
    Can anyone give me a hand on this one...

    The following was working fine until some time ago (around 6.0 I guess)

    Code:
            public bool IsTracked
            {
                get { return (GetDescriptor<uint>(WoWUnitFields.DynamicFlags) & 0x2) != 0; }
                set
                {
                    var flags = GetDescriptor<uint>(WoWUnitFields.DynamicFlags);
                    if (value)
                    {
                        SetDescriptor(WoWUnitFields.DynamicFlags, flags | 0x2);
                    }
                    else
                    {
                        SetDescriptor(WoWUnitFields.DynamicFlags, flags & ~0x2);
                    }
                }
            }
    I was setting the flag on a specific Unit or Player to be tracked.

    I can't get it to work now.

    Any ideas?

    Thanks a lot!

    Tracking a Player/Unit
  2. #2
    Sacred's Avatar Contributor
    Reputation
    207
    Join Date
    Dec 2007
    Posts
    152
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Flags were changed, TrackUnit now is 0x4.

    Code:
    Visibility = 0x1,
    Lootable = 0x2,
    TrackUnit = 0x4,
    UnitTappedByOther = 0x8,
    UnitTappedByMe = 0x10,
    SpecialInfo = 0x20,
    RafLinked = 0x80,
    UnitTappedByAllThreadList = 0x100,

  3. #3
    fvicaria's Avatar Active Member
    Reputation
    29
    Join Date
    Jan 2009
    Posts
    55
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot man. But there seems to be something else.
    Even with the new values I still can't get it to work.

  4. #4
    Sacred's Avatar Contributor
    Reputation
    207
    Join Date
    Dec 2007
    Posts
    152
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're also wrong with reading unit's dynamic flags, you need to read object's dynamic flags - CGObjectData.DynamicFlags.

  5. #5
    fvicaria's Avatar Active Member
    Reputation
    29
    Join Date
    Jan 2009
    Posts
    55
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I hate when this happens... It works now. I need to change a load of stuff now.

    Thanks a lot.

Similar Threads

  1. Player hp/mana....like unit struct
    By unbekannt1 in forum WoW Memory Editing
    Replies: 4
    Last Post: 05-03-2010, 01:55 AM
  2. Unit/Player Facing for Z axis
    By g3gg0 in forum WoW Memory Editing
    Replies: 15
    Last Post: 01-17-2009, 09:53 AM
  3. friendly/neutral/enemy Player or Units? How to find out?
    By deadbeef in forum WoW Memory Editing
    Replies: 3
    Last Post: 01-08-2009, 04:44 PM
  4. minimap unit tracking in game [release]
    By MindChild in forum World of Warcraft Bots and Programs
    Replies: 33
    Last Post: 12-12-2008, 06:23 PM
  5. Track Player/NPC trough Walls etc.
    By Snake2k in forum World of Warcraft Exploits
    Replies: 13
    Last Post: 11-01-2008, 12:23 PM
All times are GMT -5. The time now is 02:12 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search