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