autoit is weird....i use ahk for convinence
i want the auto it script to be able to keep the mouse from moving up but allow it to move left and right ...any help ..tried multiple things this is the closest i could get but it brings the gun straight to the floor!
#include <Misc.au3>
Local $hDLL = DllOpen("user32.dll")
Global $Paused, $counter = 0
HotKeySet("{F1}", "TogglePause")
HotKeySet("{F2}", "Terminate")
NoRecoil()
Func NoRecoil()
While 1
$pos = MouseGetPos()
$ypos = $pos[0]
$xpos = $pos[1]
If _IsPressed("01", $hDLL) Then
MouseMove($ypos, $xpos+1)
EndIf
WEnd
EndFunc ;=>NoRecoil
; kill pause command codes
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
;ToolTip('Script is "Paused"',0,0, $counter, 1)
WEnd
ToolTip("")
EndFunc
Func Terminate()
Exit 0
EndFunc
autoit is weird....i use ahk for convinence
oh...i dont mess with auto hotkeys or auto it that often....but i removed visual basic from my pc and its quicker to work with
Maybe, if this is a game like CSGO where each gun has its own spread that is not 100% random, you could have the bot move the mouse down and the opposite of the real recoil pattern (or similar). I am not very good with AutoIt but know some of it, hope i helped.
when i opened ur topic my internet crashed for 20 min
say "thanks" to my internet provider
try something like:
pastebin.com/yHyDHmiD