Problem, some of the object guides is 0 menu

User Tag List

Results 1 to 4 of 4
  1. #1
    MurderBurger's Avatar Member CoreCoins Purchaser Authenticator enabled
    Reputation
    12
    Join Date
    Apr 2008
    Posts
    6
    Thanks G/R
    2/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem, some of the object guid is 0

    Problem solved, check next post

    Hello, a long time lurker here.
    I've been trying to solve this problem on and off for a week now but can't figure it out. So I hoped someone here might know whats wrong.
    I am trying to read the Object Guid, around 50% is just 0. It's the same with the namecacheguid, around half of them is just 0. It's the same that fail on both of them. So I only manage to match up half of the players with their name cache guid.

    Get object guide
    Code:
    obj.Guid = new uint[4];
    byte[] guideBytes = _reader.ReadMemory(_reader.ReadInt(_reader.ReadInt(obj.Address + 0x04)), 16);
    obj.Guid[0] = BitConverter.ToUInt32(guideBytes, 0);
    obj.Guid[1] = BitConverter.ToUInt32(guideBytes, 4);
    obj.Guid[2] = BitConverter.ToUInt32(guideBytes, 8);
    obj.Guid[3] = BitConverter.ToUInt32(guideBytes, 12);
    ReadMemory method
    Code:
    public byte[] ReadMemory(int pOffset, int pSize) {
        var buffer = new byte[pSize];
        ReadProcessMemory(ProcessHandle, pOffset, buffer, pSize, 0);
        return buffer;
    }
    ReadInt method
    Code:
    public int ReadInt(int pOffset) {
        return BitConverter.ToInt32(ReadMemory(pOffset, 4), 0);
    }
    Output to consol, this is players
    Code:
    ObjectGuid:          0          0          0          0
    ObjectGuid:          0          0          0          0
    ObjectGuid: 1698873145 1114137441 1701536629  624494452
    ObjectGuid:          0          0          0          0
    ObjectGuid:  664789001 1354694665  758487049 1885678602
    ObjectGuid:          0          0          0          0
    ObjectGuid:          0          0          0          0
    ObjectGuid:          0          0          0          0
    ObjectGuid:  175671848  159809764  171310764  176183184
    ObjectGuid:          0          0          0          0
    ObjectGuid: 2275338249 1242620937 3230947338  828205065
    ObjectGuid:  167314800  156125692  177565432  165012892
    ObjectGuid: 2837711485 3901753734  868747950 1196952103
    ObjectGuid: 3343649483 4052224646 2911898167 1129581096
    ObjectGuid:          0          0          0          0
    Last edited by MurderBurger; 11-18-2014 at 08:36 PM. Reason: Problem solved and typo: guide to guid

    Problem, some of the object guides is 0
  2. #2
    MurderBurger's Avatar Member CoreCoins Purchaser Authenticator enabled
    Reputation
    12
    Join Date
    Apr 2008
    Posts
    6
    Thanks G/R
    2/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Managed to solve the problem myself, yey!

    The problem was that I were reading the the location of the guide as another pointer, so I was doing one memory read to much, duh!
    I had tried this before, but thought something was wrong because the two uint bytes in the center is 0.

    Solution:
    Code:
    obj.Guid = new uint[4];
    byte[] guideBytes = _reader.ReadMemory(_reader.ReadInt(obj.Address + 0x04), 16); // The guilty 
    obj.Guid[0] = BitConverter.ToUInt32(guideBytes, 0);
    obj.Guid[1] = BitConverter.ToUInt32(guideBytes, 4);
    obj.Guid[2] = BitConverter.ToUInt32(guideBytes, 8);
    obj.Guid[3] = BitConverter.ToUInt32(guideBytes, 12);
    New output
    Code:
    ObjectGuid:   95244995          0          0  135323648
    ObjectGuid:   73503356          0          0  135323648
    ObjectGuid:   73638801          0          0  135323648
    ObjectGuid:  111396944          0          0  135323648
    ObjectGuid:   73569590          0          0  135323648
    ObjectGuid:  111334562          0          0  135323648
    ObjectGuid:  111259709          0          0  135323648
    ObjectGuid:  111205993          0          0  135323648
    ObjectGuid:  101794999          0          0  135323648
    ObjectGuid:   98939484          0          0  135323648
    I want to give a big thank you to everyone who's contributing to this community, could never done this without you, and hopefully, one day, I'll be so good that I also can contribute.
    Last edited by MurderBurger; 11-18-2014 at 03:19 PM.

  3. #3
    Corthezz's Avatar Elite User Authenticator enabled
    Reputation
    386
    Join Date
    Nov 2011
    Posts
    325
    Thanks G/R
    191/98
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +rep for posting the solution you found (not many do this).
    But why you call it guide?

  4. #4
    MurderBurger's Avatar Member CoreCoins Purchaser Authenticator enabled
    Reputation
    12
    Join Date
    Apr 2008
    Posts
    6
    Thanks G/R
    2/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Corthezz View Post
    But why you call it guide?
    I have no idea:confused: I'll remember to type guid from now on, got something out of this thread after all. And thanks alot for my first rep point!
    Last edited by MurderBurger; 11-18-2014 at 08:38 PM.

Similar Threads

  1. Recruit A Friend Guide - Some of the unexplained too!
    By Sn00p in forum World of Warcraft Guides
    Replies: 20
    Last Post: 06-22-2009, 08:30 AM
  2. Key to the Arcatraz (Guide)
    By Alkhara Majere in forum World of Warcraft Guides
    Replies: 0
    Last Post: 02-24-2007, 02:16 PM
  3. The Newbie Guide
    By Bossman4 in forum World of Warcraft Guides
    Replies: 12
    Last Post: 11-07-2006, 09:55 PM
  4. the alliance guide..
    By svaber in forum World of Warcraft General
    Replies: 3
    Last Post: 10-17-2006, 07:07 AM
  5. The Way of the Punchbag! - Guide to tanking
    By Krazzee in forum World of Warcraft Guides
    Replies: 0
    Last Post: 06-10-2006, 06:49 PM
All times are GMT -5. The time now is 01:54 AM. 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