Added anti leeche protectionCode:#include "stdafx.h" #include <windows.h> #include <iostream> using namespace std; bool IsGameReadyForHook() { if( GetModuleHandleA( "CShell.dll" ) != NULL ) { return true; } else { return false; } } void __cdecl PushToConsole( const char* szCommand ) { DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll"); if( dwCShell != NULL ) { DWORD *LTClient = ( DWORD* )( (dwCShell + 0x299D40) ); void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 ); __asm { push szCommand; call CONoff; add esp, 4; } } } void main() { Sleep(8000); bool dozen = false; bool nosmoke = false; while("why" == "why" ) { if(GetAsyncKeyState(VK_F10)<0){ dozen = !dozen; } if(GetAsyncKeyState(VK_F9)<0){ nosmoke = !nosmoke; } if (dozen) { PushToConsole("ModelDebug_DrawBoxes 1"); } else { PushToConsole("ModelDebug_DrawBoxes 0"); } if(nosmoke) { PushToConsole("DrawParticles 0"); } else { PushToConsole("DrawParticles 1"); } Sleep(120); } } DWORD WINAPI yhd(LPVOID) { while(IsGameReadyForHook() ) Sleep(125); main(); return 0; } BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) { DisableThreadLibraryCalls(hDll); if ( dwReason == DLL_PROCESS_ATTACH ) { MessageBoxA(0, "Coded By lauwy\nMPGH\nWindows 7 only", "Injected", 0); CreateThread(NULL, NULL, yhd, NULL, NULL, NULL); } return true; }