[1.0.1 9558] OOP - How do I read the GUID? menu

User Tag List

Results 1 to 10 of 10
  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)

    [1.0.1 9558] OOP - How do I read the GUID?

    I'm trying to read the user's GUID from OOP vs. calling GetPlayerGUID(). Has anyone achieved this?

    I'm simply trying to navigate it through cheat engine but it looks liek the 64-bit integer I'm getting can't be a traditional GUID (based on my knowledge of wow, so it could be completely correct)

    Code:
    signed int __cdecl GetPlayerGUID()
    {
      int v0; // esi@1
      int v1; // eax@3
      int v2; // eax@4
      signed int result; // eax@5
    
      v0 = *(_DWORD *)(dword_156C8CC + 0x934);
      if ( v0
        && *(_DWORD *)v0 != -1
        && (v1 = *(_DWORD *)(sub_94BB80() + 0xA8)) != 0
        && (v2 = 0x7FF8 * *(_DWORD *)v0 + v1 + 0x58) != 0 )
        result = *(_DWORD *)(v2 + 8);
      else
        result = -1;
      return result;
    }
    v0 = [[Diablo III.exe+156C8CC] + 0x934]
    v1 = [[[Diablo III.exe+156C8CC] + 0x77C] + 0xA8]
    v2 = 0x7FF8 * [v0 + v1 + 0x58]

    Then the GUID should be here: [v2 + 8], but of course, this isn't what I'm getting. Thoughts?
    https://tanaris4.com

    [1.0.1 9558] OOP - How do I read the GUID?
  2. #2
    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)
    It's not a 64 bit integer it's a 32 bit signed integer

    They use it alot in d3 if it's -1 it's Invalid hence it needing to be signed.

    Also there's 2 different or more functions for getting the player guid.

    One is for the ACD and the other is RActor
    Last edited by Nesox; 05-17-2012 at 11:27 AM.

  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 have much to learn, as it turns out, I've just been poking around in IDA (and trying to find the comparable functions on OS X, not fun). Is there a crash course anywhere (didn't see one here or on blizzhackers) on ACD/RActor?

    (Or should I just load up D3Advanced in Reflector?)
    https://tanaris4.com

  4. #4
    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)
    Read all the older threads here first looking at D3Advanced probablly won't give that much.
    Figure out how to iterate RActors/ACD's however RActors is probablly more useful ACD's you can use to get stats etc. so they are both equally important.

  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)
    Appreciate it thanks!
    https://tanaris4.com

  6. #6
    KOS0937's Avatar Member
    Reputation
    18
    Join Date
    May 2008
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Nesox View Post
    They use it alot in d3 if it's -1 it's Invalid hence it needing to be signed.
    Why? You can compare it to 0xFFFFFFFF = (unsigned)(-1) which is defined to be an error value without the variable being signed itself.

  7. #7
    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)
    Yes obviously you can treat them as either signed or unsigned. But Imo i think it's easier to treat them as signed values ( less typing etc. )
    Whatever floats yer boat!
    Last edited by Nesox; 05-17-2012 at 05:09 PM.

  8. #8
    BitHacker's Avatar Master Sergeant
    Reputation
    13
    Join Date
    May 2012
    Posts
    114
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't understand why you need to find the GUID?

  9. #9
    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)
    Just trying to reverse on os x, anything I can find is a step in the right direction
    https://tanaris4.com

  10. #10
    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)
    Just an FYI, for those that would like to do this OOP (granted it's on OS X, so sub your windows offsets):

    Code:
            int32_t ptr_OffsetManager = [memory readInt:Offset_ObjectManager];
            
            if ( ptr_OffsetManager > 0 ){
                int32_t offset_3 = [memory readInt:ptr_OffsetManager + 0xC];
                
                if ( offset_3 > 0 ){
                    v0 = [memory readInt:offset_3 + 0x92C];
                    
                    // time to get v2
                    if ( v0 > 0 && v0 != -1 ){
                        
                        v2 = [memory readInt:offset_3 + (0x774 + 0xA8)]; 
                        
                        if ( v2 != 0 ){
                            guid = [memory readInt:v2 + 0x7FD0 * [memory readInt:v0] + 0x60];
                        }
                    }
                }
            }
    https://tanaris4.com

Similar Threads

  1. How Do I Stop The Lag ?
    By krazyazn in forum World of Warcraft General
    Replies: 8
    Last Post: 02-26-2007, 05:58 AM
  2. How do i fix the white hair?
    By wrigley in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 12-24-2006, 09:11 AM
  3. How Do I Dl The Trial Version
    By Zacharisjosepi in forum World of Warcraft General
    Replies: 1
    Last Post: 12-22-2006, 02:00 PM
  4. How to get to the outlands on a live blizzard server
    By Matt in forum World of Warcraft Exploits
    Replies: 4
    Last Post: 06-16-2006, 05:27 PM
  5. How to get on the roof top in CH
    By Matt in forum World of Warcraft Exploits
    Replies: 6
    Last Post: 06-15-2006, 08:55 AM
All times are GMT -5. The time now is 07:11 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