[RELEASE/INFO] first hack tut
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 commandsnice ill try but codernever tut source is patched ill check urs ill post results if it does which im like praying it will ima plusrep and thank
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
ill thank but like every other hack you d/c like 2 mins after logon or less
what is with all these fail hk hacks????
srry to say this isnt a tut a tut is when you explan how to code it and why you put the code there
why did all hk bases get patched