2 Errors.
1>c:\users\HIdden\documents\visual studio 2008\projects\ca hack\ca hack\base.cpp(13) : error C2065: 'Engine' : undeclared identifier
1>c:\users\Hidden\documents\visual studio 2008\projects\ca hack\ca hack\base.cpp(13) : error C2228: left of '.IsReady' must have class/struct/union
I bet I'm gonna get alot of troll since I don't know this.
/
whatup777 (10-27-2010)
i need a help here is it my entire code but when i try compile it i know where is it the error but dont know how to fix it #include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
void PushToConsole(char* Command)
{
there is it the error can any one help me pls >typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t RCC = (RunConsoleCommand_t)LTC;//Engine LTC
RCC(szCommand);
}
PushToConsole("Show FPS 1")
PushToConsole("SkelModelStencil 1 ");
PushToConsole("FogEnable 1" );
PushToConsole("ModelDebug_DrawBoxes 1" );
PushToConsole("PlayerGravity -800.000000" );
PushToConsole("WeaponSway 99.000000" );
PushToConsole("ActivationDistance 999999" );
PushToConsole("Jumpvel 600.000000");
PushToConsole("KnockBack 1" );
PushToConsole("ReloadSpeed 999.000000" );
PushToConsole("FireSpeed 999.999999" );
PushToConsole("NightVision 1");
PushToConsole("CrossHairR 255");
PushToConsole("InfiniteAmmo 1");
PushToConsole("ShowTiming 1");
PushToConsole("FreeVoteKickRatio 999.000000");
PushToConsole("Firemode 999.999999");
PushToConsole("FreeVoteKickNullTicketRatio 1");
PushToConsole("HeadPitchUpRatio 1");
PushToConsole("PusherMaxYVelocity 3000.000000");
PushToConsole("BaseMoveAccel 3000.000000");
PushToConsole("StartAccel 30000.000000");
PushToConsole("MaxAccel 30000.000000");
PushToConsole("AccelInc 30000.000000");
PushToConsole("WalkVel 30000.000000");
PushToConsole("FRunVel 30000.000000");
PushToConsole("BRunVel 30000.000000");
PushToConsole("SRunVel 30000.000000");
PushToConsole("JumpVel 30000.000000");
PushToConsole("DuckVel 30000.000000");
PushToConsole("FallDamageMinHeight 1.000000");
PushToConsole("FallDamageMaxHeight 700.000000");
PushToConsole("FallDamageMin 2.000000");
PushToConsole( "FallDamageMax 1000.000000");
}
}
bool memoria( void * pDest, char * szPatch, size_t sSize ) //Nopping Method
{
DWORD dwOrgProtect = NULL;
if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
return FALSE;
memcpy( pDest, szPatch, sSize );
VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
return TRUE;
memoria((LPVOID)(0x37465A60),"x90\x90\x90",3);
memoria((LPVOID)(0x37234EB9),"x90\x90\x90",3);
memoria((LPVOID)(0x37465A74),"x90\x90\x90",3);
memoria((LPVOID)(0x37465A77),"x90\x90\x90",3);
memoria((LPVOID)(0x37465A80),"x90\x90\x90",3);
memcpy((LPVOID)(0x374AB714),"x90\x90\x90",3);
memoria((LPVOID)(0x373FDDD9),"x90\x90\x90\x90",4);
memoria((LPVOID)(0x37712984),"x90\x90\x90\x90\x90\ x90",6);
memoria((LPVOID)(0x374E6416),"x90\x90\x90\x90\x90\ x90",6);
memcpy((LPVOID)(0x007D8FF8),"x90\x90\x90",3);
memcpy((LPVOID)(0x377191E0),"x90\x90\x90",3);
memcpy((LPVOID)(0x377191D0),"x90\x90\x90",3);
memcpy((LPVOID)(0x377191C0),"x90\x90\x90",3);
}
void main()
{
while(true)
{
}
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
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;
}
dude you didnt even define your engineltc! ENGLTC = 0x4A4750 (i think i still dont know the right address thats what im looking for.. cred - HiddenoO)
Does anybody have the ENG class?? I think thats is what is needed to make this work :O