[help] Getting a firm grip on the object manager... menu

User Tag List

Results 1 to 4 of 4
  1. #1
    yeahlol's Avatar Member
    Reputation
    -6
    Join Date
    Nov 2010
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [help] Getting a firm grip on the object manager...

    Hello!

    Since this is my first post ill start off by a little introduction: Im yeahlol, a 23 year old programmer and recently discovered wow memory reading. I have this thing of breaking stuff to see how they work, and now I want to see what makes wow tick

    But after some research, trying and then failing im turning to the forum (which looks nice ) for help.

    My problem: I want to loop thru the object manager and read all relevant objects that exists in that list.

    I'll just post what i have so far and hopefully only small changes in my logic needs to be changed

    "My" enums:

    Code:
    public enum ObjectManager : uint
            {
                CLIENT_CONNECTION = 0x8B2F78,
                OBJECT_MANAGER_OFFSET = 0x462C,
                FIRST_OBJECT = 0xB4,
                NEXT_OBJECT = 0x3C,
                LOCAL_GUID_OFFSET = 0xB8,
            }
    
            public enum ObjectOffsets : uint
            {
                OBJECT_FIELD_GUID = 0x0,
                OBJECT_FIELD_TYPE = 0x8,
                OBJECT_FIELD_ENTRY = 0xC,
                OBJECT_FIELD_SCALE_X = 0x10,
                OBJECT_FIELD_DATA = 0x14,
                OBJECT_FIELD_PADDING = 0x1C,
            }
    C#:

    Code:
    uint ClientConnection = 0;
    uint ObjectMngr = 0;
    uint FirstObject = 0;
    
    public static BlackMagic WowReader = new BlackMagic();
    ClientConnection = WowReader.ReadUInt((uint)Pointers.ObjectManager.CLIENT_CONNECTION);
    ObjectMngr = WowReader.ReadUInt((uint)(ClientConnection + Pointers.ObjectManager.OBJECT_MANAGER_OFFSET));
    FirstObject = WowReader.ReadUInt((uint)(ObjectMngr + Pointers.ObjectManager.FIRST_OBJECT));
    Debugging in VS2010 stops the code at uint ObjectMngr = ... and hovering ClientConnection says its 0... could anyone able please point out what is wrong, am i misunderstanding the use of ReadUint? Are the pointers wrong? Im trying to get it to work with 4.0.3.13287 and the addresses should be right i think.

    I would also give a shout out to what seems to be good datamining (the offsets) and blackmagic, if i manage to pull this off it would save me a lot of work

    [help] Getting a firm grip on the object manager...
  2. #2
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You forgot to add wow.exe to the pointers.
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  3. #3
    yeahlol's Avatar Member
    Reputation
    -6
    Join Date
    Nov 2010
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by -Ryuk- View Post
    You forgot to add wow.exe to the pointers.
    OH! Yes, ofcourse... that makes sence. Thought maybe black magic did this for me in some magical way

    Two silly questions: 1) how do i obtain it and do i need to add it to every memory read i do? BTW: is my syntax okey? I was a but unsure with the (uint) casting.

  4. #4
    Jens's Avatar Contributor
    Reputation
    179
    Join Date
    Sep 2006
    Posts
    251
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cast to uint as much as you want, and you only need to add the wow base address to pointers, not offsets from that pointer, also getting it is simple:
    Code:
    IntPtr WowBaseAddress = Process.GetProcessesByName("Wow")[0].MainModule.BaseAddress;
    Last edited by Jens; 11-23-2010 at 03:46 AM. Reason: fix

Similar Threads

  1. Need some help getting some textures from the game
    By Iaccidentallytwink in forum Hearthstone: Heroes of Warcraft
    Replies: 3
    Last Post: 10-16-2014, 03:23 AM
  2. Replies: 9
    Last Post: 04-16-2010, 02:52 PM
  3. Replies: 9
    Last Post: 03-03-2010, 02:36 PM
  4. Help Get the word out
    By Functions in forum WoW Scams Help
    Replies: 1
    Last Post: 10-19-2008, 12:03 AM
  5. How to get your private server Public(the way i help someone)
    By aznboy in forum WoW EMU Guides & Tutorials
    Replies: 34
    Last Post: 05-24-2008, 01:52 AM
All times are GMT -5. The time now is 07:13 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