Structure of data on player? menu

User Tag List

Results 1 to 6 of 6
  1. #1
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Structure of data on player?

    Has anyone been able to determine how to find things like player life, player mana, etc... ?

    I've been trying to while logged on simply by memory scans, etc... But everything I have found so far is stored as a string and is a UI element vs. part of a player struct.

    I know it's still way early - but I thought I would ask.

    Thanks!
    https://tanaris4.com

    Structure of data on player?
  2. #2
    Ilu's Avatar Active Member
    Reputation
    25
    Join Date
    Dec 2007
    Posts
    50
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i would imagine theses values are stored serverside and you wouldn't be able to do anything with the local copies of the values

    correct me if i am wrong

  3. #3
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't want to change them, I just want to read them

    if <health low> use <potion>
    https://tanaris4.com

  4. #4
    stevenyy's Avatar Private
    Reputation
    1
    Join Date
    Aug 2011
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    base + offsets = value? do we have offsets yet? not really, probably time to contribute to the info dump if u want to get HP/MP

  5. #5
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stevenyy View Post
    base + offsets = value? do we have offsets yet? not really, probably time to contribute to the info dump if u want to get HP/MP
    Fair enough, that's why I was asking I'm searching around now.
    https://tanaris4.com

  6. #6
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Been trying to find where they set the TLS, found one place but the size is of the struct they use is smaller than 208 so i'm still trying to find it.

    Code:
    int __cdecl sub_85EC10()
    {
      int result; // eax@1
    
      sub_D048F0((int)&unkTlsIndex38); // TlsAlloc
      sub_85EB70();  // Set's the TlsSlot to a 68 byte struct
      result = BitwiseComplement((int)&unkTlsIndex38); // bitwise complement
      dwTlsIndex = result;
      return result;
    }
    This grabs the cast speed.
    Code:
    v3 = *(ObjectManager **)(**(_DWORD **)TlsGetValue(dwTlsIndex) + 208;
        if ( v3 )
        {
          v3 = (ObjectManager *)sub_812140(*(_DWORD *)&v3->f0[0], v4);
          if ( v3 )
          {
            v16 = &v12;
            sub_896410((int)v3, -3969)
    And this get's the Gold Find value.
    Code:
        v3 = *(_DWORD *)(**(_DWORD **)TlsGetValue(dwTlsIndex) + 208);
        if ( v3 )
        {
          v3 = sub_812140(*(_DWORD *)v3, v4);
          if ( v3 )
          {
            LODWORD(v17) = &v12;
            sub_896410(v3, -4059);
            v17 = st7_0;
    The TLS stuff is used pretty much everywhere so it's safe to assume it's their ObjectManager it looks like a Hash Map but i'm not certain.

    Code:
    Value *__cdecl GetValue(unsigned __int16 a1)
    {
      ObjectManager *om; // edx@1
    
      om = (ObjectManager *)**(_DWORD **)(**(_DWORD **)TlsGetValue(dwTlsIndex) + 0xD0);
      return &om->Buckets[(unsigned int)a1 >> om->NumBucketsLog]->Values[a1 & ((1 << *(_DWORD *)&om->NumBucketsLog) - 1)];
    }
    The current Hero has several pointers in the BnetService class, most used is at 0xAC i haven't found alot of useful stuff in that struct tho.
    Last edited by Nesox; 09-24-2011 at 05:22 AM.

Similar Threads

  1. Replies: 5
    Last Post: 10-21-2012, 09:29 PM
  2. 3.0.3 Player structure.. definition and identification
    By namreeb in forum WoW Memory Editing
    Replies: 3
    Last Post: 11-11-2008, 04:49 AM
  3. What's 3.0.2 Data HeartBeat packet structure
    By metalqiang in forum WoW Memory Editing
    Replies: 1
    Last Post: 10-22-2008, 05:08 AM
  4. Change player's data ?
    By Farthett in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 04-24-2008, 10:58 AM
  5. How do you backup player data?
    By Rave_xxl5000 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 08-31-2007, 06:10 PM
All times are GMT -5. The time now is 09:59 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