Requesting a ptc?
This is a request can anyone please help me? I want to release my hack on mpgh again but i need a working unpatched ptc. I cant get one working and i cant find one. Could someone help me out? Please dont rage.
void __cdecl PushIt( const char* cmd)
{
void* Command = (void*) LTClient;
_asm
{
PUSH cmd;
NOP;
CALL Command
NOP;
ADD ESP, 0x4;
}
}
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PTC(char *szCommand)
{
typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t PushToConsole = (RunConsoleCommand_t) 0x485FF0;
}
)