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 8 - Modern Warfare 3 (MW3) Hacks & Cheats › Call of Duty Modern Warfare 3 Coding, Programming & Source Code › VB Read String from memory

VB Read String from memory

Posts 1–4 of 4 · Page 1 of 1
WA
waffl95
VB Read String from memory
Hello, just tried to Read all players, I tried to add a own Function but it Always throw a NullpointerException could some one help me?
I use the Modul from this site [Removed from author]
#1 · edited 13y ago · 13y ago
KE
Kenshin13
No external links.
Also A nullpointer error happens when you don't create an object for the class first.

Code:

MemoryModule memMod = new MemoryModule();
#2 · 13y ago
MarkHC
MarkHC
Quote Originally Posted by Kenshin13 View Post
No external links.
Also A nullpointer error happens when you don't create an object for the class first.

Code:

MemoryModule memMod = new MemoryModule();
Usually, Visual Studio won't even let your code be compiled if he need to create an instance of the object, so I believe that's not the problem. Just debug your code.. you're not setting a value appropriately... You should be able to see it if you coded it.
#3 · 13y ago
WA
waffl95
I always get a Null Pointer Exception here
cbFrost2Player1.Text = ReadString(MW3(0), &HA12A70)
I added this to the Modul

Public RBuffString(20) As Byte
Public returnString As String

Public Function ReadString(ByVal ProcessName As Process, ByVal Address As Integer)

Dim GameLookUp As Process() = Process.GetProcessesByName(ProcessName.ProcessName )

If GameLookUp.Length = 0 Then

End

End If

Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, GameLookUp(0).Id)

ReadProcessMemory(processHandle, Address, RBuffString(0), 20, Nothing)

returnString = System.Text.Encoding.ASCII.GetString(RBuffString)


CloseHandle(processHandle)

Return returnString

End Function
I have a button which freez my ammo and he works fine so MW3(0) shoulden't be null
And I don't know why q.q only coded a lot with jave befor

Got it to work
@-InSaNe- @Nachos solved
#4 · edited 13y ago · 13y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • [Help]Reading Stacks from memory using VB.netBy euverve in Visual Basic Programming
    2Last post 15y ago
  • Read Integer From Selected Memory AddressBy vineeee in Visual Basic Programming
    3Last post 14y ago
  • [vb6] How do i read a float from memory(pointer+offset)+how to use multilevelpointerBy freitag in Visual Basic Programming
    5Last post 17y ago
  • Oh shit, read this from NexonBy oda in Combat Arms Hacks & Cheats
    46Last post 17y ago
  • Fixes for various Errors, Read!(straight from Nexon Forums)By mariokiller64 in Combat Arms Hacks & Cheats
    9Last post 18y ago

Tags for this Thread

None