Hey everyone, quick question.

I thought the offset for Spectator is clientPlayer + 0x13C8, (type bool) (either 1 for spectator or 0 if not). Doesn't look like that's accurate. Can anyone point me to the correct offset.

I traverse each of the idToPlayerMapOffset iterations and if any players come up as "1", i'll know there's a spectator on, and can play normally. For some reason I thought the offset was just before the TeamID, which I can see fine, but the isSpectator always seems to be zero.


ReadProcessMemory(pHandle, (void*)(pPlayer->clientPlayer + 0x13C8), &pPlayer->m_isSpectator, sizeof(pPlayer->m_isSpectator), NULL);


Original Writen by robm1q in Battlefield 4 Category, the date of 26-06-2015 08:15.