Hi Folks,
new Offsets for Version 1.2.1 (Updated for latest patch)
REGISTER_C_CLOSURE 0x8A012D
LUA_BASE_PTR [0xF25574]+0x0C
ENTITY_BASE_PTR 0x00D32B4C
PLAYERBASE 0xD32D5C
Please see my post "Offsets for 1.1.1" on how to use the LUA_BASE_PTR.
Also pay attention, that this patch changed the structure of the PLAYERBASE object.
For example the PLAYER_ENTITY_INDEX (the internal object number of
the player to find him in the ENTITY_BASE_PTR list) has moved to offset 0xC4 !
(Before it was at 0xC0)
Likewise the FRIENDLY_TARGET in the ENTITY structure has changed
to the upper 16 bits of dword at offset 0x29C.
HOSTILE_TARGET is still in the dword at 0xA0 int the ENTITY structure.
Please note, that FRIENDLY_TARGET and HOSTILE_TARGET are guids and can not used
directly to index into the ENTITY_BASE_PTR list. Personally I create my own guid hash
from the GUID dword at offset 0x44 in the ENTITY structure to directly translate into an
ENTITY_INDEX that can be found at offset 0x40 in the ENTITY structure.
enjoy
Apollo