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 › Problem with memory editing.

QuestionProblem with memory editing.

Posts 1–3 of 3 · Page 1 of 1
tdct
tdct
Problem with memory editing.
I always have run into trouble when I try to mem edit using values stored in an array, if someone could point me in the right direction it would be wonderful:
(I'm not posting the base, but it works so that's not an issue) Also there are allot of bytes, but I just copy and pasted from cheat engine and made an autohotkey script to add the 0x and ','.



Code:
DWORD WINAPI MAIN(LPVOID lpParam){
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");

BYTE main[436];
BYTE noobAcc [436] = { n/a };
DWORD account = CShell + (DWORD)0xFFFFFF; //that's not the actual offset, I just didn't feel like it being leeched

while(exit == false);
{

  if(GetAsyncKeyState(VK_F5))
  {
	 
	 DWORD j=0;
	 for(j=0; j < 436; j++)
	 {
		main[j] = *(BYTE*)(account+j);
	 }
	 Sleep(100);
	 for(j=0; j < 436; j++)
	 {
		 *(BYTE*)(account+j) = noobAcc[j];
	 }
	 Sleep(1000); //10 second sleep to go back to server select
	 for(j=0; j < 436; j++)
	 {
		 *(DWORD*)(account+j) = main[j];
	 }
  }

 return 0;
}
}
#1 · edited 15y ago · 15y ago
FO
Fovea
  • There's this wonderful function called memcpy.
  • 1000 milliseconds is not 10 seconds.
  • Your return statement is within the while loop.
#2 · edited 15y ago · 15y ago
tdct
tdct
Quote Originally Posted by Fovea View Post
  • There's this wonderful function called memcpy.
  • 1000 milliseconds is not 10 seconds.
  • Your return statement is within the while loop.
@Fovea I edited it from the post box so I wouldn't put too much, so if things are a bit off that's probably why. I've heard of memcpy, I'll look into it, thanks. And thanks I didn't realize I left off a 0

Edit: works now, thanks
#3 · edited 15y ago · 15y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

  • Problem with texture editingBy okiba93 in Combat Arms Mod Discussion
    1Last post 16y ago
  • Problem(with login)By 22061988 in WarRock - International Hacks
    3Last post 19y ago
  • Memory editing Last chaos?By Darkendnox in General Game Hacking
    3Last post 19y ago
  • Problem With The New Pb Hw Ban Spoofer!By naomelembro14 in WarRock - International Hacks
    5Last post 19y ago
  • Problem with trainers mades for CE, help me plsBy juanitobalde in General Game Hacking
    0Last post 19y ago

Tags for this Thread

None