Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Check Threads (Simple Patch KillThread's)

Initiate Mage
Joined
Sep 13, 2012
Messages
99
Reaction score
46
PHP:
void ThreadAlive(HANDLE hThread)
{
if(WaitForSingleObject(hThread, 0) == WAIT_OBJECT_0 || WaitForSingleObject(hThread, 0) == WAIT_ABANDONED_0 || WaitForSingleObject(hThread, 0) == WAIT_FAILED)
{
	//autoban here
}
}

Example:

PHP:
HANDLE hAntiHack;


ThreadAlive(hAntiHack);
ResumeThread(hAntiHack);

PHP:
hAntiHack = CreateThread(0,0, (LPTHREAD_START_ROUTINE)AntiHack,0,0,NULL);

I Hope that helps, Prevents Killthread with processxp , powertool etc.
Credits: Me
 
Last edited:
Praise the Sun!
Member
Joined
Dec 4, 2007
Messages
2,502
Reaction score
986
Hooking into WaitForSingleObject would easily bypass this, rather work on something encrypted or virtualized.
 
Back
Top