[Tutorial] How to set hotkeys to your basic hacks.

Posts 1–5 of 5 · Page 1 of 1
[Tutorial] How to set hotkeys to basic hacks.
Ok so you have just made a hack and now you want to set hotkeys? Ok i will use stamina for example:

Code:
Private Sub Timer1_Timer()
Call WriteALong("Warrock", &H7F2B34, 1120403456)
End Sub
So this should be your stamina code and to set a hotkey to it you need to make another timer with an interval of 1, now add this code:

Code:
Private Sub Timer2_Timer()
If GetKeyPress(vbKeyShift) Then
Call WriteALong("Warrock", &H7F2B34, 1120403456)
End If
End Sub
Shift is just an example, you can use any other key if you want put i would recommend shift. So basically you can use this same method for alot of other hacks like No Recoil/Spread etc, you just have to change the addresses, values and hotkeys. The good thing about this is it doesn't freeze your stamina it refills it, freezing values is one thing that can get detected in a hack. I hope this helped and i am sorry if someone has already made a tutorial like this.
nice that somebody tells this the others...
but i think this is not a real tut, its only a nice edit to make hacking easier...

ps: if you want two keys pressed at the same time as a hotkey, use "and"

ex: If GetKeyPress(vbKeyShift) and GetKeyPress(vbKeySpace) then...
Quote Originally Posted by pbsucks View Post
nice that somebody tells this the others...
but i think this is not a real tut, its only a nice edit to make hacking easier...

ps: if you want two keys pressed at the same time as a hotkey, use "and"

ex: If GetKeyPress(vbKeyShift) and GetKeyPress(vbKeySpace) then...
I didn't edit anything from any other tutorials, i wrote all this myself and in my opinion pressing 1 key is easier then 2 keys, i don't think people want to press shift + space just to refill their stamina when they can just press shift.
so say i want it so when someone does ctrl + alt it toggles scope it would be something like

If GetKeyPress(vbKeyCtrl) and GetKeyPress(vbKeyAlt)
Call WriteALong("Warrock", &H435FS, 1)
End If
Quote Originally Posted by MaskedFox View Post
so say i want it so when someone does ctrl + alt it toggles scope it would be something like

If GetKeyPress(vbKeyCtrl) and GetKeyPress(vbKeyAlt)
Call WriteALong("Warrock", &H435FS, 1)
End If
No, your code would be like this:
Code:
If GetKeyPress(vbKeyControl) and GetKeyPress(vbKeyMenu) Then
Call WriteALong("Warrock", &H435FS, 1)
End If
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us