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 › Programming Tutorials › Memory Editor

Memory Editor

Posts 1–15 of 24 · Page 1 of 2
BR
brhvitor6
Memory Editor
Hey guys i'm new in the forum and i like to share one of my works (this is used to off-line games)


Downloads

First you'll need the Visual Studio 2010 (or 2008)
And my DLL (with the functions): At the end of post | Scan
And the CE 6.1 by DarkByte Download

Creating the project

After download the VS create a new Windows Forms Application.


Click in Save All... (or Ctrl + Shift + S), Press OK, Go to Documents > Visual Studio 2010 > Project > *Name of your poject* > *Name of your poject* > Bin > Debug And plaste the DLL here

Now lets import the DLL go to: Project > Add Reference...


Now Click in Browse then go to your Project folder > Bin > Debug and Double-Click in DLL


Start the programming

Double-Click in your Form, now import let's put the DLL in the project:


Now we go to create the function of DLL


Code:
Memorys mem = new Memorys("Your process");
Pointers, Address and CE

First find the address who contains the value of your need, Right click on it and Click on Pointer Scan for this Address


Now click in OK, Choose one local to save the table of Pointers

Selelect one of the list (Double-Click), and close the Pointer Scanner


If you click on the address in your address list you'll se the address's and the offset's of the Adress.


(Take a picture of this "table" or just let the CE open to the next step)

Modules, Pointer Calcule and Final Address

Back to the VS, now we can bring this informations to ouer trainer.

Frist on Form1 Load we will make the address calcule.

If you look very (very) closer will see that one of the values are a text and not a Hex, that's because it's a module and a module has a Base Address
(in my case "minesweeper.exe" + 000824AC)

To calcule this base address we will use the first function of my DLL

Code:
uint base_address = mem.baseaddress("minesweeper.exe");
(uint its the variable type, base_address it's the name of variable , mem.baseaddress it's the function and minesweeper.exe it's the name of module)

But in the CE it's "minesweeper.exe" + 000824AC, well now we need to add this value to the base_address, like this:


Don't forget of the 0x before the value.

Now we got the base address of the module, now we will set the offset's

When we found the pointer did you noticed of a second colun who contais small numbers?


Put their in order like in my code:


Another pic to help you


Code:
    uint base_address = mem.baseaddress("minesweeper.exe");
    base_address = base_address + 0x000824AC;
    uint address = (uint)mem.ReadPointer(base_address) + 0x6a4;
    address = (uint)mem.ReadPointer(address) + 0x4b4;
    address = (uint)mem.ReadPointer(address) + 0x98;
    address = (uint)mem.ReadPointer(address) + 0x94;
    address = (uint)mem.ReadPointer(address) + 0x4;
You can see if you calc is correct whth:
Code:
MessageBox.Show(address.ToString("x"));
The X transforms to Hex, now just compare to the CE

Writing and Reading the Address

To Write:
Code:
mem.Write(address, 10);
The "10" it's the new value (just int)

To Read:
Code:
mem.ReadPointer(address);
Retrun int but you can use:
Code:
mem.ReadPointer(address).ToString();
To write in a label or wathaver

And to read a string:
Code:
mem.ReadString(address).ToString();
That's all guys i hope you like and help whith your's hack's.

Credits: brhvitor6
memory_control.rar
#1 · edited 14y ago · 14y ago
Hassan
Hassan
Zip and upload the DLL to MPGH by editing your post. Then add a virus scan of the zip and append to your post.

Edit: Since this is in C#, I will check your DLL for malicious code. Be sure you do not obfuscate (protect) it.
#2 · edited 14y ago · 14y ago
BR
brhvitor6
Ok, the DLL it'snot protected.. Now i'll upload the dll on mpgh
Edit---
Ready
#3 · edited 14y ago · 14y ago
Hassan
Hassan
Quote Originally Posted by brhvitor6 View Post
Ok, the DLL it'snot protected.. Now i'll upload the dll on mpgh
Edit---
Ready
Alright. Approved !

GJ !
#4 · 14y ago
Paul
Paul
@Hassan if this is C#, shouldn't this be in C# Programming - MPGH - MultiPlayer Game Hacking ? just wondering..
#5 · 14y ago
Hell_Demon
Hell_Demon
Because C# section is dead as fuck and noone actually visits it. We've allowed C# releases in here before.
#6 · 14y ago
JU
JustTrollin
Quote Originally Posted by Hell_Demon View Post
Because C# section is dead as fuck and noone actually visits it. We've allowed C# releases in here before.
Thank you for explaining that.
#7 · 14y ago
CA
cabalsync
freeze memory value
I tried to do a loop with the function "mem.write", but the application hangs and stays "not responding"

private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
uint base_address = mem.baseaddress("process.exe");
base_address = base_address + 0x00125150;
uint address = (uint)mem.ReadPointer(base_address) + 0x74;
while (checkBox1.Checked == true)
{
mem.Write(address, 1);
}
}

this loop to work as freeze value in the address

u help me?
#8 · edited 14y ago · 14y ago
Broderick
Broderick
Quote Originally Posted by cabalsync View Post
I tried to do a loop with the function "mem.write", but the application hangs and stays "not responding"

private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
uint base_address = mem.baseaddress("process.exe");
base_address = base_address + 0x00125150;
uint address = (uint)mem.ReadPointer(base_address) + 0x74;
while (checkBox1.Checked == true)
{
mem.Write(address, 1);
}
}

this loop to work as freeze value in the address

u help me?
You've just consumed all the thread resources by putting that code in an infinite loop. The application cannot update or respond because its thread is currently stuck repeating your "freeze". You have a few options here, either put your freeze code in a BackgroundWorker (or another thread), or assign it to a timer. Never use large-volume while-loops in your main application's thread, it will lock the application up until it finishes the loop. Seeing as the application is now locked, you can never toggle the checkbox, essentially making this an infinite loop.
#9 · 14y ago
'Bruno
'Bruno
In another words, your application is not drawing the user interface nor checking the controls, etc... (Its stuck there)
#10 · 14y ago
pDevice
pDevice
good job
#11 · edited 14y ago · 14y ago
ST
stevonator
EDIT: nvm, i was wrong so nvm this post

good job dude, thx a lot

EDIT 2
if i do MessageBox.Show(mem.ReadString(address).ToString() );
it just gives an empty messagebox, and if i do the readpointer i do get the right value...

EDIT 3
always if i do with ce, i get the same pointer, and if i do with c# the MessageBox.Show(address.ToString("x"));
isn't the same ?
here's what i've got: ce gives 08AA6D50 and c# gives 08AA6DA6
#12 · edited 14y ago · 14y ago
univex
univex
Its great library, thanks alot!
#13 · 13y ago
Jhem
Jhem
W0w! THis IS Very Good Job!
#14 · 13y ago
BR
brhvitor6
thx guys.. i'm working on the second version
#15 · 13y ago
Posts 1–15 of 24 · Page 1 of 2

Post a Reply

Similar Threads

  • Memory editor?By Allexa2 in Combat Arms Hacks & Cheats
    19Last post 17y ago
  • Undetect memory editor but hav virusBy epan96 in Mission Against Terror Discussions
    0Last post 13y ago
  • does anyone have a memory editor?By mastermods in Combat Arms Hack Coding / Programming / Source Code
    12Last post 16y ago
  • Extreme Memory EditorBy master131 in Visual Basic Programming
    41Last post 15y ago
  • Extreme Memory Editor v2By master131 in Visual Basic Programming
    9Last post 15y ago

Tags for this Thread

None