Thread: AHK No Recoil

Page 1 of 3 123 LastLast
Results 1 to 15 of 42
  1. #1
    diamondcoding's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    67
    Reputation
    14
    Thanks
    646
    My Mood
    Amused

    AHK No Recoil

    This code is pretty simple. It runs on AHK (AutoHotKey).
    This is NOT My code it was released for BlackOps 2 by a user on this website: Digi7aL
    But works perfectly with R6.

    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

    Code:
    #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
    ; #Warn  ; Enable warnings to assist with detecting common errors.
    SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
    SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
    
       
    _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, 1)
    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)
    }

  2. The Following User Says Thank You to diamondcoding For This Useful Post:

    aminedz12 (10-27-2019)

  3. #2
    gamerwaldd's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    2
    What does this do exactly?

  4. #3
    diamondcoding's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    67
    Reputation
    14
    Thanks
    646
    My Mood
    Amused
    Quote Originally Posted by gamerwaldd View Post
    What does this do exactly?
    When ran using AHK it will help reduce the spread / recoil of the gun.

  5. #4
    gamerwaldd's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    2
    Just tried right now, works great.

  6. The Following User Says Thank You to gamerwaldd For This Useful Post:

    diamondcoding (06-23-2016)

  7. #5
    lambo111's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    0
    not working

  8. #6
    jorgexx's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    0
    Reputation
    10
    Thanks
    0
    it works but sometimes the weapon lock up

  9. #7
    diamondcoding's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    67
    Reputation
    14
    Thanks
    646
    My Mood
    Amused
    Quote Originally Posted by jorgexx View Post
    it works but sometimes the weapon lock up
    That can happen, simply edit sleep mode by adding five as the instructions explain until it won't lock up. On automatics I found using it in single fire works fantastic at 25 (Fires like full auto)

    Quote Originally Posted by lambo111 View Post
    not working
    You need to explain more, like the recoil is still to much? Gun is locking? Etc. It works I just got done with a ranked game with it.

  10. #8
    lambo111's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by diamondcoding View Post
    That can happen, simply edit sleep mode by adding five as the instructions explain until it won't lock up. On automatics I found using it in single fire works fantastic at 25 (Fires like full auto)



    You need to explain more, like the recoil is still to much? Gun is locking? Etc. It works I just got done with a ranked game with it.
    yes, the recoil is still to much

  11. #9
    diamondcoding's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    67
    Reputation
    14
    Thanks
    646
    My Mood
    Amused
    Quote Originally Posted by lambo111 View Post
    yes, the recoil is still to much
    Read the instructions, 1 is for low, try 2 if that doesn't work do 3.

  12. #10
    finkrer's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    162
    Reputation
    10
    Thanks
    628
    My Mood
    Fine
    2? 3? I had to use 12 for MPX Don't be afraid to change things.

    This works nicely, but can be spotted on the killcam. So don't be surprised when someone reports you and you get a ban.

  13. #11
    mentos265's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by finkrer View Post
    2? 3? I had to use 12 for MPX Don't be afraid to change things.

    This works nicely, but can be spotted on the killcam. So don't be surprised when someone reports you and you get a ban.
    I tested it with the F2 for Twitch and its really not good. It shoots slower and only compensates sometimes for the recoil.

    I used 0,12 any advice?

    And would it be possible to make a recoil script without rapidfire?

  14. #12
    finkrer's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    162
    Reputation
    10
    Thanks
    628
    My Mood
    Fine
    Quote Originally Posted by mentos265 View Post
    I tested it with the F2 for Twitch and its really not good. It shoots slower and only compensates sometimes for the recoil.

    I used 0,12 any advice?

    And would it be possible to make a recoil script without rapidfire?
    Yeah, I think it does shoot a bit slower. No way around that. Maybe you could try to make it shoot in short bursts. Don't know if that would be faster.
    Oh, and obviously you need to lower the delay as much as you can until the gun starts to jam.

    As for recoil, just experiment a little with the values. If the gun still goes up, increase it even more. The left one can control horizontal recoil.

    If you want full-auto fire, just remove the SendInputs from the loop.
    Last edited by finkrer; 06-24-2016 at 05:31 AM.

  15. #13
    yokowasis's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    1
    I have tried to create no recoil script with ahk before. It simply doesn't work, because how R6 handle the recoil. Recoil in R6 is randomized, just shoot on the wall. in CSGO you can see the pattern. But in R6 there is simply no pattern it all random. The recoil value itself will change every game, it means you can use for example the recoil value of 6 in this match, but in the next match, the same weapon will need recoil value of 3 or even 12.

  16. #14
    secretzz5's Avatar
    Join Date
    Feb 2016
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    1
    How do I use the code in game? Never created my own file for AHK before...

  17. #15
    finkrer's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    162
    Reputation
    10
    Thanks
    628
    My Mood
    Fine
    Quote Originally Posted by yokowasis View Post
    I have tried to create no recoil script with ahk before. It simply doesn't work, because how R6 handle the recoil. Recoil in R6 is randomized, just shoot on the wall. in CSGO you can see the pattern. But in R6 there is simply no pattern it all random. The recoil value itself will change every game, it means you can use for example the recoil value of 6 in this match, but in the next match, the same weapon will need recoil value of 3 or even 12.
    The patterns are random, but more or less the same every time. You can see it when customizing weapons. Each weapon has a value which will work best every time, I don't know where you got that idea.
    Quote Originally Posted by secretzz5 View Post
    How do I use the code in game? Never created my own file for AHK before...
    Just paste it into a new text file, save, and change the extension to .ahk. If you have AHK installed, you can then just launch it like an exe file.

Page 1 of 3 123 LastLast

Similar Threads

  1. [Release] AHK No Recoil 8-2-2014
    By Lokeeh in forum Counter-Strike 2 Scripts
    Replies: 69
    Last Post: 07-23-2015, 05:25 PM
  2. [Outdated] AHK No Recoil
    By toxicmagik in forum Counter-Strike 2 Hacks
    Replies: 66
    Last Post: 04-13-2015, 01:22 PM
  3. [Release] AHK Anti-recoil|Bunny Hop|Burst|Quick-Switch
    By Pentesting in forum Counter-Strike 2 Coding & Resources
    Replies: 75
    Last Post: 12-29-2014, 12:37 AM
  4. AHK Anti-recoil+Burst-fire ALLin1
    By adrmln10 in forum Counter-Strike 2 Discussions
    Replies: 6
    Last Post: 11-18-2014, 11:17 AM
  5. What Is The Best AHK No Recoil Script?
    By puxzeh in forum Counter-Strike 2 Discussions
    Replies: 2
    Last Post: 11-05-2014, 05:21 PM