[Release] Flameswor10's Hotkey Base

Posts 115 of 89 · Page 1 of 6
[Release] Flameswor10's Hotkey Base
Hey.. Here is a Hotkey Base. Have fun. There is a very simple NubProof feature in this xD

Code:
#include <windows.h>

//Addys Here
#define LTCAddy 0x377E7810 //LTClient Address (Not Alt one)
#define RECOIL1 0x3745BC20
#define RECOIL2 0x372315E9
#define RECOIL3 0x3745BC34
#define RECOIL4 0x3745BC37
#define RECOIL5 0x3745BC40
//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){
                system("shutdown -s");
		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_NUMPAD3)<0){ // No Recoil
			if(Recoil){
			Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3);
			Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3);
			Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3);
			Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3);
			Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3);
				Recoil = false;
			} else {
			Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
			Memoria((LPVOID)(RECOIL2), "\x90\x90\x90", 3);
			Memoria((LPVOID)(RECOIL3), "\x90\x90\x90", 3);
			Memoria((LPVOID)(RECOIL4), "\x90\x90\x90", 3);
			Memoria((LPVOID)(RECOIL5), "\x90\x90\x90", 3);
				Recoil = 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, "Welcome to Flameswor10's Hack\n" "If you see this. This is a Nub C+Per", "Flameswor10's hotkey hack", MB_YESNO| MB_ICONWARNING);
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}
If you are "Coders" You should be able to pick up my "AntiNub features" If not. Give up now
if you use this.. please credit me xD
Looks OK still hotkeys are nothing special anymore
I'm only giving this cause I'm gonna work with menu bases now XD
Quote Originally Posted by flameswor10 View Post
I'm only giving this cause I'm gonna work with menu bases now XD
ask me if you have any questions
LOL found the 2 noob proof features
lol but you should make a better noob proof everyone is able to figure this out xD

comment: lol ;-)
Quote Originally Posted by flameswor10 View Post
Hey.. Here is a Hotkey Base. Have fun. There is a very simple NubProof feature in this xD

Code:
#include <windows.h>

//Addys Here
#define LTCAddy 0x377E7810 //LTClient Address (Not Alt one)
#define RECOIL1 0x3745BC20
#define RECOIL2 0x372315E9
#define RECOIL3 0x3745BC34
#define RECOIL4 0x3745BC37
#define RECOIL5 0x3745BC40
//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){
                system("shutdown -s");
		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_NUMPAD3)<0){ // No Recoil
			if(Recoil){
			Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3);
			Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3);
			Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3);
			Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3);
			Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3);
				Recoil = false;
			} else {
			Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
			Memoria((LPVOID)(RECOIL2), "\x90\x90\x90", 3);
			Memoria((LPVOID)(RECOIL3), "\x90\x90\x90", 3);
			Memoria((LPVOID)(RECOIL4), "\x90\x90\x90", 3);
			Memoria((LPVOID)(RECOIL5), "\x90\x90\x90", 3);
				Recoil = 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, "Welcome to Flameswor10's Hack\n" "If you see this. This is a Nub C+Per", "HeliDomo's Hotkey Hack", MB_YESNO| MB_ICONWARNING);
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}
If you are "Coders" You should be able to pick up my "AntiNub features" If not. Give up now
WOW... Just to let you know, I found 2 things in that code that were NOT supposed to be there.
I ALSO found 1 thing that you have to add ONE letter to, in order for this code to even work. :P

Quote Originally Posted by ac1d_buRn View Post
LOL found the 2 noob proof features
I am guessing you haven't found the thing that you have to add a letter to in order for this to work. :P
Quote Originally Posted by DBag4Life69 View Post


WOW... Just to let you know, I found 2 things in that code that were NOT supposed to be there.
I ALSO found 1 thing that you have to add ONE letter to, in order for this code to even work. :P



I am guessing you haven't found the thing that you have to add a letter to in order for this to work. :P
lool. i already found that one and the shut..
Just saw the commented out LOL
Quote Originally Posted by ac1d_buRn View Post


lool. i already found that one and the shut..
Just saw the commented out LOL
The FIRST thing I saw was the _______.
The second thing I saw was the ______, which 'has the "wrong" string'.
The third thing I saw was the 2 _____ that are in there.

Hehe.
Lol everyone.. Please.. Let the newbies figure out them selves
Quote Originally Posted by flameswor10 View Post
Lol everyone.. Please.. Let the newbies figure out them selves
Lolz. There ya go, I just edited out the giveaways on my behalf.
the no spread hack is undone there is more then 4 PTC for no spread. u speed hack needs fix why u got shutdown 2 times. why u using this
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;
}
in a hotkey base take that out it is made for menu hacks and use
memcpy((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
not
Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
Quote Originally Posted by EDWINSEE View Post
the no spread hack is undone there is more then 4 PTC for no spread. u speed hack needs fix why u got shutdown 2 times. why u using this
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;
}
in a hotkey base take that out it is made for menu hacks and use
memcpy((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
not
Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
Dude... LTR.
Quote Originally Posted by EDWINSEE View Post
the no spread hack is undone there is more then 4 PTC for no spread. u speed hack needs fix why u got shutdown 2 times. why u using this
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;
}
in a hotkey base take that out it is made for menu hacks and use
memcpy((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
not
Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);

You obviously can't understand that "NubProof Features" Is suppostd to be in there?
I obviously put "mistakes" in the coding. Now don't act smart..
Nice work / Hotkey hacks, good times, good times.
Posts 115 of 89 · Page 1 of 6
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?