1on1 (10-28-2010),55anderson55 (10-30-2010),crazygamer53 (10-29-2010),DBag4Life69 (10-27-2010),dontcrymore15 (10-29-2010),eXaLtIc™ (10-26-2010),fvestrgenrl (10-26-2010),kainoa (10-26-2010),wainner3d (10-26-2010)
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");
1on1 (10-28-2010),55anderson55 (10-30-2010),crazygamer53 (10-29-2010),DBag4Life69 (10-27-2010),dontcrymore15 (10-29-2010),eXaLtIc™ (10-26-2010),fvestrgenrl (10-26-2010),kainoa (10-26-2010),wainner3d (10-26-2010)
I don't get the + 0x5 at the end. maybe it's to get past some kind of stack frame idk...
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
[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]
The Internet SHOULD Be Illegal
When you say
"Java is a great programming language because it works on all platforms"
it is just like
"anal sex is great because it works on all genders"
Are YOU a Troll?
MEkhi2 (10-26-2010)
'dwpLTClient'
In compiling the 2065 error "undeclared Indentifier"
I'm not getting more declare her as I do?
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.
Mikelele (10-26-2010)
Thank you know the link of the post?
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
oh, ok. I will link you.
https://www.mpgh.net/forum/207-combat...-ltclient.html
I cant see the video because I'm at school. Look at it :S
Mikelele (10-26-2010)
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; }