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 › Other Semi-Popular First Person Shooter Hacks › WarRock - International Hacks › wats wrong with this weapon code

wats wrong with this weapon code

Posts 1–4 of 4 · Page 1 of 1
CH
CHECK2PASS
wats wrong with this weapon code
Private Sub Timer9_Timer()
If GetAsyncKeyState(vbKeyControl) <> 0 And GetAsyncKeyState(vbKeyB) <> 0 Then
Dim weapons As Long
Dim weapons1 As Long
Dim weapons2 As Single
Call ReadALong("Warrock", &H896E28, weapons)
weapons1 = weapons + &H4C
weapons2 = Text4.Text
Call WriteAFloat("Warrock", weapons1, weapons2)
End If
End Sub
------------------------------------
added this is the command button
Timer9.Interval = 1
-------------------------------------
it makes warrock pause and then exits the whole game and i need to reopen it to play again
#1 · edited 19y ago · 19y ago
ST
Stranger00
your trying to write a single for the weapon value instead of a long. Single is a float basically. Dim the weapon value as a long and use writelong
#2 · 19y ago
CH
CHECK2PASS
Quote Originally Posted by Stranger00 View Post
your trying to write a single for the weapon value instead of a long. Single is a float basically. Dim the weapon value as a long and use writelong
Private Sub Timer9_Timer()
If GetAsyncKeyState(vbKeyControl) <> 0 And GetAsyncKeyState(vbKeyB) <> 0 Then
Dim weapons As Long
Dim weapons1 As Long
Dim weapons2 As Long
Call ReadALong("Warrock", &H896E28, weapons)
weapons1 = weapons + &H4C
weapons2 = Text4.Text
Call WriteALong("Warrock", weapons1, weapons2)
End If
End Sub


so like that ^
#3 · 19y ago
ST
Stranger00
Yeah that should work. You did put the module that needed for that into your project right? w/o that none of the functions (like WriteALong or ReadALong) will work.

Edit: Make sure your timer is enabled. I think it is by default though.
#4 · 19y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • wats wrong with this?By nub_g0t_high in Visual Basic Programming
    3Last post 18y ago
  • Wats wrong with this?By scorpoistak in Combat Arms Hack Coding / Programming / Source Code
    15Last post 16y ago
  • What is wrong with this code?By t7ancients in C++/C Programming
    10Last post 16y ago
  • Whats wrong with this code ?By bohnenbong in WarRock - International Hacks
    7Last post 18y ago
  • wats wrong with the Super Jump codeBy nub_g0t_high in WarRock - International Hacks
    6Last post 18y ago

Tags for this Thread

None