[7-3-0-25195] Finding GUID in ObjectList (Cheat Engine) menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Wappel's Avatar Member
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    12
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [7-3-0-25195] Finding GUID in ObjectList (Cheat Engine)

    Hi,

    I know it is a noob question but I don't understand what I'm doing wrong when I search for a GUID in the ObjectList with CheatEngine.

    I use these values from the current dump thread:

    ObjectMgr: 0x00FF31FC

    First: 0x0C
    Next: 0x44
    Type: 0x10
    GUID: 0x30
    PlayerLevel: 0x4AC0


    1) First I add 00FF31FC to my wow.exe (x86 Version) in CheatEngine
    2) Then I use the two offsets First: 0x0C an GUID: 0x30 but I don't get a GUIID for the first object (same when I jump to the next object)

    I have attached a screenshot from CheatEngine.

    When I search for a GUID manually I can find it in CheatEngine (String 20 = Player-XXXX-XXXXXXXX).

    I know this is very basic stuff but I would be grateful if someone could explain what the problem is.

    Thanks for help
    Attached Thumbnails Attached Thumbnails [7-3-0-25195] Finding GUID in ObjectList (Cheat Engine)-unbenannt-gif  

    [7-3-0-25195] Finding GUID in ObjectList (Cheat Engine)
  2. #2
    danwins's Avatar Contributor
    Reputation
    189
    Join Date
    Mar 2013
    Posts
    143
    Thanks G/R
    6/62
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When I search for a GUID manually I can find it in CheatEngine (String 20 = Player-XXXX-XXXXXXXX)
    The GUID is not stored as a string like this, It's stored as a hex-array of bytes, When you run the script UnitGUID and output it to the chat frame, it will convert it to the Player-XXXX-XXXXXXXX format.

    If you want to check which object is the player you need to compare the GUID you find in the object to the Object Manager "ActivePlayer" GUID.
    Last edited by danwins; 10-13-2017 at 04:44 PM.

  3. #3
    Wappel's Avatar Member
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    12
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by danwins View Post
    The GUID is not stored as a string like this, It's stored as a hex-array of bytes, When you run the script UnitGUID and output it to the chat frame, it will convert it to the Player-XXXX-XXXXXXXX format.

    If you want to check which object is the player you need to compare the GUID you find in the object to the Object Manager "ActivePlayer" GUID.
    Thanks for your answer.

    I know that the GUID is a hex-array of bytes. If I convert my Player-Guid ( Player-XXXX-XXXXXXXX) to a hex-array of bytes and search for it in CheatEngine I find the byte-array and the address. If I change the datatype of this address to String[20] CheatEngine converts the byte-array and I get the readable GUID( Player-XXXX-XXXXXXXX) - so this works.

    I think that I get the wrong objectmanager starting address when I do these two steps:

    1) First I add 00FF31FC to my wow.exe (x86 Version) in CheatEngine
    2) Then I use the two offsets First: 0x0C an GUID: 0x30 (--> this is my firstobjectGUID-address)

    If I extract the hex-array of bytes (length 20) at my firstobjectGUID-address and convert it to a string I don't get a valid GUID for the first object.
    It always looks like this: 8^

    So I think my problem is that I'm not able to calculate the correct address for the GUID of the first object (or any following object) in the objectlist.

    Or is this no longer possible due to the new Blizzard anti-cheat stuff?

    Thanks!
    Last edited by Wappel; 10-13-2017 at 06:00 PM.

  4. #4
    danwins's Avatar Contributor
    Reputation
    189
    Join Date
    Mar 2013
    Posts
    143
    Thanks G/R
    6/62
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You cant just convert "Player-XXXX-XXXXXXXX" into hex and search for it in cheat engine.

    The actual GUID in the player struct(or descriptors) you should see in Cheat Engine it will never contain any readable strings. its simply a large integer value.

  5. Thanks Wappel (1 members gave Thanks to danwins for this useful post)
  6. #5
    danwins's Avatar Contributor
    Reputation
    189
    Join Date
    Mar 2013
    Posts
    143
    Thanks G/R
    6/62
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is a quick snippet that should return the current player pointer:

    Code:
    [StructLayout(LayoutKind.Sequential)]
    struct WGUID
    {
      public ulong m_high;
      public ulong m_low;
    }
    
    private uint playerBase()
    {
      uint curMgr = Memory.Read<uint>(Memory.BaseAddress + 0x00FF31FC);
    
      WGUID ActivePlayer = Memory.Read<WGUID>(curMgr + 0xF8);
    
      uint firstObj = Memory.Read<uint>(curMgr + 0xC);
      uint nextObj = Memory.Read<uint>(curMgr + 0x4);
    
      uint curObj = firstObj;
      while (curObj != 0x0)
      {
        WGUID guid = Memory.Read<WGUID>(curObj + 0x30);
    
        if (guid.m_high == ActivePlayer.m_high && guid.m_low == ActivePlayer.m_low)
        {
          return curObj;
        }
    
        curObj = Memory.Read<uint>(curObj + nextObj + 0x4);
      }
    
      return 0;
    }

  7. Thanks Wappel, Baengbum (2 members gave Thanks to danwins for this useful post)

Similar Threads

  1. Finding Chat Log with Cheat Engine
    By Tilp in forum Programming
    Replies: 1
    Last Post: 11-07-2013, 07:59 PM
  2. How do I find class CActor with cheat engine 6?
    By Jackalhead in forum Diablo 3 Memory Editing
    Replies: 0
    Last Post: 11-08-2012, 02:08 PM
  3. Help with m2. files! I find none in MyWarcraftStudio
    By blackdahliamurder in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 03-25-2007, 04:00 PM
  4. [Guide] In depth Race to Race
    By Skull in forum WoW ME Tools & Guides
    Replies: 6
    Last Post: 12-29-2006, 03:18 AM
  5. [Guide] In Depth Instance Switching
    By Ensui in forum WoW ME Tools & Guides
    Replies: 0
    Last Post: 11-09-2006, 07:43 PM
All times are GMT -5. The time now is 03:33 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