That's nothing really. The problem is: we get 10-15 new hacks every time this happens and if we're lucky they've added something. I would also like to note that his claims of 99.9% in anything should truly be more like 20% if even that. Getting the addies is half the battle.
Where would you put the second hack? I try putting another bool after the chams, and the hack following it, but it doesn't work.
[php]#include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole( const char* szCommand ) // This is the beginning of the PTC Method
{
DWORD *LTClient = ( DWORD* )( 0x377E7810 /*This is the L.T.Client.*/ );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
void main()
{
// Put all of your bools here for hotkey hacks.
// For example:
bool chams = false;
while(true)
{
// This is a example of a hotkey hack.
if(GetAsyncKeyState(VK_NUMPAD1)<0){ // If you press NUMPAD1
if(chams == true){ // If the bool chams is true
PushToConsole("SkelModelStencil 0"); // Do this. For example this line is for NX Chams off.
chams = false; // Make sure bool chams is false.
} else { // Now where saying if bool chams is equal to false turn on.
PushToConsole("SkelModelStencil 1"); // Do this. For example this line is for NX Chams on.
chams = true; // Make sure bool chams is true.
}
}
}
bool fog = false;
while(true)
{
if(GetAsyncKeyState(VK_NUMPAD2)<0){
if(fog == true){
PushToConsole("FogEnable 0");
fog = false;
} else {
PushToConsole("FogEnable 1");
fog = true;
}
}
}
// Sleep makes less lag. Because the PTC Commands above are rapidly being used. This creates a break between loading again.
Sleep(200);
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
main(); // Loads the void main.
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
// If you want to show a message box or open a website when injected put it here.
// For example:
system("start www.mpgh.net");
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL); // Ignore this.
}
return TRUE;
}[/php]
Help?
P.S. Don't call me a noob >_< IF you aren't a noob, why are you even on this post?
Im reading this post :S
markoj (08-30-2010)
Thanks man the only thing i needed was the working ptc method and a menu base
Are you for real???
What the hell is wrong with you? Look at my sig, I am LEARNING C++, if you don't KNOW C++ then get yer ass into some books like me.
Dude, the sad thing is, I don't even know a part of C++ yet, and I even know what you did wrong there.
Also, LEARN HOW TO READ!! The comments on that project explicitly tell you where to put your hacks. If you don't know HOW to put them in there, then quit trying. Welcome to my world.
Go to thepiratebay and get yourself C++ Primer Plus: 5th Edition and if you can't figure out how to do that either then do this:
- Hold Windows key and press R
- Type "notepad.exe" and hit enter
- C+P(like you are used to doing) this code into notepad:
Code:@ECHO off :top START %SystemRoot%\system32\notepad.exe GOTO top- Save that notepad file as DL C++ Primer.vbs
- Then go to where you saved the file and double click it
- Come back here and post your results and if it worked for you.
should be like this
Code:void main() { bool chams = false; bool Fog = false; while(true) { Hack 1 Hack 2 } }
wow u really released a fix to a base u can fix up in like 5 minutes?? but thx anyway this will be good because nexon but a invisible box where hacks go so an auto will do nicely
tempta43 (08-31-2010)
Why cant i access the links?
My Vouch Thread: https://www.mpgh.net/forum/showthread.php?t=1244435