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 › CrossFire Hacks & Cheats › CrossFire Hack Coding / Programming / Source Code › How To Make A D3D Menu in VB.NET for CF[Doesnt Require A Hook]

How To Make A D3D Menu in VB.NET for CF[Doesnt Require A Hook]

Posts 1–15 of 69 · Page 1 of 5
…
Dead(H)ell
Dead(H)ell
How To Make A D3D Menu in VB.NET for CF[Doesnt Require A Hook]
Okay this menu uses GetAsSyncKeyState method so u cud use it in cf
IMPORTANT INFO:YOU HAVE TO EDIT THE CODES AND ADD MORE LABELS WHICH IS EQUAL FUNCTIONS AND ITS ALL ABOUT COPY AND PASTE SO U WONT LEARN A SHIT SO PLZ TRY TO LEARN IT BY HARD EVEN IF ITS COPY AND PASTE PLZ ITS MY RESPONSIBILITY TO DELIVER THIS TO U TO LEARN NOT TO PASTE IT PLZ PLZ LEARN IT THEN PASTE IT
Okay to start with:
1.Make A new application and name it what ever you want..
2.now make the size of ur form to: 148,83
3.make the opacity to : 80%
4.make the transparency key to: Red
5.Make the startposition to : Manual
6.Make The Back Color to: Olive


Now To The Main Thing:
1.Make 4 labels
they have to be in this order:

Label1 Label3
Label2 Label4

2.Make 2 Timers[both have interval of 1 and enabled]
3.Name Label1 to : 2DBoxes [as example]
4.name label2 to : No Reload [as example]
5.name label 3 & 4 to : [OFF]


Having Every Thing Setteld Now..Lets Decorate:
1.Make A Panel:
A.Make The Back Color to: Dark Slate Blue [which can be found in web TAB in Back Color]
B.Make The Location to : 1,0
C.Make The Margin : 3,3,3,3
D.Make The Size: 147,82
E.Make The Tab Index to : 7
F.Add A Label: And Put It In The Up Of The Form Of The Panel And Name It : CrossFire


Now Lets Code:
Double Click On Form 1 and paste this:
Code:
Try
            Interaction.AppActivate("crossfire") 'example game process name without .exe
            Me.TopMost = True
        Catch
            Me.TopMost = True
        End Try


Double Click On Timer 1 and Paste This:
Code:
If GetAsyncKeyState(Keys.Down) = -32767 Then


            If Label1.ForeColor = Color.White Then
                Label1.ForeColor = Color.Black
                Label2.ForeColor = Color.White
                Exit Sub
            End If
            If Label2.ForeColor = Color.White Then
                Label2.ForeColor = Color.Black
                'Label3.ForeColor = Color.White
                Exit Sub
            End If
        End If
        '/////////////////////UP/////////////////////

        If GetAsyncKeyState(Keys.Up) = -32767 Then
            If Label2.ForeColor = Color.White Then
                Label2.ForeColor = Color.Black
                Label1.ForeColor = Color.White
                Exit Sub
            End If

            If Label1.ForeColor = Color.White Then
                Label1.ForeColor = Color.Black

            End If
        End If


        '******************Show/Hide Menue***********************
        If GetAsyncKeyState(Keys.Insert) = -32767 Then
            If Label1.Visible = False Then
                Label1.Visible = True
                Me.Show()
                Exit Sub
            End If
            If Label1.Visible = True Then
                Label1.Visible = False
                Me.Hide()
                Exit Sub
            End If
        End If

        '********************close menue process*********************
        If GetAsyncKeyState(Keys.Delete) = -32767 Then
            Application.Exit()
            Exit Sub
        End If


Double Click On Timer 2 and Paste This:
Code:
If GetAsyncKeyState(Keys.Right) = -32767 Then
            If Label1.ForeColor = Color.White Then
                Label3.ForeColor = Color.White
                Label3.Text = "[ON]"
                'hack here
                ' or function
                Exit Sub
            End If
            If Label2.ForeColor = Color.White Then
                Label4.ForeColor = Color.White
                Label4.Text = "[ON]"
                'hack here
                ' or function
                Exit Sub
            End If

        End If



        '///////////////////////OFF///////////////////

        If GetAsyncKeyState(Keys.Left) = -32767 Then
            If Label1.ForeColor = Color.White Then
                Label3.ForeColor = Color.Black
                Label3.Text = "[OFF]"
                'normal here
                ' normal function
                Exit Sub
            End If
            If Label2.ForeColor = Color.White Then
                Label4.ForeColor = Color.Black
                Label4.Text = "[OFF]"
                'hack here
                ' normal function
                Exit Sub
            End If

        End If


Now To Reality and Reading/Writing Memory Process = to a HOOK
1.Add A New Module
2.Erase All Whats In It
3.Paste This Memory Code:
Code:
Module Module1

#Region "Declarations"

    Private Declare Function OpenProcess Lib "kernel32" Alias "OpenProcess" (ByVal dwDesiredAccess As Integer, ByVal bInheritHandle As Integer, ByVal dwProcessId As Integer) As Integer
    Private Declare Function WriteProcessMemory 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 WriteFloatMemory 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 ReadFloat 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 ReadProcessMemory 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 CloseHandle Lib "kernel32" Alias "CloseHandle" (ByVal hObject As Integer) As Integer

    Private string1 As Long
    Private string2 As Integer
    Private RBuff1 As Long
    Private RBuff2 As Single
    Private RBuff3 As Integer

#End Region

#Region "Check Process/ReadDll"

    Private Function readdll(ByVal modulename As String)
        Dim procmodule As ProcessModule
        Dim constant1 As Integer
        Dim constant2 As Long
        Dim constant3 As Process() = Process.GetProcessesByName("crossfire")
        If constant3.Length = 0 Then
            Return 0
        End If
        For Each procmodule In constant3(0).Modules
            If modulename = procmodule.ModuleName Then
                constant1 = procmodule.BaseAddress
            End If
        Next
        constant2 = constant1
        Return constant2
    End Function

    Public Function IsProcessOpen(ByVal name As String) As Boolean

        For Each clsProcess As Process In Process.GetProcesses

            If clsProcess.ProcessName.Contains(name) Then


                Return True

            End If
        Next
        ' Do nothing 
        Return False
    End Function


#End Region

#Region "Hacks"

    'WriteMemory
    Private Function WriteMemory(ByVal Address As Integer, ByVal Value As Long, ByVal Bytes As Integer)
        Dim crossfireLookUp As Process() = Process.GetProcessesByName("crossfire")
        If crossfireLookUp.Length = 0 Then
            End
        End If
        Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, crossfireLookUp(0).Id)
        WriteProcessMemory(processHandle, Address, Value, Bytes, Nothing)
        CloseHandle(processHandle)

        Return Nothing
    End Function

    'WriteFloat
    Private Function WriteFloat(ByVal Address As Integer, ByVal Value As Single)
        Dim crossfireLookUp As Process() = Process.GetProcessesByName("iw4mp")
        If crossfireLookUp.Length = 0 Then
            End
        End If
        Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, crossfireLookUp(0).Id)
        WriteFloatMemory(processHandle, Address, Value, 4, Nothing)
        CloseHandle(processHandle)

        Return Nothing
    End Function

    'NOP
    Private Function NOP(ByVal Address As Integer, ByVal value As Integer)
        Dim crossfireLookUp As Process() = Process.GetProcessesByName("crossfire")
        If crossfireLookUp.Length = 0 Then
            End
        End If
        Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, crossfireLookUp(0).Id)
        WriteProcessMemory(processHandle, Address, value, 1, Nothing)
        CloseHandle(processHandle)

        Return Nothing
    End Function

#End Region

#Region "Functions"

    Public Function memoryh4x(ByVal address As String, ByVal value As Long, ByVal bytes As Byte)
        If IsProcessOpen("crossfire") Then

            string1 = readdll("CShell.dll")
            string2 = "&H" & Hex(string1 + address)
            WriteMemory(string2, value, bytes)
        End If
        Return Nothing
    End Function

    Public Function floath4x(ByVal address As String, ByVal value As Long)
        If IsProcessOpen("crossfire") Then

            string1 = readdll("CShell.dll")
            string2 = "&H" & Hex(string1 + address)
            WriteFloat(string2, value)
        End If
        Return Nothing
    End Function

    Public Function noph4x(ByVal address As String, ByVal value As Long)
        If IsProcessOpen("crossfire") Then
            string1 = readdll("CShell.dll")
            string2 = "&H" & Hex(string1 + address)
            NOP(string2, value)


        End If
        Return Nothing
    End Function

#End Region
End Module


PLZ LEARN THEN COMPILE ITS MY DUTY TO MAKE U LEARN FROM THIS TOPIC

@Hero
@Scata
@Royku
i guess this worths a sticky plz [discuss it together]

Thank Me If Helped and dont forget the REP+ Button
And Give Me Credits IF UR GONNA USE IT
GL
its 70% miine cuz
@giniyat101 helped me with some of the source due to his release [TUTORIAL]Simple Menu
and ofcourse google helped me in the read/write memory process and ofc @Dead(H)ell << ME for the main form and the codes haha
#1 · 14y ago
..
..x_X_x..
OoO..thanx very much...And i think i learned a few things.......Iam studying V.B So...I found it easy some way::
#2 · 14y ago
Dead(H)ell
Dead(H)ell
Quote Originally Posted by cinamarcina View Post
OoO..thanx very much...And i think i learned a few things.......Iam studying V.B So...I found it easy some way::
Thnx And Your Welcome xD
#3 · 14y ago
CF
cfs
Will this make a working hack or no?
#4 · 14y ago
LU
lucas123456
adding a module
#5 · 14y ago
Dead(H)ell
Dead(H)ell
Quote Originally Posted by cfs View Post
Will this make a working hack or no?
YUP
/msg2short
#6 · 14y ago
DA
DarkNess992
Gewd Job
#7 · 14y ago
RA
ramo
@Dead(H)ell Open Ur Mail[COLOR="Silver"]
&&Thanks for the tut
#8 · edited 14y ago · 14y ago
Dead(H)ell
Dead(H)ell
Quote Originally Posted by ramo View Post
@Dead(H)ell Open Ur Mail
&&Thanks for the tut


UW,Bro any time
#9 · edited 14y ago · 14y ago
pakeke80
pakeke80
getkeyasync state is not declared,,,,,
to solve that error, copy paste this to the module 1:
Declare Function GetAsyncKeyState Lib "user32" Alias "GetAsyncKeyState" (ByVal vKey As Long) As Integer
#10 · 14y ago
Dead(H)ell
Dead(H)ell
Quote Originally Posted by pakeke80 View Post
getkeyasync state is not declared,,,,,
to solve that error, copy paste this to the module 1:
Declare Function GetAsyncKeyState Lib "user32" Alias "GetAsyncKeyState" (ByVal vKey As Long) As Integer
i said learn and i didnt give u a full code cuz ve to learn to make it full GL & GJ that u found it theres still more
#11 · 14y ago
pakeke80
pakeke80
how exactly it works????,,,,,,, when im in game in crossfire, when i pressed the arrow keys nothing happen
#12 · 14y ago
jhefrey
jhefrey
is there any preview of this.??
#13 · 14y ago
Dead(H)ell
Dead(H)ell
Quote Originally Posted by jhefrey View Post
is there any preview of this.??
like?
/msg2short
#14 · 14y ago
DA
DarkNess992
Quote Originally Posted by Dead(H)ell View Post


like?
/msg2short
he mean screen shot
#15 · 14y ago
Posts 1–15 of 69 · Page 1 of 5
…

Post a Reply

Similar Threads

  • How To Make Warrock D3d Menu Hack with all hack functionsBy srinuv in Programming Tutorial Requests
    5Last post 16y ago
  • How can i make a d3d menu?By [HP]Unique in Combat Arms Coding Help & Discussion
    3Last post 15y ago
  • help how to make a hack menu for CFBy jhefrey in CrossFire Hack Coding / Programming / Source Code
    4Last post 15y ago
  • [REQUEST]How work that :Warrock D3D Menu HackBy taylan in Programming Tutorial Requests
    0Last post 16y ago
  • Can someone plz post how to make arrow moving menu in vb6By aprill27 in Visual Basic Programming
    2Last post 18y ago

Tags for this Thread

None