I tested your code and made it undetected however there was something wrong with WallClass, It crashes the game, when first launches.
Long knife actually works for object/ walls and crates only. Speed knife doesnt work either.
Any one knows what PlayerMgr and PlayerBasic are for?
---------- Post added at 09:29 PM ---------- Previous post was at 09:14 PM ----------
![Quote](mpghv2/misc/quote_icon.png)
Originally Posted by
penguinglx
I tested your code and made it undetected however there was something wrong with WallClass, It crashes the game, when first launches.
Long knife actually works for object/ walls and crates only. Speed knife doesnt work either.
Any one knows what PlayerMgr and PlayerBasic are for?
I fixed it, Check for If(WallClass) first before applying any modification to the address, since the wallclass was not available at the beginning when Cshell.dll loaded
The Couching shit, actually works, but sometimes it gives error, I will look into it
---------- Post added at 09:36 PM ---------- Previous post was at 09:29 PM ----------
I APPRECIATE YOUR CODE SO, LET ME MAKE A BIT CONTRIBUTION
I RELEASE CODE TO BY PASS X-TRAP
Code:
HANDLE HackThread = NULL;
bool PleaseHack= true;
DWORD WINAPI Hacks(LPVOID)
{
DWORD _CShell= NULL;
do
{
_CShell = (DWORD)GetModuleHandleA("CShell.dll");
Sleep(100);
}
while(!_CShell);
do
{
//PUT THE HACKING CODE HERE
Sleep(100); // This save a lot of CPU processing power
}
while(PleaseHack);
ExitThread(0);
RETURN 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD fdwReason, LPVOID lpReserved )
{
DWORD ExitCode = 0;
switch(fdwReason)
{
case DLL_PROCESS_ATTACH:
HackThread = CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
break;
case DLL_PROCESS_DETACH:
PleaseHack = false;
//Safely wait until thread actually killed
//A bit paranoid,but I just dont want any shitty thread running when crossfire.exe calls DLL_PROCESS_DETACH
do
{
GetExitCodeThread(HackThread,&ExitCode);
Sleep(10);
}
while(ExitCode==STILL_ACTIVE);
break;
}
return TRUE;
}