[5.3.0] Dynamic Player Name menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Raphy's Avatar Member
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [5.3.0] Dynamic Player Name

    Hi guys,

    I'm trying to read the units name. As for the NPC's, it was easy, for the players is a quiet hard...

    So I've read some threads explaining how to get the player's name.
    The most of them, I don't really understand the code but what I've understand is the player's name are stocked in something called "cache" and fetches with the GUID (reduced).
    We have so to browse the linked list of the matchings ShortedGUID <=> PlayerName to find out the needed player name.
    Correct me if I'm wrong.
    By the way if anybody can talk more about this "DBC" cache... How do yo how guys find how to read players name, use the cache... ?

    So now the code I've found and tried to edit
    Code:
            public static string PlayerNameFromGuid(ulong Guid)
            {
                uint nameStorePtr = 0xC03D58 + 0x8;     // Player name database
                uint nameMaskOffset = 0x024;            // Offset for the mask used with GUID to select a linked list
                uint nameBaseOffset = 0x18;             // Offset for the start of the name linked list
                uint nameStringOffset = 0x21;           // Offset to the C string in a name structure
    
                ulong mask, base_, offset, current, shortGUID, testGUID;
    
                mask = m_WoWMemory.ReadUInt64((uint)m_WoWProcess.MainModule.BaseAddress + nameStorePtr + nameMaskOffset);
                base_ = m_WoWMemory.ReadUInt64((uint)m_WoWProcess.MainModule.BaseAddress + nameStorePtr + nameBaseOffset);
    
                shortGUID = Guid & 0xffffffff;
                offset = 12 * (mask & shortGUID);
                current = m_WoWMemory.ReadUInt64((uint)base_ + (uint)offset + 0x8);
                offset = m_WoWMemory.ReadUInt64((uint)base_ + (uint)offset);
    
                if ((current & 0x1) == 0x1)
                    return "Unknwown1";
                testGUID = m_WoWMemory.ReadUInt64((uint)current);
                while (testGUID != shortGUID)
                {
                    current = m_WoWMemory.ReadUInt64((uint)current + (uint)offset + 0x4);
                    if ((current & 0x1) == 0x1)
                        return "Unknown2";
                    testGUID = m_WoWMemory.ReadUInt64((uint)current);
                }
    
                return m_WoWMemory.ReadASCIIString((uint)(current + nameStringOffset), 30);
            }
    I'm using BlackMagin as memory reader.

    So when I try this function, I have only "Unknwown[1|2]' as player name..

    [5.3.0] Dynamic Player Name
  2. #2
    FinnX's Avatar Banned
    Reputation
    40
    Join Date
    Aug 2009
    Posts
    82
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    Raphy's Avatar Member
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot dude !

  4. #4
    Seifer's Avatar Site Donator
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by FinnX View Post
    Especially at the BlackRain one, it's super clean.
    Pretty cool to see my stuff is actually still being used as a reference years after I wrote it.

Similar Threads

  1. Can you read player names out of process?
    By sweeper18 in forum WoW Memory Editing
    Replies: 10
    Last Post: 07-06-2008, 08:54 PM
  2. [Help] Player names?
    By wraithZX in forum WoW Memory Editing
    Replies: 15
    Last Post: 05-13-2008, 07:45 AM
  3. [Release / Request] changing client side players name in c++
    By macintox in forum WoW Memory Editing
    Replies: 5
    Last Post: 03-25-2008, 12:51 AM
  4. Steal a players name
    By Trucidation in forum World of Warcraft Exploits
    Replies: 7
    Last Post: 01-30-2008, 01:31 PM
All times are GMT -5. The time now is 05:39 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search