Hey Guys, Could someone help me.. im using this PTC Method, but still d/c
i have used 5 PTC method.. this is the current one
Code:
void __cdecl PushToConsole(char* sVal)
{
DWORD zAddress = 0x007D9200;
void* szConsole = (void*)*(DWORD*)(zAddress);
_asm
{
push sVal
call szConsole
add esp, 4
}
}
2nd
Code:
void __cdecl PushToConsole(const char* szCommand )
{
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( LTCaddie );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
}
3rd
a Push Method
4th
ConsolePush Method