oh, Same thing here with crossfire arx
I tested various sources in my device, and tested parts at parts and i detected what if using while and sleep in the source, the game close, but removing, the cheat don't work.
please help
sorry my bad english
oh, Same thing here with crossfire arx
My name is Network
No need for more ...Code:BOOL IsGameHooked () { if ( GetModuleHandleA("CShell.dll") != 0 && GetModuleHandleA("ClientFx.fxd") != 0 ) return true; return false; } VOID HookThread ( LPVOID ) { while (!IsGameHooked()) Sleep(250); while ( true ) { YouWall(); } }
Credits for Xaruto, Xaruto do not know ... and NetworkMgr
I would guess that you mean with device a hook like endscene and in a hook you already have a loop so if you use while(1) it will be crash because you are trying to make a loop inside from a loop. And if you use sleep inside the hook it will be call sleep the whole time and the game will freeze.
you are freezing the game thread ...
create a new thread or just do your stuff without loop and your hook should call your function ..