Hi, I have been using Nu11V0id's PTC method and base but I can't figure out to fix it so it stops disconnecting after a minute. I have tried using the normal LTC and alt LTC but it still disconnects. I have also tried using other PTC methods that are on MPGH but they either don't work or disconnect. The only other thing I can think of that could be disconnecting me is the hook. (or at least that is what I think it is called) I have that posted below too. If someone could help me that would be great. Also please no raging. This section is specifically for help on coding combat arms hacks.
Here is the one I am using right now. It disconnects after a min of playing.
Code:
void __cdecl Push(char* szVal)
{
void* vSetVar = (void*)0x46F670;
_asm
{
push szVal;
call vSetVar;
add esp, 4;
}
}
Code:
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}