Simple no recoil hack with autoit

Posts 1–3 of 3 · Page 1 of 1
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
I need help
It just drag's the mouse downwards and does that same can you please tell me what should i change here?
Just use something that pulls down instead of correcting recoil patterns >

#include <misc.au3>

while(_ispressed(01)
$pos = mousegetpos() < position
mousemove($pos[0], $pos[1]-5) <<-- being howmuch recoil the gun has
wend
Also if you want your code to work properly fix this. >

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
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us