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 › Programming › C++/C Programming › Reading Memory Problem / If

Reading Memory Problem / If

Posts 1–4 of 4 · Page 1 of 1
intervention61
intervention61
Reading Memory Problem / If
ok, the address is correct, have tested it, it doesnt do what its supposed to, for all maps it just says current map is rust even tho if im not on rust.

Help pls how do i get this to work

Code:
char* MapName = (char*)0x08F11F8;
                if( MapName = "mp_rust" ) {
                    SendCommandToConsole("say ^3NEXT MAP IS WASTELAND");
                } else if( MapName == "mp_highrise") {
                    SendCommandToConsole("say ^3CURRENT MAP IS HIGHRISE");
                } else if( MapName == "mp_boneyard") {
                    SendCommandToConsole("say ^3CURRENT MAP IS SCRAPYARD");
                }
#1 · 15y ago
KI
kibbles18
that address probably is static and holds only mp_rust. i think u got the wrong address
#2 · 15y ago
master131
[MPGH]master131
Current map in MW2 (char[64] array) - CGS_T + 0x14C.

Assuming your trying to hack AlterIW:
Code:
// AlterIW: CGS_T - 0x7F0C78
// Steam: CGS_T - 0x7F1CF8
char mapName[64];
int addy_mapName = 0x7F0C78 + 0x14C;
for(int i = 0; i < 64; i++)
     mapName[i] = (char)(addy_mapName + i);
// Some craps like that, there's probably a better way to read
// an array on an injected DLL
#3 · edited 15y ago · 15y ago
intervention61
intervention61
nvm, its working now
ty.
Code:
char* MapName = (char*)0x08F11F8;
                if (strcmp(MapName,"mp_rust") == 0 ) {
                    SendCommandToConsole("say ^3NEXT MAP IS WASTELAND");
				} else if (strcmp(MapName,"mp_highrise") == 0 ) {
                    SendCommandToConsole("say ^3CURRENT MAP IS HIGHRISE");
				} else if (strcmp(MapName,"mp_boneyard") == 0 ) {
                    SendCommandToConsole("say ^3CURRENT MAP IS SCRAPYARD");
                }
#4 · 15y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • Ventrilo Read MemoryBy Imperceptus in General Game Hacking
    0Last post 18y ago
  • [Request] Write/Read Memory TutorialBy Infection_X in Visual Basic Programming
    1Last post 18y ago
  • [READ] Attachment Problems!By cyanmage in Suggestions, Requests & General Help
    3Last post 17y ago
  • Some Memory Problem 01xffff05By Rhynn0 in Combat Arms Help
    3Last post 16y ago
  • Memory problem plz help!!!By dubs in General
    12Last post 16y ago

Tags for this Thread

None