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 › Visual Basic Programming › [Help]Write memory[Solved]

[Help]Write memory[Solved]

Posts 1–6 of 6 · Page 1 of 1
pyton789
pyton789
[Help]Write memory[Solved]
SOLVED
Hey I get an error I have newer seen before when I try to write memory
Screenshot:


"D" can no longer be used to indicate an exponent, use "E" instead.

What the f*** does that mean?

I created my module with Phenix Undetected Module Maker and I have used it in many other trainers too. I have no idea why it stopped working.
Module:
Code:
Module Module1
    Private Declare Function KGCDGTJAWN Lib "kernel32" Alias "OpenProcess" (ByVal dwDesiredAccess As Integer, ByVal bInheritHandle As Integer, ByVal dwProcessId As Integer) As Integer
    Private Declare Function XGYCUGJWNY Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
    Private Declare Function FPUZNYCHAH Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Single, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As IntegModule Module1
    Private Declare Function KGCDGTJAWN Lib "kernel32" Alias "OpenProcess" (ByVal dwDesiredAccess As Integer, ByVal bInheritHandle As Integer, ByVal dwProcessId As Integer) As Integer
    Private Declare Function XGYCUGJWNY Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
    Private Declare Function FPUZNYCHAH Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Single, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
    Private Declare Function JRJVQUWGWR Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As IntPtr, ByVal lpBaseAddress As IntPtr, ByRef buffer As Single, ByVal size As Int32, ByRef lpNumberOfBytesRead As Int32) As Boolean
    Private Declare Function ICZQYVKUOB Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
    Private Declare Function EFJKPZAUQL Lib "kernel32" Alias "CloseHandle" (ByVal hObject As Integer) As Integer
    Public Declare Function URTCMJIKNU Lib "user32" Alias "GetAsyncKeyState" (ByVal vKey As Long) As Integer

    Dim GWXUSXTOUE As Long
    Dim GYWCPXLNGO As Single
    Dim KEUSKTQTTY As Integer

    Private string1 As Long
    Private string2 As Integer

    'WriteMemory
    Public Function OIBGHGEJUO(ByVal ITSGLVPNZG As Integer, ByVal DAKUVAQVRQ As Long, ByVal MFXXWRYZOA As Integer)
        Dim UUSLJJBKZE As Process() = Process.GetProcessesByName("BlackOps")
        If UUSLJJBKZE.Length = 0 Then
            End
        End If
        Dim KCUKNTYTGO As IntPtr = KGCDGTJAWN(&H1F0FFF, 0, UUSLJJBKZE(0).Id)
        XGYCUGJWNY(KCUKNTYTGO, ITSGLVPNZG, DAKUVAQVRQ, MFXXWRYZOA, Nothing)
        EFJKPZAUQL(KCUKNTYTGO)
        Return False
    End Function

    'ReadFloat
    Public Function RYGKMMXSWQ(ByVal ITSGLVPNZG As Single)
        Dim UUSLJJBKZE As Process() = Process.GetProcessesByName("BlackOps")
        If UUSLJJBKZE.Length = 0 Then
            MsgBox("CoD was not found", MsgBoxStyle.Information, "M-efti's Trainer - Error")
            End
        End If
        Dim KCUKNTYTGO As IntPtr = KGCDGTJAWN(&H1F0FFF, 0, UUSLJJBKZE(0).Id)
        ICZQYVKUOB(KCUKNTYTGO, ITSGLVPNZG, GWXUSXTOUE, 4, Nothing)
        EFJKPZAUQL(KCUKNTYTGO)
        Return GWXUSXTOUE
    End Function

    'WriteFloat
    Public Function JYRXFUZNYB(ByVal ITSGLVPNZG As Integer, ByVal DAKUVAQVRQ As Single)
        Dim UUSLJJBKZE As Process() = Process.GetProcessesByName("BlackOps")
        If UUSLJJBKZE.Length = 0 Then
            MsgBox("CoD was not found", MsgBoxStyle.Information, "M-efti's Trainer - Error")
            End
        End If
        Dim KCUKNTYTGO As IntPtr = KGCDGTJAWN(&H1F0FFF, 0, UUSLJJBKZE(0).Id)
        FPUZNYCHAH(KCUKNTYTGO, ITSGLVPNZG, DAKUVAQVRQ, 4, Nothing)
        EFJKPZAUQL(KCUKNTYTGO)
        Return False
    End Function

    'ReadLong
    Public Function LMFZLSBGQK(ByVal ITSGLVPNZG As Integer)
        Dim UUSLJJBKZE As Process() = Process.GetProcessesByName("BlackOps")
        If UUSLJJBKZE.Length = 0 Then
            MsgBox("CoD was not found", MsgBoxStyle.Information, "M-efti's Trainer - Error")
            End
        End If
        Dim KCUKNTYTGO As IntPtr = KGCDGTJAWN(&H1F0FFF, 0, UUSLJJBKZE(0).Id)
        ICZQYVKUOB(KCUKNTYTGO, ITSGLVPNZG, GWXUSXTOUE, 4, Nothing)
        EFJKPZAUQL(KCUKNTYTGO)
        Return GWXUSXTOUE
    End Function

    'ReadFloatPointer
    Public Function UNLJTJYDXU(ByVal RDFAGMHRVL As Integer, ByVal QKNCVNKXXV As Short)
        Dim FNURQYKINX As Long
        Dim UUSLJJBKZE As Process() = Process.GetProcessesByName("BlackOps")
        If UUSLJJBKZE.Length = 0 Then
            MsgBox("CoD was not found", MsgBoxStyle.Information, "M-efti's Trainer - Error")
            End
        End If
        Dim KCUKNTYTGO As IntPtr = KGCDGTJAWN(&H1F0FFF, 0, UUSLJJBKZE(0).Id)
        ICZQYVKUOB(KCUKNTYTGO, RDFAGMHRVL, GWXUSXTOUE, 4, Nothing)
        FNURQYKINX = GWXUSXTOUE + QKNCVNKXXV
        JRJVQUWGWR(KCUKNTYTGO, FNURQYKINX, GYWCPXLNGO, 4, Nothing)
        Return GYWCPXLNGO
        EFJKPZAUQL(KCUKNTYTGO)
    End Function

    'ReadLongPointer
    Public Function HSOBAWIGEE(ByVal RDFAGMHRVL As Integer, ByVal QKNCVNKXXV As Short, ByVal MFXXWRYZOA As Integer)
        Dim FNURQYKINX As Long
        Dim UUSLJJBKZE As Process() = Process.GetProcessesByName("BlackOps")
        If UUSLJJBKZE.Length = 0 Then
            MsgBox("CoD was not found", MsgBoxStyle.Information, "M-efti's Trainer - Error")
            End
        End If
        Dim KCUKNTYTGO As IntPtr = KGCDGTJAWN(&H1F0FFF, 0, UUSLJJBKZE(0).Id)
        ICZQYVKUOB(KCUKNTYTGO, RDFAGMHRVL, GWXUSXTOUE, 4, Nothing)
        FNURQYKINX = GWXUSXTOUE + QKNCVNKXXV
        ICZQYVKUOB(KCUKNTYTGO, FNURQYKINX, KEUSKTQTTY, MFXXWRYZOA, Nothing)
        Return KEUSKTQTTY
        EFJKPZAUQL(KCUKNTYTGO)
    End Function
    'ReadLong2
    '    Public Function ReadLong(ByVal Base As Integer, ByVal Bytes As Integer, ByRef lpBuffer As Integer)
    '        Dim fullAddress As Long
    '        Dim BlackOpsLookUp As Process() = Process.GetProcessesByName("BlackOps")
    '        If BlackOpsLookUp.Length = 0 Then
    '            MsgBox("CoD was not found", MsgBoxStyle.Information, "M-efti's Trainer - Error")
    '            End
    '        End If
    '        Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, BlackOpsLookUp(0).Id)
    '        ReadProcessMemory(processHandle, Base, RBuff1, 4, Nothing)
    '        fullAddress = RBuff1 + Offset
    '        ReadProcessMemory(processHandle, fullAddress, RBuff3, Bytes, Nothing)
    '        Return RBuff1
    '        CloseHandle(processHandle)
    '    End Function

    'WriteFloatPointer
    Public Function OFSRMPMZGN(ByVal RDFAGMHRVL As Integer, ByVal QKNCVNKXXV As Short, ByVal DAKUVAQVRQ As Single)
        Dim FNURQYKINX As Long
        Dim UUSLJJBKZE As Process() = Process.GetProcessesByName("BlackOps")
        If UUSLJJBKZE.Length = 0 Then
            MsgBox("CoD was not found", MsgBoxStyle.Information, "M-efti's Trainer - Error")
            End
        End If
        Dim KCUKNTYTGO As IntPtr = KGCDGTJAWN(&H1F0FFF, 0, UUSLJJBKZE(0).Id)
        ICZQYVKUOB(KCUKNTYTGO, RDFAGMHRVL, GWXUSXTOUE, 4, Nothing)
        FNURQYKINX = GWXUSXTOUE + QKNCVNKXXV
        FPUZNYCHAH(KCUKNTYTGO, FNURQYKINX, DAKUVAQVRQ, 4, Nothing)
        EFJKPZAUQL(KCUKNTYTGO)
        Return False
    End Function

    'WriteLongPointer
    Public Function SLQHHLRESX(ByVal RDFAGMHRVL As Integer, ByVal QKNCVNKXXV As Short, ByVal DAKUVAQVRQ As Long, ByVal MFXXWRYZOA As Integer)
        Dim FNURQYKINX As Long
        Dim UUSLJJBKZE As Process() = Process.GetProcessesByName("BlackOps")
        If UUSLJJBKZE.Length = 0 Then
            MsgBox("CoD was not found", MsgBoxStyle.Information, "M-efti's Trainer - Error")
            End
        End If
        Dim KCUKNTYTGO As IntPtr = KGCDGTJAWN(&H1F0FFF, 0, UUSLJJBKZE(0).Id)
        ICZQYVKUOB(KCUKNTYTGO, RDFAGMHRVL, GWXUSXTOUE, 4, Nothing)
        FNURQYKINX = GWXUSXTOUE + QKNCVNKXXV
        XGYCUGJWNY(KCUKNTYTGO, FNURQYKINX, DAKUVAQVRQ, MFXXWRYZOA, Nothing)
        EFJKPZAUQL(KCUKNTYTGO)
        Return False
    End Function

    'NOP
    Public Function JPKNTUEGKH(ByVal ITSGLVPNZG As Integer, ByVal DAKUVAQVRQ As Integer)
        Dim UUSLJJBKZE As Process() = Process.GetProcessesByName("BlackOps")
        If UUSLJJBKZE.Length = 0 Then
            MsgBox("CoD was not found", MsgBoxStyle.Information, "M-efti's Trainer - Error")
            End
        End If
        Dim KCUKNTYTGO As IntPtr = KGCDGTJAWN(&H1F0FFF, 0, UUSLJJBKZE(0).Id)
        XGYCUGJWNY(KCUKNTYTGO, ITSGLVPNZG, DAKUVAQVRQ, 1, Nothing)
        EFJKPZAUQL(KCUKNTYTGO)
        Return False
    End Function



    Public Function writememory(ByVal address As String, ByVal value As Long, ByVal Bytes As Integer)

        string1 = readdll("cshell.dll")
        string2 = "&H" & Hex(string1 + address)
        Call OIBGHGEJUO(string2, value, Bytes)

        Return Nothing
    End Function

    Public Function writefloat(ByVal address As String, ByVal value As Long)

        string1 = readdll("cshell.dll")
        string2 = "&H" & Hex(string1 + address)
        Call JYRXFUZNYB(string2, value)

        Return Nothing
    End Function
End Module
#1 · edited 15y ago · 15y ago
Blubb1337
Blubb1337
You need to write &H infront of the addresses.

0x8497514

=

&H8497514
#2 · 15y ago
pyton789
pyton789
Oh yeah thanks Blubb I totally forgot
#3 · 15y ago
WT
wtfiwantthatname
Also you if i remember correctly you cant obtain a handle to another process from within the visual studio environment. You would need to actually build and run the built exe to test.
#4 · 15y ago
freedompeace
freedompeace
What's with the cryptic variable names? |:

Quote Originally Posted by wtfiwantthatname View Post
Also you if i remember correctly you cant obtain a handle to another process from within the visual studio environment. You would need to actually build and run the built exe to test.
Uhm, yes you can.
#5 · 15y ago
Jason
Jason
Quote Originally Posted by freedompeace View Post
What's with the cryptic variable names? |:



Uhm, yes you can.
There's a random module generator that people use. You can declare the method/variable names yourself or let it auto-generate them. That's what it looks like to me.
#6 · 15y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Tags for this Thread

None