new ltc
my hack is detected why????
i dont think i didanything whrong did i?
can someone help me
i dont think i didanything whrong did i?
Code:
#include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole(const char* szCommand )
{
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( 0x3778CFB0 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
}
void main()
{
while(true)
{
memcpy((LPVOID)0x372FF456, "\x90\x90", 2);
Sleep(50);
memcpy((LPVOID)0x37232B48, "\x90\x90\x90\x90", 4);
Sleep(50);
PushToConsole("DrawParticles 0");
Sleep(50);
PushToConsole("ShowFps 1");
Sleep(50);
PushToConsole("FogEnable 0" );
Sleep(50);
PushToConsole("ActivationDistance 999999" );
Sleep(50);
Sleep(50);
PushToConsole("BaseMoveAccel 1600.000000");
Sleep(50);
PushToConsole("StartAccel 1600.000000");
Sleep(50);
PushToConsole("MaxAccel 1600.000000");
Sleep(50);
PushToConsole("AccelInc 1600.000000");
Sleep(50);
PushToConsole("WalkVel 1600.000000");
Sleep(50);
PushToConsole("FRunVel 1500.000000");
Sleep(50);
PushToConsole("BRunVel 1500.000000");
Sleep(50);
PushToConsole("SRunVel 1500.000000");
Sleep(50);
}
}
DWORD WINAPI dwHackThread(LPVOID) {
while( !IsGameReadyForHook() )
Sleep(300);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
