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 › Call of Duty Hacks & Cheats › Call of Duty 6 - Modern Warfare 2 (MW2) Hacks › Call of Duty Modern Warfare 2 Help › Hot Keys Increment FoV Value

Hot Keys Increment FoV Value

Posts 1–4 of 4 · Page 1 of 1
LEGiiTxCHAOTiiC
LEGiiTxCHAOTiiC
Hot Keys Increment FoV Value
So for my C++ FoV Changer, I want to be able to press VK_PRIOR to increment the field of view value by 5 each time it is pressed. Vice versa for VK_NEXT. The address I write to each increment are: 0x063FB5C0 and 0x063FB5D0

Also, the default will be 80 so when you press VK_PRIOR it boosts it up to 85 the first time you press it, then the second time you press it, you get 90. Vice versa for VK_NEXT, Press once to get 75, again for 70 etc. If you could help me, I'd appreciate it very much. Thanks
#1 · 14y ago
LEGiiTxCHAOTiiC
LEGiiTxCHAOTiiC
EDIT: I worded that HORRIBLY. In simpler terms, I want it so when I press Page Up key, it boosts the degrees of field of view by 5, and when I press Page Down, it decrements the degrees of field of view by 5.
#2 · 14y ago
intervention61
intervention61
Code:
float CurrentFOV;
ReadProcessMemory( hProcess, FOVAddress, &CurrentFOV, 4, NULL );

switch( KeyPressed )
{
	case VK_PRIOR:

		CurrentFOV += 5.f;
		break;

	case VK_NEXT:

		CurrentFOV -= 5.f;
		break;

	default:

		break;
}

WriteProcessMemory( hProcess, FOVAddress, &CurrentFOV, 4, NULL );
#3 · 14y ago
LEGiiTxCHAOTiiC
LEGiiTxCHAOTiiC
Quote Originally Posted by intervention61 View Post
Code:
float CurrentFOV;
ReadProcessMemory( hProcess, FOVAddress, &CurrentFOV, 4, NULL );

switch( KeyPressed )
{
	case VK_PRIOR:

		CurrentFOV += 5.f;
		break;

	case VK_NEXT:

		CurrentFOV -= 5.f;
		break;

	default:

		break;
}

WriteProcessMemory( hProcess, FOVAddress, &CurrentFOV, 4, NULL );
Thank you, I got it all working now, except for KeyPressed... I know it may seem completely obvious but I'm missing it. What do I do with it? What type of variable is it?
#4 · 14y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • Hot Keys And ValuesBy valakas in C++/C Programming
    4Last post 14y ago
  • hot keysBy jesussoto100 in Combat Arms Help
    11Last post 17y ago
  • Hot KeysBy nub_g0t_high in Visual Basic Programming
    3Last post 18y ago
  • hot keysBy jesussoto100 in Combat Arms Hacks & Cheats
    7Last post 17y ago
  • [REQUEST][IDEA]CA Spammer w/ Hot KeysBy Pixie in Combat Arms Discussions
    9Last post 17y ago

Tags for this Thread

#4d1#c++#fdo#fourdeltaone#fov#hotkeys#mw2