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 9 - Black Ops 2 (BO2) Hacks & Cheats › Call of Duty Black Ops 2 Coding, Programming & Source Code › BO2 Memory Class [VB]

BO2 Memory Class [VB]

Posts 16–25 of 25 · Page 2 of 2
Horror
Horror
Quote Originally Posted by abdulmailk View Post
how to use ??
Learn to code
This is for coders/hack creators only
#16 · 13y ago
zolferno
zolferno
nice :P i might have to release my version in C++ as have already released vb source :L and you've done C# as well xD
#17 · 13y ago
Horror
Horror
Quote Originally Posted by zolferno View Post
nice :P i might have to release my version in C++ as have already released vb source :L and you've done C# as well xD
As far as i know we dont have a memory class in C++ yet ?
Need to check doh
#18 · 13y ago
aIW|Convery
aIW|Convery
Quote Originally Posted by Isaakske View Post

As far as i know we dont have a memory class in C++ yet ?
Need to check doh
Because mem editing in C++ is not as obscure as C#? =P

But if the kids need a class..
Code:
class Memory
{
	HANDLE Process;
	
public:
	Memory(const char* Windowname)
	{
		HWND hwnd;
		DWORD ProcessID;

		while(!(hwnd = FindWindow(Windowname, NULL)))
			if(hwnd = FindWindow(NULL, Windowname))
				break;
			else
				Sleep(10);

		while(!(GetWindowThreadProcessId(hwnd,&ProcessID)))
			Sleep(10);

		while(!(Process = OpenProcess(PROCESS_ALL_ACCESS,false,ProcessID)))
			Sleep(10);
	}
	bool Write(void *Address, void *Value)
	{
		return WriteProcessMemory(Process, Address, Value, sizeof(Value), 0);
	}
	bool Read(void *Address, void *Buffer, size_t Length)
	{
		return ReadProcessMemory(Process, Address, Buffer, Length, 0);
	}
};
#19 · edited 13y ago · 13y ago
Geomatrical the 7th
Geomatrical the 7th
Quote Originally Posted by Jorndel View Post
<Runtime.InteropServices.DllImport("kernel32.dll") > _
Private Shared Function CloseHandle(hObject As IntPtr) As Boolean
End Function
Theres no handle to close so why even have the function .
#20 · 13y ago
zolferno
zolferno
Quote Originally Posted by aIW|Convery View Post
Because mem editing in C++ is not as obscure as C#? =P

But if the kids need a class..
Code:
class Memory
{
	HANDLE Process;
	
public:
	Memory(const char* Windowname)
	{
		HWND hwnd;
		DWORD ProcessID;

		while(!(hwnd = FindWindow(Windowname, NULL)))
			if(hwnd = FindWindow(NULL, Windowname))
				break;
			else
				Sleep(10);

		while(!(GetWindowThreadProcessId(hwnd,&ProcessID)))
			Sleep(10);

		while(!(Process = OpenProcess(PROCESS_ALL_ACCESS,false,ProcessID)))
			Sleep(10);
	}
	bool Write(void *Address, void *Value)
	{
		return WriteProcessMemory(Process, Address, Value, sizeof(Value), 0);
	}
	bool Read(void *Address, void *Buffer, size_t Length)
	{
		return ReadProcessMemory(Process, Address, Buffer, Length, 0);
	}
};
:L it seems i need to make a more in depth one then xD
#21 · 13y ago
TO
TonyMane123
How do i write a string, i want to add a name changer option for my Trainer im making
#22 · 13y ago
LO
Lovroman
Quote Originally Posted by TonyMane123 View Post
How do i write a string, i want to add a name changer option for my Trainer im making
Code:
If Process_Handle("t6mp") Then
WriteString(Address, Value)
End If
#23 · 13y ago
Coolhead17
Coolhead17
Awesome been looking for this! Cheers,
#24 · 13y ago
H4X0RL33T
H4X0RL33T
Please help!
i have Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
WriteFloat("t6mpv43", &H2370E58, 2)
Timer2.Start()
End Sub

I AM RUNNING T6MPV43 (BO2 REDACTED)
but i get Failed to open t6mpv43 PLEASE HELP! WHEN I HACKED ZOMBIES WITH THIS MEMORYCLASS IT WORKED FINE
#25 · 9y ago
Posts 16–25 of 25 · Page 2 of 2

Post a Reply

Similar Threads

  • C# Memory Class (Writen by Jorndel)By Jorndel in Call of Duty Modern Warfare 3 Coding, Programming & Source Code
    12Last post 7y ago
  • VB.Net Memory Class (Writen by Jorndel)By Jorndel in Call of Duty Modern Warfare 3 Coding, Programming & Source Code
    25Last post 8y ago
  • c# memory classBy xXFleshpoundXx in C# Programming
    8Last post 13y ago
  • memory classBy Coper in Call of Duty Black Ops 2 Help
    5Last post 13y ago
  • Memory Hack base Using Classes Help I Don't Get ItBy kmanev073 in CrossFire Hack Coding / Programming / Source Code
    10Last post 14y ago

Tags for this Thread

None