Originally Posted by DeadLinez ; means a comment../fp Send to me your LTBase class with 1 line of code
Originally Posted by NexonGuard Send to me your LTBase class with 1 line of code /fp x2, the class aint 1 line, to call it is line, find it yourself leecher..
Originally Posted by DeadLinez /fp x2, the class aint 1 line, to call it is line, find it yourself leecher.. /fp i not a leecher! i'm Unverified User and NexonGuard
Originally Posted by NexonGuard /fp i not a leecher! i'm Unverified User and NexonGuard /fp Stupit Just use the one Flameswor10 posted o.O
/appears momentarily to post my one-liner solution Code: (*(int (*)(const char *)) (*((int *) 0xLTCLIENT) + 0x208))("SkelModelStencil 1"); /disappears back into obscurity
Originally Posted by LtCommaro Even though I DONT HAVE ANY idea what this means. I still like it. Thanked.
Originally Posted by flameswor10 Code: void __cdecl RunConsoleCommand( const char* cCommand) { void* address = ( void* ) ADDR_CONSOLEUNWRAPPED; __asm { Push cCommand call address add esp, 0x4 } } Much smaller, Much Simpler, Much easier. very good this method !
Originally Posted by baraozin My horrible PTC method Code: VOID CosolePush(CONST CHAR *Command) { __asm { PUSHAD; NOP; MOV EAX, LTClientEXE; WAIT; MOV EBX, LTClientEXE; WAIT; NOP; CMP EAX, EBX; NOP; add eax, 4 JZ Hello; NOP; Hello: NOP; PUSH Command; NOP; MOV EAX, LTClientEXE; NOP; CALL EAX; NOP; ADD ESP, 0x4; NOP; sub EDI, 0x5; sub esi, 0x1; POPAD; } } Chams push example: Code: ConsolePush("SkelModelStencil 1"); Doesn't that entire thing == Code: void ConsolePush(const char *command) { __asm { push command call LTClientEXE }} I don't know if this code would work... just that it has exactly the same result as your code.
Originally Posted by yodaliketaco Doesn't that entire thing == Code: void ConsolePush(const char *command) { __asm { push command call LTClientEXE }} I don't know if this code would work... just that it has exactly the same result as your code. Almost, but you gotta fix the stack due to the cdcel calling convention Code: add esp, 4 So something along the lines of: Code: void ptc(char* command){ void* addy = *(void*)0xwhatever; __asm{ push command call addy add esp, 4 } }