killergod129 (07-15-2010)
this is a tut how to make you first hack
- download any virsion of visual studios
us this code: #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 )
{
DWORD *LTClient = ( DWORD* )(0x3778BFB0);
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
void main()
{
while(true)
{
PushToConsole("SkelModelStencil 1"); //Nx Chams
PushToConsole("ModelDebug_DrawBoxes 1"); //Boxes
PushToConsole("ActivationDistance 100000"); //Weapon Pickup
PushToConsole("FogEnable 0"); //No fog
PushToConsole( "FullBright 1" );//Fullbright
PushToConsole( "WireframeModels 1" );//Wireframe
PushToConsole("drawguns 1");
PushToConsole( "CanShootThrough 1 (0)" );
PushToConsole( "CanSeeThrough 1 (0)" );
PushToConsole( "CrossHairB x (0)CrossHairG x (255)CrossHairR x (0)" );
PushToConsole( "SpectatorMode 1 (0)" );
PushToConsole( "RespawnToken 0 (50000000000000000000000000000)" );
}
}
DWORD WINAPI dwHackThread(LPVOID) {
while( !IsGameReadyForHook() )
Sleep(100);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
put in your own PTC commands from
mpgh.net
credits:
codenever for giving me the idea
me for coding it
zoom for some commands
ilikewaterha for some commands
killergod129 (07-15-2010)
fail?
420Stoner420 (07-15-2010)
The last 5 PTC commands don't work.
And yes CoderNever, fail indeed...
this is just teaching you how you c&p
and you should only post a tut if you also know what code means so you c&ped this also
what is with all these fail hk hacks????
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
srry to say this isnt a tut a tut is when you explan how to code it and why you put the code there
Lol im feeling kind add me on msn..
tydawg@live.com
why did all hk bases get patched
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-