HelpPTC comands don't working

Posts 1–5 of 5 · Page 1 of 1
PTC comands don't working
When i push hothey game crashes.Help please or give me working consule string.
Quote Originally Posted by GoldWhite View Post
When i push hothey game crashes.Help please or give me working consule string.
Post code or nobody can help.
void __stdcall PushToConsole( const char* Command)
{
DWORD* Addr = ( DWORD* ) dwLTClientEXE;

__asm
{
Pushad;
Push Command
call Addr
add esp, 0x4
Popad;
}
}

and
void __stdcall RunConsoleCmd( const char* command)
{
if(!rccAdr)
rccAdr = dwLTClientEXE;

typedef void(__cdecl*RunConsoleCommandFn)(const char*,int&);
RunConsoleCommandFn RunConsoleCmd = (RunConsoleCommandFn)rccAdr;

int v4;
RunConsoleCmd(command,v4);
}
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us