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 Coding / Programming / Source Code › name console command = crash

name console command = crash

Posts 1–5 of 5 · Page 1 of 1
WI
winberg
name console command = crash
Hello

Im trying to send the command "name anything" to the alteriwnet console but every time it results in a crash. It seems like all the commands except the name command works any idea why? I need this command to work becuse i am working on a name stealer which do work but i have to type the command in console manually to refresh the name.

this is the SendCommandToConsole im using:

Code:
void (__cdecl *SendCommandToConsole)(int a1,int a2,char *cvar)=(void (__cdecl *)(int,int,char *))0x0446DD0;

Thank you, and im sorry for my bad engelish
#1 · 15y ago
♪~ ᕕ(ᐛ)ᕗ
♪~ ᕕ(ᐛ)ᕗ
I readed somewhere that you have to disable the Cheat Write Protected to make the SendCommandToConsole function works.
#2 · 15y ago
WI
winberg
Quote Originally Posted by Play&Win View Post
I readed somewhere that you have to disable the Cheat Write Protected to make the SendCommandToConsole function works.
Thanks i will take a look at that

Edit:
I dont think it is that beacuse i can use the command if i type it directly in the console but if i Send it the game crashes


Edit2:
I solved it

Code:
SendCommandToConsole(1,1, "name anything")

Thank you Play&Win you got me thinking in the right direction. Expect a namestealer & changer in a couple of days
#3 · edited 15y ago · 15y ago
♪~ ᕕ(ᐛ)ᕗ
♪~ ᕕ(ᐛ)ᕗ
Quote Originally Posted by winberg View Post
Thanks i will take a look at that

Edit:
I dont think it is that beacuse i can use the command if i type it directly in the console but if i Send it the game crashes


Edit2:
I solved it, instead of

Code:
SendCommandToConsole(1,1, "name anything")
use this

Code:
SendCommandToConsole(1,1, "say_console name anything");
Thank you Play&Win you got me thinking in the right direction. Expect a namestealer & changer in a couple of days
Glad to helped you. But when I mean that you have to patch the cheat write protected, I mean that you shud do it to send commands from ur DLL or app to the console. Anyways I'm here to help
#4 · 15y ago
WI
winberg
that is what i am doing but the command wasent cheat, write protected the command just caused the game to crash
#5 · 15y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Tags for this Thread

None