Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Combat Arms Hacks & Cheats › Combat Arms Discussions › HotKey Source Code

HotKey Source Code

Posts 1–2 of 2 · Page 1 of 1
VE
Velocity
HotKey Source Code
Hi,

For update just update the L***ient addy:
( DWORD* )( 0x3777DDAC ) is current.

Credits to powerfear:

Code:
#include <windows.h>
void __cdecl PushToConsole( const char* szCommand )
{
	DWORD *L***ient = ( DWORD* )( 0x3777DDAC );
	void* CONoff = ( void* )*( DWORD* )( *L***ient + 0x208 );
 
	__asm
	{
		push szCommand;
		call CONoff;
		add esp, 4;
	}
}
bool IsGameReadyForHook()
{
    if( GetModuleHandle( "d3d9.dll"     ) != NULL 
     && GetModuleHandle( "ClientFX.fxd" ) != NULL 
     && GetModuleHandle( "CShell.dll"   ) != NULL )
        return true;

    return false;
}
void main()
{
	while (!IsGameReadyForHook()){
		Sleep(20);
	}
	bool boxes = false;
	bool fog = false;
	bool speed = false;
	bool spread = false;
	bool tracers = false;
	bool showfps = false;
	bool unlockcursor = false;
	bool drawgun = false;
	bool sjump = false;
	PushToConsole("FallDamageMinHeight 0.000000");
	PushToConsole("FallDamageMaxHeight 0.000000");
	PushToConsole("FallDamageMax 0.000000");
	while(true){
		if(GetAsyncKeyState(VK_NUMPAD1)<0){
			if(boxes){
				PushToConsole("ModelDebug_DrawBoxes 0");
				PushToConsole("SkelModelStencil 0");
				boxes = false;
			} else {
				PushToConsole("ModelDebug_DrawBoxes 1");
				PushToConsole("SkelModelStencil 1");
				boxes = true;
			}
		}
		if(GetAsyncKeyState(VK_NUMPAD2)<0){
			if(fog){
				PushToConsole("FogEnable 1");
				fog = false;
			} else {
				PushToConsole("FogEnable 0");
				fog = true;
			}
		}
		if(GetAsyncKeyState(VK_NUMPAD3)<0){
			if(speed){
				PushToConsole("BaseMoveAccel 3000.000000");
				PushToConsole("StartAccel 500.000000");
				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 3000.000000");
				PushToConsole("MaxAccel 3000.000000");
				PushToConsole("AccelInc 3000.000000");
				PushToConsole("WalkVel 3000.000000");
				PushToConsole("FRunVel 3000.000000");
		    	PushToConsole("BRunVel 3000.000000");
				PushToConsole("SRunVel 3000.000000");
				PushToConsole("DuckVel 3000.000000");
				speed = true;
			}
		}
		if(GetAsyncKeyState(VK_NUMPAD4)<0){
			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_NUMPAD5)<0){
			if(tracers){
				PushToConsole("ShowFirePath 0");
				tracers = false;
			} else {
				PushToConsole("ShowFirePath 1");
				tracers = true;
			}
		}
		if(GetAsyncKeyState(VK_NUMPAD6)<0){
			if(sjump){
				PushToConsole("JumpVel 330.000000");
				sjump = false;
			} else {
				PushToConsole("JumpVel 660.000000");
				sjump = true;
			}
		}
		if(GetAsyncKeyState(VK_NUMPAD7)<0){
			if(showfps){
				PushToConsole("ShowFps 0");
				showfps = false;
			} else {
				PushToConsole("ShowFps 1");
				showfps = true;
			}
		}
		if(GetAsyncKeyState(VK_NUMPAD8)<0){
			if(unlockcursor){
				PushToConsole("CursorCenter 1");
				unlockcursor = false;
			} else {
				PushToConsole("CursorCenter 0");
				unlockcursor = true;
			}
		}
		if(GetAsyncKeyState(VK_NUMPAD9)<0){
			if(drawgun){
				PushToConsole("drawguns 1");
				drawgun = false;
			} else {
				PushToConsole("drawguns 0");
				drawgun = true;
			}
		}
		if(GetAsyncKeyState(VK_UP)<0){
			PushToConsole("CamMaxPosYOffset 200.000000");
			PushToConsole("DuckDownCamOffSet 1000.000000");
		}
		if(GetAsyncKeyState(VK_DOWN)<0){
			PushToConsole("CamMaxPosYOffset -1000.000000");
			PushToConsole("DuckDownCamOffSet -13.000000");
		}
		if(GetAsyncKeyState(VK_ADD)<0){
			PushToConsole("PlayerGravity +800");
		}
		if(GetAsyncKeyState(VK_SUBTRACT)<0){
			PushToConsole("PlayerGravity -800");
		}
		if(GetAsyncKeyState(VK_MULTIPLY)<0){
			PushToConsole("PlayerGravity 0");
		}
		Sleep(200);
	}
}
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
					 )
{
	switch (ul_reason_for_call)
	{
	case DLL_PROCESS_ATTACH:
		CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
		break;
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}
#1 · 16y ago
Zoom
Zoom
This is already posted on mpgh.
/Closed
#2 · 16y ago
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

  • Hotkey Source codeBy EminemJr in Combat Arms Hack Coding / Programming / Source Code
    35Last post 15y ago
  • [RELEASE AND SOURCE CODE] HotKEY CheckerBy Dreamer in Visual Basic Programming
    21Last post 16y ago
  • [Release] WarHax DLL Source CodeBy OneWhoSighs in WarRock - International Hacks
    20Last post 18y ago
  • HALO 2 (XBOX) Source CodeBy mirelesmichael in General Game Hacking
    12Last post 20y ago
  • keylogger source codeBy obsedianpk in WarRock - International Hacks
    8Last post 18y ago

Tags for this Thread

None