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 7 - Black Ops Hacks & Cheats › Call of Duty Black Ops Coding, Programming & Source Code › Adding console commands to your hack

Adding console commands to your hack

Posts 1–9 of 9 · Page 1 of 1
Hell_Demon
Hell_Demon
Adding console commands to your hack
struct & function pointer
Code:
struct cCommand;
struct cCommand
{
	cCommand *prevCommand;     //0-4
	char *pCommandText;         //4-8
		char unknown002[8];     //8-16
	void *funcptr;              //16-20
		char unknown003[4];     //20-24
}; //size is 24

cCommand *(__stdcall *pAddCommand)(char *pCommandText, unsigned long *CommandFunction, cCommand *retval);
initializing the function pointer:
Code:
pAddCommand = (cCommand *(__stdcall *)(char *,unsigned long *,cCommand *))0x608A00;
Adding command example:
Code:
cCommand myToggleAimCmd;
void toggleaimbot(void)
{
    bAimbot = !bAimbot;
}

pAddCommand("toggleaimbot", &toggleaimbot, &myToggleAimCmd);
And here is the sig:
Code:
56 8B 74 24 08 56 E8 ?? ?? ?? ?? 83 C4 04 85 C0 74 19

\x56\x8B\x74\x24\x08\x56\xE8\x00\x00\x00\x00\x83\xC4\x04\x85\xC0\x74\x19
xxxxxxx????xxxxxxx
Have fun,
Hell

Edit: Found out the first unknown, which is prevCommand!
0x03EE64D4 holds a pointer to the last command that was added! you can use a loop to go all the way back to the first command added(which will have 0 as prevCommand)
#1 · edited 15y ago · 15y ago
Dave84311
[MPGH]Dave84311
Nice job
#2 · 15y ago
B4M
B4M
Thanks, I will talk to Dave about a coding section.
#3 · 15y ago
The Reaper
The Reaper
good job.. i think.... cus noone has relesed a hack... and then i think these are useless.... ? am im right ?
#4 · 15y ago
Blubb1337
Blubb1337
/moved 2 coding section
#5 · 15y ago
Insane
Insane
Woot woot good job =D
#6 · 15y ago
Skyline.
Skyline.
omg wow this info is better than gold,
i might actually be on to something lol.


THANKS!
#7 · 15y ago
GE
Gekkepop
I dont understand this, are this a hack or what?
#8 · 15y ago
Skyline.
Skyline.
Quote Originally Posted by Gekkepop View Post
I dont understand this, are this a hack or what?
these are all the little pieces that are what make hack's so unique.
#9 · 15y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • [SOLVED] Lookin fur nuke console command or hack?By dwcusterjr in Call of Duty Modern Warfare 2 Help
    10Last post 16y ago
  • [SOLVED]Anti - Afk * Hack / Console Command *By dwcusterjr in Call of Duty Modern Warfare 2 Help
    3Last post 16y ago
  • [Snippet]Console Command Hack [Box|Wireframe|Etc]By V3CT0R in CrossFire Hack Coding / Programming / Source Code
    20Last post 16y ago
  • Console Command Hack! No Fog ETC!By V3CT0R in Sudden Attack Hacks
    35Last post 15y ago
  • [Tutorial]Adding Glitcher to your hackBy NOOBJr in Combat Arms Hack Coding / Programming / Source Code
    55Last post 15y ago

Tags for this Thread

None