Okay so i have an Object Dumper working in C# and it dumps all the GUIDs, Baseaddrs and types so far.
So i was reading Cypher's Memory List for 3.0.2 (Thanks for it) and i plugged in the Offset for MaxHP as a Test and what it returned wasn't that.
0x1F - Maxhp
Code:
foreach (Object o in WowObjects)
{
Console.WriteLine("0x{0:X08} -- GUID:0x{1:X016} -- Type:{2}",
o.OBJECT_FIELD_BASEADRESS,
o.OBJECT_FIELD_GUID,
o.OBJECT_FIELD_TYPE);
if (o.OBJECT_FIELD_TYPE == 4)
Console.WriteLine(Memory.ReadInt(hProcess, (Memory.ReadUInt(hProcess, o.OBJECT_FIELD_BASEADRESS + 0x08)) + 0x1F * 4));
}
EX: Output
Code:
...
0x167CF7D8 -- GUID:0x0000000002B3FE6F -- Type:4
2147483647 <<<--HP ValueMax
...
0x07BB73A4 -- GUID:0x0000000001D7EB56 -- Type:4
2147483647
...
I must be doing something wrong but not sure what.