Working PTC Method! (25.10.10)

Posts 1–15 of 46 · Page 1 of 4
Working PTC Method! (25.10.10)
Full credits: NeoIII

Code:
void __cdecl PTC( const char* szCommand ) 
{ 
    if( !eng.IsReady || dwpLTClient == NULL ) 
        return; 

    DWORD dwConsoleFunc = *( DWORD* )( dwpLTClient + 0x208 ); 
    DWORD dwRealCallA    = ( dwConsoleFunc + 0x26 );//JMP to real func 
    DWORD dwRealCallB    = *(DWORD*)( dwRealCallA + 0x1 ); 
    DWORD dwRealCall    = ( dwRealCallA + dwRealCallB + 0x5 ); 

    if( *(BYTE*)dwRealCallA == 0xE9 ) 
        dwConsoleFunc = dwRealCall; 

    __asm 
    { 
        push szCommand; 
        call dwConsoleFunc; 
        add esp, 4; 
    } 
} 

//cmd
PTC("ScreenGlowEnable 1");
I don't get the + 0x5 at the end. maybe it's to get past some kind of stack frame idk...
[php]void PushToConsole(char* Command)
{
typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t RCC = (RunConsoleCommand_t)LTC;//Engine LTC
RCC(szCommand);
}

PushToConsole("Show FPS 1")[/php]
just use the Engine LTC for gods sake! (Note: Its a offset)
'dwpLTClient'

In compiling the 2065 error "undeclared Indentifier"

I'm not getting more declare her as I do?
Quote Originally Posted by Mikelele View Post
'dwpLTClient'

In compiling the 2065 error "undeclared Indentifier"

I'm not getting more declare her as I do?
Code:
#define dwpLTClient 0x377F4930
put in globals (which means put on top of you solution)
how do I find "real func" in CABR already got to meet then LTClient
lacks the " #difine dwRealCallA 0x.... " ? Am I on track?
If you mean the CA Brazil LTClient..

Then you need to unpack cshell.dll and look for a tutorial posted in here on how to get that addy.
Thank you know the link of the post?
Quote Originally Posted by Mikelele View Post
Thank you know the link of the post?
Use the search buttonn :O
when i put a new ptc method, says ''eng.'' undeclared Indentifier"

and after this other error ''error C2228: left of '.IsReady' must have class/struct/union
1> type is 'int''


whats wrong?
the forum is in English and I'm from Brazil I have to be translated into Portuguese so I ask the link is not because I'm noob but more by necessity thanks anyway
Quote Originally Posted by Mikelele View Post
the forum is in English and I'm from Brazil I have to be translated into Portuguese so I ask the link is not because I'm noob but more by necessity thanks anyway
oh, ok. I will link you.

http://www.mpgh.net/forum/207-combat...-ltclient.html

I cant see the video because I'm at school. Look at it :S
Code:
#include "stdafx.h"
#include <windows.h>

#define LTC  0x000000 //LTC CA BR Before


void PushToConsole(char* Command)
{
    typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
    RunConsoleCommand_t RCC = (RunConsoleCommand_t)LTC;//Engine LTC
   
}

PushToConsole("Show FPS 1")  
}
}
}
DWORD WINAPI dwHackThread(LPVOID) {
while( !IsGameReadyForHook() )
Sleep(300);
main();
return 0;
}
Quote Originally Posted by filecroc View Post
Code:
#include "stdafx.h"
#include <windows.h>

#define LTC  0x000000 //LTC CA BR Before


void PushToConsole(char* Command)
{
    typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
    RunConsoleCommand_t RCC = (RunConsoleCommand_t)LTC;//Engine LTC
   
}

PushToConsole("Show FPS 1")  
}
}
}
DWORD WINAPI dwHackThread(LPVOID) {
while( !IsGameReadyForHook() )
Sleep(300);
main();
return 0;
}

Umm. What are you trying to do?
Posts 1–15 of 46 · Page 1 of 4
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us