WPM doing nothing.
hey guys, i'm doing na external radar hack using WPM and i can't figure out what i'm doing wrong, first i tought it was a problem with variable type (why? idk, just a guess), so i changed it for bool, byte and int, nothing change.
i can read it perfectly, it show 1 when enemy is spotted and 0 when u turn around, but when i write it don't change.
Code:
DWORD EnemySpot = 0;
bool SpotEnemy = 1;
clientdll = KCAH.GetCSModule(IdDoJogo, "client.dll");
for (int a = 0; a < 64; a++){
ReadProcessMemory(HandleDoJogo, LPCVOID(clientdll + OFSTS.EntLi + (a*OFSTS.LooDis)), &EntityInfo, sizeof(EntityInfo), NULL);
if (!EntityInfo) break;
ReadProcessMemory(HandleDoJogo, (PBYTE*)(EntityInfo + OFSTS.isSpot), &EnemySpot, sizeof(EnemySpot), NULL);
if(!EnemySpot){
WriteProcessMemory(HandleDoJogo, (PBYTE*)(EntityInfo + OFSTS.isSpot), &SpotEnemy, sizeof(SpotEnemy), NULL);
cout << EnemySpot << endl;
}
}
}