Originally Posted by
Deadmau5™
So I can't seem to get any PTC to work on my hotkey hack.... I had it working on a menu hack but could never get it to work on my hotkey base, even though it is the same :
Code:
void ptCommand(const char* Command)
{
_asm {
pushad
push Command
mov eax, LTClientEXE
call eax
add esp, 0x4
popad
}
}
My LTClientEXE is up to date, and this worked in my menu but doesn't in my hotkey
Thanks in advance
Code:
VOID Console::ptCommand( CONST CHAR * Command )
{
if( *(BYTE*)GameStatus == InGame )
{
__asm
{
PUSHAD
PUSH Command
MOV EAX, LTClientEXE
CALL EAX
ADD ESP, 0x4
POPAD
}
}
}
this works for both of my hacks.
then:
Code:
if (YOUR HOTKEY )
{
this->ptCommand ( YOUR ACTIVE HACK HERE );
} else {
this->ptCommand ( YOUR OFF HACK HERE );
}
}
should work.
if not let me know.
ill try to help