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 › SendCommandToConsole Offset 1.1.159, aiw2, 4d1

SendCommandToConsole Offset 1.1.159, aiw2, 4d1

Posts 1–3 of 3 · Page 1 of 1
98
98MustangGt
SendCommandToConsole Offset 1.1.159, aiw2, 4d1
ive been looking for this 24 hours now,,, i still dont understand the asm in the function,, i got function for mp and was moding the offset,, i gotta re write the function for sp executable?

This is Singleplayer, been slowly learning how to hack games,, only been in c++ bout 2 months but did vb and c# so im catching on fast
#1 · edited 13y ago · 13y ago
98
98MustangGt
Quote Originally Posted by 98MustangGt View Post
ive been looking for this 24 hours now,,, i still dont understand the asm in the function,, i got function for mp and was moding the offset,, i gotta re write the function for sp executable?

This is Singleplayer, been slowly learning how to hack games,, only been in c++ bout 2 months but did vb and c# so im catching on fast
heres what i have

004EF5D5 68 3C0D6B00 PUSH iw4sp.006B0D3C ; ASCII "stoprecord"
004EF5DA E8 21A6FEFF CALL iw4sp.004D9C00 <--------My Offset i beleive
004EF5DF 68 AC896900 PUSH iw4sp.006989AC ; ASCII "setenv"
004EF5E4 E8 17A6FEFF CALL iw4sp.004D9C00
004EF5E9 68 54576B00 PUSH iw4sp.006B5754 ; ASCII "fs_openedList"
004EF5EE E8 0DA6FEFF CALL iw4sp.004D9C00
004EF5F3 68 D8CA6B00 PUSH iw4sp.006BCAD8 ; ASCII "fs_referencedList"
004EF5F8 E8 03A6FEFF CALL iw4sp.004D9C00
004EF5FD 83C4 40 ADD ESP,40


void PushToConsole(char* Cmd)
{
__asm
{
push Cmd
push 0
mov esi, 0x004D9C00
call esi
add esp, 0x40
}
}

been tring differnt ways.. can anyone explain this to me?
#2 · 13y ago
MarkHC
MarkHC
Learn asm... besides, this was already answered on the other forum where you posted this... Just gonna quote for someone that might have the same problem:

Quote Originally Posted by BaberZz
Code:
add esp, 0Ch
3 arguments ... if you don't know basics of asm, why not typedef it?
Code:
typedef void ( __cdecl* oSendCommandToConsole ) ( int a1, int a2, const char* cmd );
oSendCommandToConsole SendCommandToConsole = ( oSendCommandToConsole ) 0x46AFD0;
/Closed
#3 · 13y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

  • OffsetsBy radnomguywfq3 in Visual Basic Programming
    2Last post 19y ago
  • Offset addressesBy thomtim in WarRock - International Hacks
    0Last post 18y ago
  • CombatArms addys pointers & offsets?By nitro107 in Combat Arms Hacks & Cheats
    4Last post 18y ago
  • offsetsBy silent1990 in Combat Arms Hacks & Cheats
    0Last post 17y ago
  • need help with offset problemBy qplazm in General Game Hacking
    1Last post 17y ago

Tags for this Thread

None