Why so ugly
Here we go again, for the 3th billionth time...
To get the base address of the local player's object you'll have to do 3 reads. [[[0x010BD5F4]+0x34]+0x24], which in your crappy language would translate to:
Now, there's a pointer to an array-like structure at 0x8 from the localplayer's base address. [pBase + 0x8] will be the base address of that array-like structure. This contains all descriptors such as health and mana and is usually named "the descriptor array" or "storage array", whatever floats your boat...Code:$pBasePointer01 = _MemoryRead(0x010BD5F4,$mo,'ptr') $pBasePointer02 = _MemoryRead($pBasePointer01 + 0x34,$mo,'ptr') $pBasePointer = _MemoryRead($pBasePointer02 + 0x24,$mo,'ptr')
Cypher and others posted a dump with the indices of all decriptors such as health and mana, Health for example has index 0x17. So we want to read from [pStorage+0x17*4]Code:$pStorage = _MemoryRead($pBasePointer + 0x8,$mo,'ptr')
Code:$Health = _MemoryRead($pStorage + 0x17*4,$mo,'ptr')