Hello,
Taking up programming again and I've ran into a little problem while getting object GUIDs from objectmanager.
Using this:
Code:
const static int DescriptorMulti = 4; // 4 or 1
const static unsigned int DescriptorOffset = 0x8;
OBJECT_FIELD_GUID = 0x0,
unsigned long WoWObject::GetDescriptorFieldULong(unsigned int field) {
field *= Descriptors::DescriptorMulti;
unsigned int m_pStorage = Memory.ReadUInt( ObjectPointer + Descriptors::DescriptorOffset );
return Memory.ReadULong( m_pStorage + field );
}
but I'm not getting the GUID of objects .The objectpointer is correct and if I do ReadULong( ObjectPointer + 0x30 ); I get the correct GUID but want to use the descriptors and not manually. The descriptor offset is an old one I found, has it changed?
Anyone see the problem?