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 › [Tutorial] How To Mack HotKeys On VB

Lightbulb[Tutorial] How To Mack HotKeys On VB

Posts 1–15 of 33 · Page 1 of 3
TheRedEye
TheRedEye
[Tutorial] How To Mack HotKeys On VB
How To Mack HotKeys On VB
By TheRedEye

Tools needed:
1. Visual Basic 5/6.
2. Brain.
3. My previous tutorial.
http://www.mpgh.net/forum/tutorials/...%5Btutorial%5D
4. Ascii Table.

Necessary Knowledge:
1. Basic programming
2. Understanding my previous tutorial.
http://www.mpgh.net/forum/tutorials/...%5Btutorial%5D



Part One - Adding One Hotkey
Open up your form, right click on the form "View Code" then write:
Code:
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Now Select a Timer and put it on the form - it will be timer1
Then go to the Timer properties and look for Interval -
Set the Interval value to 100
Now Double click on the timer and write this code:
Code:
If GetAsyncKeyState(112) <> 0 Then
        Msgbox "Hotkey - F1"
End If

If GetAsyncKeyState(17) <> 0 Then
        Msgbox "Hotkey - Ctrl"
End If
run the program and try to press on F1 and ctrl key.


Part Two - Adding 2 Or More Hotkeys
do the exact the same introductions of part one but put this code under the timer:

Code:
If GetAsyncKeyState(16) <> 0 And GetAsyncKeyState(17) <> 0 And GetAsyncKeyState(112) <> 0  Then
        MsgBox "Hotkeys - Shift + Ctrl + F1"
End If
Done.


Some Asciis:
1 = Left Click
2 = Right Click
16 = Shift
17 = Ctrl
18 = Alt
From 112 - 123 = From F1 - F12


Copyright
TheRedEye.


give me some reputation dudes!





Bonus:
Scope Hack Using Right Click That I Made With HotKeys
#1 · edited 19y ago · 19y ago
WE
webtijn
Ehh.. wrong section? This must be in the tutorial section, not WR I. section!
#2 · 19y ago
MS Word
MS Word
erm... what do i do with that timer? i mean... i make this 1 timer... and then? i add what i want to it ?
#3 · 19y ago
TheRedEye
TheRedEye
Quote Originally Posted by MS Word View Post
erm... what do i do with that timer? i mean... i make this 1 timer... and then? i add what i want to it ?
In stand of MsgBox.. u write the commands u want
#4 · 19y ago
crazy4her
crazy4her
Quote Originally Posted by TheRedEye View Post
How To Mack HotKeys On VB
By TheRedEye

Tools needed:
1. Visual Basic 5/6.
2. Brain.
3. My previous tutorial.
http://www.mpgh.net/forum/tutorials/...%5Btutorial%5D
4. Ascii Table.

Necessary Knowledge:
1. Basic programming
2. Understanding my previous tutorial.
http://www.mpgh.net/forum/tutorials/...%5Btutorial%5D



Part One - Adding One Hotkey
Open up your form, right click on the form "View Code" then write:
Code:
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Now Select a Timer and put it on the form - it will be timer1
Then go to the Timer properties and look for Interval -
Set the Interval value to 100
Now Double click on the timer and write this code:
Code:
If GetAsyncKeyState(112) <> 0 Then
        Msgbox "Hotkey - F1"
End If

If GetAsyncKeyState(17) <> 0 Then
        Msgbox "Hotkey - Ctrl"
End If
run the program and try to press on F1 and ctrl key.


Part Two - Adding 2 Or More Hotkeys
do the exact the same introductions of part one but put this code under the timer:

Code:
If GetAsyncKeyState(16) <> 0 And GetAsyncKeyState(17) <> 0 And GetAsyncKeyState(112) <> 0  Then
        MsgBox "Hotkeys - Shift + Ctrl + F1"
End If
Done.


Some Asciis:
1 = Left Click
2 = Right Click
16 = Shift
17 = Ctrl
18 = Alt
From 112 - 123 = From F1 - F12


Copyright
TheRedEye.


give me some reputation dudes!





Bonus:
Scope Hack Using Right Click That I Made With HotKeys
where ,in the form, do i write this in?
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
#5 · 19y ago
TheRedEye
TheRedEye
Quote Originally Posted by crazy4her View Post
where ,in the form, do i write this in?
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
At the beginning of the code
just write not on sub..
#6 · 19y ago
TR
Trixiez
Would this work mate.

~TriX~

Test mine below - I am at work & cant get on WR.

F1 is HotKey!!
#7 · edited 19y ago · 19y ago
crazy4her
crazy4her
Quote Originally Posted by Trixiez View Post
Would this work mate.

Code:
Private Sub Timer1_Timer()
If GetAsyncKeyState(112) <> 0 Then
        Call WriteALong("WarRock", &H7D9120, 1120403456)
End If
End Sub
~TriX~

Test mine below - I am at work & cant get on WR.

F1 is HotKey!!
does trixiez work REdEye?
#8 · 19y ago
TR
Trixiez
Quote Originally Posted by crazy4her View Post
does trixiez work REdEye?
Try it!

~TriX~
#9 · 19y ago
PA
panmily
If i add

Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer

And if i want run trainer i've got error:

Only comments may appear after End Sub, End Function, End Property
#10 · 19y ago
crazy4her
crazy4her
Quote Originally Posted by Trixiez View Post
Try it!

~TriX~
nop it doesnt work
#11 · 19y ago
crazy4her
crazy4her
If GetAsyncKeyState(112) <> 0 Then
Msgbox "Hotkey - F1"
End If

If GetAsyncKeyState(17) <> 0 Then
Msgbox "Hotkey - Ctrl"
End If


when I type this code
Where do I put the code for example for scope:
Call WriteALong("WarRock", &H90DC36, 1)
pls help me

(sorry double post)
#12 · edited 19y ago · 19y ago
TR
Trixiez
Try this then!

~TriX~
#13 · 19y ago
crazy4her
crazy4her
Quote Originally Posted by Trixiez View Post
Try this then!

~TriX~
nope doesnt work neither
#14 · 19y ago
dezer
dezer
Geez
1. create timer
2. click it twice
3. copy this:
Code:
If GetAsyncKeyState(112) <> 0 Then
        Msgbox "Hotkey - F1"
End If
4. paste it into ur timer
5. modify Msgbox "Hotkey - F1" into what u want the hotkey to do. for swim it will be like this:
Code:
Private Sub UrTimerName_Timer()
If GetAsyncKeyState(112) <> 0 Then
    Dim Swim As Long
    Dim Swim1 As Long
    Call ReadALong("Warrock", &H896E28, Swim)
    Swim1 = Swim + &H54
    Call WriteALong("Warrock", Swim1, 4)
End If
End Sub
Now when u press F1 u will enable swim in air.
#15 · 19y ago
Posts 1–15 of 33 · Page 1 of 3

Post a Reply

Similar Threads

  • [Tutorial] How to set hotkeys to your basic hacks.By wr194t in Visual Basic Programming
    4Last post 18y ago
  • [Tutorial] How to set hotkeys to more advanced hacks.By wr194t in Visual Basic Programming
    13Last post 18y ago
  • [Tutorial] How to create a Runnable - Ultra Easy VersionBy emisand in Gunz General
    13Last post 20y ago
  • [Tutorial]How to find some HacksBy mental81 in WarRock - International Hacks
    22Last post 19y ago
  • [TUTORIAL]How to control an airplane :p and ofcourse insert itBy System79 in WarRock - International Hacks
    8Last post 20y ago

Tags for this Thread

None