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 › wats wrong with this?

wats wrong with this?

Posts 1–4 of 4 · Page 1 of 1
nub_g0t_high
nub_g0t_high
wats wrong with this?
this code won't compile. and will this work on the updated warrock?

Code:

Dim f1holder As Integer
Dim timer_pos As Long
'API Declaration

Public Declare Function D8A681DE Lib "user32" Alias "GetWindowThreadProcessId" (ByVal hWnd As Long, lpdwID As Long) As Long
Public Declare Function B99B9EEF Lib "kernel32" Alias "OpenProcess" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwID As Long) As Long
Public Declare Function DBE400D1 Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Public Declare Function AE3F95B9 Lib "kernel32" Alias "CloseHandle" (ByVal hObject As Long) As Long
Public Declare Function F1B2AAF1 Lib "user32" Alias "FindWindowA" (ByVal Classname As String, ByVal WindowName As String) As Long
Public Declare Function D80555F3 Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, ByRef lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Public Declare Function E6FE487C Lib "user32" Alias "GetAsyncKeyState" (ByVal key As Long) As Integer

'WriteALong
Public Function E2BE9DB7(AC1DD600 As Long, EA69628F As Long)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long

B8AE2B13 = F1B2AAF1(vbNullString, "WarRock")

If (B8AE2B13 = 0) Then
Exit Function
End If

D8A681DE B8AE2B13, A4EF8B4D

A199DFD1 = B99B9EEF(&H1F0FFF, False, A4EF8B4D)

If (A199DFD1 = 0) Then
Exit Function
End If

DBE400D1 A199DFD1, AC1DD600, EA69628F, 4, 0&

AE3F95B9 A199DFD1
End Function

'WriteAByte
Public Function CB21D5D8(AC1DD600 As Long, EA69628F As Byte)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long

B8AE2B13 = F1B2AAF1(vbNullString, "WarRock")

If (B8AE2B13 = 0) Then
Exit Function
End If

D8A681DE B8AE2B13, A4EF8B4D

A199DFD1 = B99B9EEF(&H1F0FFF, False, A4EF8B4D)

If (A199DFD1 = 0) Then
Exit Function
End If

DBE400D1 A199DFD1, AC1DD600, EA69628F, 1, 0&

AE3F95B9 A199DFD1
End Function

'WriteAFloat
Public Function A55D798B(AC1DD600 As Long, EA69628F As Double)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long

B8AE2B13 = F1B2AAF1(vbNullString, "WarRock")

If (B8AE2B13 = 0) Then
Exit Function
End If

D8A681DE B8AE2B13, A4EF8B4D

A199DFD1 = B99B9EEF(&H1F0FFF, False, A4EF8B4D)

If (A199DFD1 = 0) Then
Exit Function
End If

DBE400D1 A199DFD1, AC1DD600, EA69628F, 4, 0&

AE3F95B9 A199DFD1
End Function

'ReadALong
Public Function C2646E6D(AC1DD600 As Long, EA69628F As Long)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long

B8AE2B13 = F1B2AAF1(vbNullString, "WarRock")

If (B8AE2B13 = 0) Then
Exit Function
End If

D8A681DE B8AE2B13, A4EF8B4D

A199DFD1 = B99B9EEF(&H1F0FFF, False, A4EF8B4D)

If (A199DFD1 = 0) Then
Exit Function
End If

D80555F3 A199DFD1, AC1DD600, EA69628F, 4, 0&

AE3F95B9 A199DFD1
End Function

'ReadAByte
Public Function A4D2B04C(AC1DD600 As Long, EA69628F As Byte)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long

B8AE2B13 = F1B2AAF1(vbNullString, "WarRock")

If (B8AE2B13 = 0) Then
Exit Function
End If

D8A681DE B8AE2B13, A4EF8B4D

A199DFD1 = B99B9EEF(&H1F0FFF, False, A4EF8B4D)

If (A199DFD1 = 0) Then
Exit Function
End If

D80555F3 A199DFD1, AC1DD600, EA69628F, 1, 0&

AE3F95B9 A199DFD1
End Function

'ReadAFloat
Public Function D298A93C(AC1DD600 As Long, EA69628F As Double)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long

B8AE2B13 = F1B2AAF1(vbNullString, "WarRock")

If (B8AE2B13 = 0) Then
Exit Function
End If

D8A681DE B8AE2B13, A4EF8B4D

A199DFD1 = B99B9EEF(&H1F0FFF, False, A4EF8B4D)

If (A199DFD1 = 0) Then
Exit Function
End If

D80555F3 A199DFD1, AC1DD600, EA69628F, 4, 0&

AE3F95B9 A199DFD1
End Function

'WriteASM
Public Function A2E8481F(Address As Long, ASM As String)
Dim i As Integer
Dim i2 As Integer

i2 = 1
While i < (Len(ASM) / 2)
Call CB21D5D8(Address + i, &H0, Val("&H" & Mid$(" & ASM & ", i2, 2)))
i = i + 1
i2 = i2 + 2
Wend
End Function
#1 · 18y ago
sukh13
sukh13
hmm i think u puting wrong address thats y
#2 · 18y ago
KI
kizzyy
Quote Originally Posted by nub_g0t_high View Post
this code won't compile. and will this work on the updated warrock?

Code:

Dim f1holder As Integer
Dim timer_pos As Long
'API Declaration

Public Declare Function D8A681DE Lib "user32" Alias "GetWindowThreadProcessId" (ByVal hWnd As Long, lpdwID As Long) As Long
Public Declare Function B99B9EEF Lib "kernel32" Alias "OpenProcess" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwID As Long) As Long
Public Declare Function DBE400D1 Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Public Declare Function AE3F95B9 Lib "kernel32" Alias "CloseHandle" (ByVal hObject As Long) As Long
Public Declare Function F1B2AAF1 Lib "user32" Alias "FindWindowA" (ByVal Classname As String, ByVal WindowName As String) As Long
Public Declare Function D80555F3 Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, ByRef lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Public Declare Function E6FE487C Lib "user32" Alias "GetAsyncKeyState" (ByVal key As Long) As Integer

'WriteALong
Public Function E2BE9DB7(AC1DD600 As Long, EA69628F As Long)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long

B8AE2B13 = F1B2AAF1(vbNullString, "WarRock")

If (B8AE2B13 = 0) Then
Exit Function
End If

D8A681DE B8AE2B13, A4EF8B4D

A199DFD1 = B99B9EEF(&H1F0FFF, False, A4EF8B4D)

If (A199DFD1 = 0) Then
Exit Function
End If

DBE400D1 A199DFD1, AC1DD600, EA69628F, 4, 0&

AE3F95B9 A199DFD1
End Function

'WriteAByte
Public Function CB21D5D8(AC1DD600 As Long, EA69628F As Byte)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long

B8AE2B13 = F1B2AAF1(vbNullString, "WarRock")

If (B8AE2B13 = 0) Then
Exit Function
End If

D8A681DE B8AE2B13, A4EF8B4D

A199DFD1 = B99B9EEF(&H1F0FFF, False, A4EF8B4D)

If (A199DFD1 = 0) Then
Exit Function
End If

DBE400D1 A199DFD1, AC1DD600, EA69628F, 1, 0&

AE3F95B9 A199DFD1
End Function

'WriteAFloat
Public Function A55D798B(AC1DD600 As Long, EA69628F As Double)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long

B8AE2B13 = F1B2AAF1(vbNullString, "WarRock")

If (B8AE2B13 = 0) Then
Exit Function
End If

D8A681DE B8AE2B13, A4EF8B4D

A199DFD1 = B99B9EEF(&H1F0FFF, False, A4EF8B4D)

If (A199DFD1 = 0) Then
Exit Function
End If

DBE400D1 A199DFD1, AC1DD600, EA69628F, 4, 0&

AE3F95B9 A199DFD1
End Function

'ReadALong
Public Function C2646E6D(AC1DD600 As Long, EA69628F As Long)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long

B8AE2B13 = F1B2AAF1(vbNullString, "WarRock")

If (B8AE2B13 = 0) Then
Exit Function
End If

D8A681DE B8AE2B13, A4EF8B4D

A199DFD1 = B99B9EEF(&H1F0FFF, False, A4EF8B4D)

If (A199DFD1 = 0) Then
Exit Function
End If

D80555F3 A199DFD1, AC1DD600, EA69628F, 4, 0&

AE3F95B9 A199DFD1
End Function

'ReadAByte
Public Function A4D2B04C(AC1DD600 As Long, EA69628F As Byte)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long

B8AE2B13 = F1B2AAF1(vbNullString, "WarRock")

If (B8AE2B13 = 0) Then
Exit Function
End If

D8A681DE B8AE2B13, A4EF8B4D

A199DFD1 = B99B9EEF(&H1F0FFF, False, A4EF8B4D)

If (A199DFD1 = 0) Then
Exit Function
End If

D80555F3 A199DFD1, AC1DD600, EA69628F, 1, 0&

AE3F95B9 A199DFD1
End Function

'ReadAFloat
Public Function D298A93C(AC1DD600 As Long, EA69628F As Double)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long

B8AE2B13 = F1B2AAF1(vbNullString, "WarRock")

If (B8AE2B13 = 0) Then
Exit Function
End If

D8A681DE B8AE2B13, A4EF8B4D

A199DFD1 = B99B9EEF(&H1F0FFF, False, A4EF8B4D)

If (A199DFD1 = 0) Then
Exit Function
End If

D80555F3 A199DFD1, AC1DD600, EA69628F, 4, 0&

AE3F95B9 A199DFD1
End Function

'WriteASM
Public Function A2E8481F(Address As Long, ASM As String)
Dim i As Integer
Dim i2 As Integer

i2 = 1
While i < (Len(ASM) / 2)
Call CB21D5D8(Address + i, &H0, Val("&H" & Mid$(" & ASM & ", i2, 2)))
i = i + 1
i2 = i2 + 2
Wend
End Function
ummmmm.. if this is ur module then you diod this wrong i saw that you ahd this
'WriteALong
Public Function E2BE9DB7(AC1DD600 As Long, EA69628F As Long)
Dim B8AE2B13 As Long
Dim A199DFD1 As Long
Dim A4EF8B4D As Long
the E2BE9DB7
should be replaced with your Writealong in ur hack codes
Like is sed.. if this is your module.
#3 · 18y ago
radnomguywfq3
radnomguywfq3
This module was obviously Generated by a computer application, they commenly make mistake when the programmer is programmnig the code, they often forget simple things because the debugger does not apply to thing in quotes.
#4 · 18y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • wats wrong with this weapon codeBy CHECK2PASS in WarRock - International Hacks
    3Last post 19y ago
  • Wats wrong with this?By scorpoistak in Combat Arms Hack Coding / Programming / Source Code
    15Last post 16y ago
  • what is wrong with this source?By Petros in C++/C Programming
    6Last post 19y ago
  • whats wrong with this...By NetNavi in WarRock - International Hacks
    6Last post 19y ago
  • Whats wrong with this code ?By bohnenbong in WarRock - International Hacks
    7Last post 18y ago

Tags for this Thread

None