This is my first post (and release) to MPGH, but I am not new to the game.
This is an undetectable Rapid Fire + Antirecoil script for AutoHotkey. If you don't know what AutoHotkey is, it's a powerful mouse and keyboard macro program that is free... Google it, and install it.
After you have installed AutoHotkey create a new file in Notepad and paste the code below. Save the file as an .ahk file. It can be named whatever you want. (Example: BO2RF.ahk)
Code:
; BO2 Rapid Fire + Antirecoil by Digi7aL
#NoEnv
SendMode Input
_auto := true
~LButton::autofire()
Numlock::_auto := ! _auto
F1::ExitApp
autofire()
{
global _auto
if _auto
{
Loop
{
if GetKeyState("LButton", "P")
{
SendInput {LButton DownTemp}
Sleep 25
mouseXY(0, 0)
SendInput {LButton Up}
Sleep 25
}
else
break
} ;; loop
} ;; if
} ;; autofire()
mouseXY(x,y)
{
DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
}
Simply double click your newly created file to run it in AutoHotkey.
NumLock will toggle the script on and off.
By default, Antirecoil is not activated. To increase Antirecoil, edit the second 0 in the line "mouseXY(0, 0)"
Example:
mouseXY(0, 0) = Stock recoil
mouseXY(0, 1) = Low Antirecoil
mouseXY(0, 2) = Moderate Antirecoil
mouseXY(0, 3) = High Antirecoil
If you find that the Rapid Fire is causing your weapon to lock up or jam (it shouldn't but you never know), try increasing the number by 5 on both lines that say "Sleep 25" until you get a smooth Rapid Fire.
Example:
Sleep 25
Sleep 30
Sleep 35
ect...