Simple no recoil hack with autoit
So i've been trying to create a no recoil bot using autoit, because its one of the few programs that apb: reloaded doesn't seem to detect/ ban people for.
This is also my second post please be kind if i'm in the wrong place
centre of the screen is at 960 536 if it helps.
Whenever i try and run it i just end up looking at my feet or the ceiling. i think the problem is the get mouse function. it works fine outside of game slowly moves the mouse down when the left button is clicked. In game all hell breaks loose not even sure what's happening, i have tried looking at other autoit scripts to find alternative ways of doing this but i've had not had any luck
#include <Misc.au3>
Local $hDLL = DllOpen("user32.dll")
Global $Paused, $counter = 0
HotKeySet("{F3}", "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+5)
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
This is also my second post please be kind if i'm in the wrong place
centre of the screen is at 960 536 if it helps.
Whenever i try and run it i just end up looking at my feet or the ceiling. i think the problem is the get mouse function. it works fine outside of game slowly moves the mouse down when the left button is clicked. In game all hell breaks loose not even sure what's happening, i have tried looking at other autoit scripts to find alternative ways of doing this but i've had not had any luck
#include <Misc.au3>
Local $hDLL = DllOpen("user32.dll")
Global $Paused, $counter = 0
HotKeySet("{F3}", "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+5)
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