I found in the forum, WOW 2.4 TLS Example by Zombie911
I'am trying to use it in the actual version of wow, but some of the offsets are too old.
The question that i have is how to find the Tls slot of the wowObjects linked list?
how did someone find that the tsl slot index for the wowObject list was 0xE7DA2C?
Code:
const DWORD TIB_ptr = (int)BasicInformation.TebBaseAddress;
DWORD TLS_index;
DWORD TLS_ptr;
DWORD TSL_slot;
if( !mem->_dword(0xE7DA2C, &TSL_slot ) ) return false;
if( !mem->_dword(TIB_ptr+0x2c, &TLS_ptr ) ) return false;
if( !mem->_dword(TLS_ptr+(TSL_slot*4), &TLS_index) ) return false;
if( !mem->_dword(TLS_index+16, &ObjectBasePtr) ) return false;
if( !mem->int64(TLS_index+8, &playerGUID) ) return false;