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 › Combat Arms Hacks & Cheats › Combat Arms Hack Coding / Programming / Source Code › [Source Help]Spot the problem in this

Question[Source Help]Spot the problem in this

Posts 1–12 of 12 · Page 1 of 1
Samueldo
Samueldo
[Source Help]Spot the problem in this
Code:
Public Class Form1
    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        If GetAsyncKeyState(Keys.F3) Then
            Timer2.Start()
        End If
        If GetAsyncKeyState(Keys.F4) Then
            Timer2.Stop()
        End If
    End Sub

    Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
        Dim value As Point
        value = Cursor.Position
        Cursor.Position = value
        Me.Cursor = New Cursor(Cursor.Current.Handle)
        Cursor.Position = New Point(Cursor.Position.X, Cursor.Position.Y + 30)
    End Sub
End Class
That was the code for my Anti-Recoil Beta 2, which apparently fucked up but ran perfectly on my PC. Here is the full unedited code for it, which is actually quite simple. I got the Cursor.Position thing straight from the Microsoft online help/resource thingy.

Anybody know what the problem is? It's F3 to start and F4 to stop. If you can fix it successfully then I will put your name on it as well as mine. If you're gonna leech, credit me for the original.
#1 · edited 16y ago · 16y ago
Grim
Grim
there's no stopper for it.

Code:
    Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
        Dim value As Point
        value = Cursor.Position  << one of these is unnecessary
        Cursor.Position = value << one of these is unnecessary
        Me.Cursor = New Cursor(Cursor.Current.Handle)
        Cursor.Position = New Point(Cursor.Position.X, Cursor.Position.Y + 30)
    End Sub
what you need to do is have the hotkey F3 call a function to wait for the person to click their mouse before moving down, then when they are not clicking the mouse to stop.

the way you have the code is that when its turned on the cursor is constantly moving down.. it doesnt wait for any mouse clicks before moving down it just moves
#2 · edited 16y ago · 16y ago
Samueldo
Samueldo
I know, I tried everything to do the click bit with loads of different functions but none worked. Any ideas which one?
#3 · 16y ago
Grim
Grim
you need to wait for the mouse click not do it.. XBUTTON1 i think.. i'm not very well adapted with VB, but i think WM_LBUTTONDOWN and WM_LBUTTONUP is what you need
#4 · 16y ago
Zoom
Zoom
Code:
Dim hotkey as boolean
hotkey = GetAsyncKeyState(Keys.F3)

if hotkey = true then
' your code here!
end if
#5 · 16y ago
Samueldo
Samueldo
Quote Originally Posted by WarPathSin View Post
you need to wait for the mouse click not do it.. XBUTTON1 i think.. i'm not very well adapted with VB, but i think WM_LBUTTONDOWN and WM_LBUTTONUP is what you need
Thanks, I'll try it in a minute.

Quote Originally Posted by hejsan1 View Post
Code:
Dim hotkey as boolean
hotkey = GetAsyncKeyState(Keys.F3)

if hotkey = true then
' your code here!
end if
I know that bit but we want it to work if it's on and if the mouse button is pressed.
#6 · 16y ago
Zoom
Zoom
Quote Originally Posted by Samueldo View Post
Thanks, I'll try it in a minute.



I know that bit but we want it to work if it's on and if the mouse button is pressed.
Isn´t it mouse.left?
#7 · 16y ago
Samueldo
Samueldo
Tried that, for some reason it doesn't like me.
#8 · 16y ago
zmansquared
zmansquared
humm. i tired messin with it and it froze my keys. were all good now
#9 · 16y ago
Zoom
Zoom
Quote Originally Posted by zmansquared View Post
humm. i tired messin with it and it froze my keys. were all good now
Make 2 timers, 1 for hotkey and 1 for the code
#10 · 16y ago
noobhackers
noobhackers
Any one got codes for unlimited respawnÉ
#11 · 16y ago
MG
MGHP
Samueldo i will give you the answer MOuse left is = (Keys.LButton) this is for vb 2008 express.for right its = (Keys.RButton)

Edit:
THAT Code needs to change becuase it's all wrong.For Timer1

Edit This is what i have changed so far:

Public Class Form1
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Dim Hotkey1 As Boolean
If Hotkey1 = GetAsyncKeyState(Keys.F3) Then
GetAsyncKeyState(Keys.LButton)
If Hotkey1 = True Then
Timer2.Start()
End If
End If
End Sub

Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
Dim value As Point
value = Cursor.Position
Cursor.Position = value
Me.Cursor = New Cursor(Cursor.Current.Handle)
Cursor.Position = New Point(Cursor.Position.X, Cursor.Position.Y + 30)
End Sub
End Class
#12 · edited 16y ago · 16y ago
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

  • NEED HELP WITH THE HACK D/C PROBLEMBy chubi_dc in Combat Arms Hacks & Cheats
    41Last post 17y ago
  • Help with the chams .. Litel problem ..By CoNey in Combat Arms Europe Hacks
    10Last post 17y ago
  • liz read this and u hood about the problem i hadBy kazuya899 in WarRock - International Hacks
    10Last post 17y ago
  • THis may fix the problem with FZHook that u guys have been havingBy falzarex in Alliance of Valiant Arms (AVA) Hacks & Cheats
    20Last post 16y ago
  • All the hacks in this posts just to help you versions 1.0.180By sasifakos in Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    19Last post 16y ago

Tags for this Thread

None