Hi,
I though i know how to work with the objectmanager, getting the GUID, Type and NextObjectPointer works for me but nothing else ~.~. So I'm atm confused.
Code:
Const $OBJMGR_OBJTYPE = 0x14
Const $OBJMGR_OBJNAME = 0x968+ 0x5C
const $OBJMGR_OBJGUID = 0x30
const $OBJMGR_FIRSTOBJ = 0xAC
const $OBJMGR_NEXTOBJ = 0x3C
$pClientConnection = _MemoryRead(0x125A590, $wow_stream, 'ptr')
$pObjMgr = _MemoryRead($pClientConnection + 0x2D8C, $wow_stream, 'ptr')
$first_object = _MemoryRead($pObjMgr + 0xAC, $wow_stream, 'ptr')
$object_pointer = $first_object
$targeted_guid = _MemoryRead(0x01127770, $wow_stream, 'uint')
$found = 0
while $found = 0
$object_guid = _MemoryRead($object_pointer + $OBJMGR_OBJGUID, $wow_stream, 'uint')
$object_type = _MemoryRead($object_pointer + $OBJMGR_OBJTYPE, $wow_stream, 'int')
if $targeted_guid = $object_guid then
$found = 1
if $object_type = 3 Then
$object_name = _MemoryRead($object_pointer + $OBJMGR_OBJNAME, $wow_stream, 'char[40]')
endif
endif
$object_pointer = _MemoryRead($object_pointer + $OBJMGR_NEXTOBJ, $wow_stream, 'ptr')
wend
GUID, TypeID and NextObjectPointer works fine, but other offsets i searched for in some Threads (3.2.0 Info Dump Thread), wont work.
Can anybody say what i'm doing wrong?
PS:
I hope this are the some right offsets:
ObjX = 0xE8
ObjY = 0xEC
ObjZ = 0xF0
ObjName = 0x968 + 0x5C
(Objname was from the posting of cyrus01 in this topic