Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 31
  1. #16
    unc4anny's Avatar
    Join Date
    May 2020
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by trigger_2309 View Post
    I am using this myself

    it keeps going from top right to bottom left (diagonal) but can't get it to stay dead straight


    any ideas?


    function OnEvent(event, arg)
    OutputLogMessage("event = %s, arg = %d\n", event, arg)
    if (event == "PROFILE_ACTIVATED") then
    EnablePrimaryMouseButtonEvents(true)
    elseif event == "PROFILE_DEACTIVATED" then
    ReleaseMouseButton(2)
    end
    if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then -- 3 = G3
    recoil = not recoil
    spot = not spot
    end
    if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil) then -- 1 = G1
    if recoil then
    repeat
    -- right
    MoveMouseRelative(0,0)
    Sleep(15)
    -- left
    MoveMouseRelative(-1, 2)
    Sleep(15)
    until not IsMouseButtonPressed(1)
    end
    end
    end
    I belive is related to function call of MoveMouseRelative
    from docs
    Code:
    MoveMouseRelative
    The MoveMouseRelative() function is used to simulate relative mouse movement. NOTE:
    Calling GetMousePosition immediately afterwards, will likely return the previous state. It will
    take a few milliseconds for the operation to complete.
    MoveMouseRelative( x, y, )
    Parameters
    x
    Movement along the x-axis
    Y
    Movement along the y-axis
    Return Values
    nil
    Remarks
    Positive x values simulate movement to right.
    Negative x values simulate movement to left.
    Positive y values simulate movement downwards.
    Negative y values simulate movement upwards.
    Example
    -- Simulate relative mouse movement upwards in 1 pixel increments
    for i = 0, 50 do
    MoveMouseRelative(0, -1)
    Sleep(8)
    end

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

    trigger_2309 (05-23-2020)

  3. #17
    vacmeister0's Avatar
    Join Date
    Oct 2016
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    What am I supposed to do with this text? Where do I put it? What program? I have a Logitech mouse. An explanation would be nice.


    edit: nvm I found out
    Last edited by vacmeister0; 05-24-2020 at 04:04 AM.

  4. #18
    haze89's Avatar
    Join Date
    May 2020
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by sbuj View Post


    tweak it to find your settings, instructions are on post
    can you share us your setting?
    just tried but notice nothing difference.
    am i missing something?
    and the script writing should i follow the spacing just like the one in your txt or move everything to the left like the one on this below?
    sorry i'm just new to this.
    i would be really helpful if you can share the LUA file
    a lot of thanks!

    EnablePrimaryMouseButtonEvents(true);
    function OnEvent(event, arg)
    if IsKeyLockOn("numlock" )then
    if IsMouseButtonPressed(3)then
    repeat
    if IsMouseButtonPressed(1) then
    repeat
    --right
    MoveMouseRelative(1,10)
    Sleep(40)
    --left
    MoveMouseRelative(-1, 0)
    Sleep(40)
    until not IsMouseButtonPressed(1)
    end
    until not IsMouseButtonPressed(3)
    end
    end
    end

  5. #19
    popsingh123's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    In ur mom
    Posts
    712
    Reputation
    14
    Thanks
    97
    My Mood
    Aggressive
    isn't working for me, using it in lg hub with g pro mouse modern warfare. what do you mean by press left? left arrow?
    how do i know if its active? doesn't do anything for me
    [img]https://i1010.photobucke*****m/albums/af225/M-1103/popsingh.jpg[/img]

  6. #20
    popsingh123's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    In ur mom
    Posts
    712
    Reputation
    14
    Thanks
    97
    My Mood
    Aggressive
    yes numlock on
    edit: will be so greatful if someone can give me a tutorial, my script seems to load but my recoil seems to be not changed at all
    Tested with num on and off
    Last edited by popsingh123; 06-01-2020 at 03:35 AM.
    [img]https://i1010.photobucke*****m/albums/af225/M-1103/popsingh.jpg[/img]

  7. #21
    trigger_2309's Avatar
    Join Date
    Apr 2014
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    5
    if you change the values on the right side it with go up and down
    the values on the left for right and left


    Example (0,0)
    (-1,2) <---- the first number has to be minus or 0
    this will make it do down and left but

    if you want it down and right......
    (1,0)
    (0,2)
    if you don't want it to go down change value "2" to 0
    change values more or less

  8. #22
    popsingh123's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    In ur mom
    Posts
    712
    Reputation
    14
    Thanks
    97
    My Mood
    Aggressive
    got it to work ingame but my cursor doesn't go down when im holding the fire button, it only goes down by 1 unit instead of keep going down when im holding the fire button
    [img]https://i1010.photobucke*****m/albums/af225/M-1103/popsingh.jpg[/img]

  9. #23
    trigger_2309's Avatar
    Join Date
    Apr 2014
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    5
    which script you using? try this one.... its forward on the side of the mouse to active and deactivate

    function OnEvent(event, arg)
    OutputLogMessage("event = %s, arg = %d\n", event, arg)
    if (event == "PROFILE_ACTIVATED") then
    EnablePrimaryMouseButtonEvents(true)
    elseif event == "PROFILE_DEACTIVATED" then
    ReleaseMouseButton(2)
    end
    if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then -- 3 = G3
    recoil = not recoil
    spot = not spot
    end
    if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil) then -- 1 = G1
    if recoil then
    repeat
    -- right
    MoveMouseRelative(0,0)
    Sleep(15)
    -- left
    MoveMouseRelative(-1, 2)
    Sleep(15)
    until not IsMouseButtonPressed(1)
    end
    end
    end
    Last edited by trigger_2309; 06-03-2020 at 11:37 AM.

  10. #24
    aaaaaaaaaeaeraeaeaeaea's Avatar
    Join Date
    Mar 2019
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    1
    Hey guys, i've never actually used a script before. I have a G502 and GHUB installed, how do i use this?

  11. #25
    slydevil24's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by trigger_2309 View Post
    which script you using? try this one.... its forward on the side of the mouse to active and deactivate

    function OnEvent(event, arg)
    OutputLogMessage("event = %s, arg = %d\n", event, arg)
    if (event == "PROFILE_ACTIVATED") then
    EnablePrimaryMouseButtonEvents(true)
    elseif event == "PROFILE_DEACTIVATED" then
    ReleaseMouseButton(2)
    end
    if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then -- 3 = G3
    recoil = not recoil
    spot = not spot
    end
    if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil) then -- 1 = G1
    if recoil then
    repeat
    -- right
    MoveMouseRelative(0,0)
    Sleep(15)
    -- left
    MoveMouseRelative(-1, 2)
    Sleep(15)
    until not IsMouseButtonPressed(1)
    end
    end
    end
    this works for me in desktop but not in game... why is that?

  12. #26
    trigger_2309's Avatar
    Join Date
    Apr 2014
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    5
    you have to load call of duty up then open call of duty on logitech software and make lua script in there not desktop

  13. #27
    iibeard's Avatar
    Join Date
    Jun 2020
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    can anyone explain how to do this?

  14. #28
    pedrodeath's Avatar
    Join Date
    May 2016
    Gender
    female
    Posts
    1
    Reputation
    10
    Thanks
    0
    how to adapt to FAL with rapid fire?

  15. #29
    EchoZulu's Avatar
    Join Date
    Jul 2020
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    New

    Is there a link to a thread that walks me through exactly what I'm supposed to do with this script

  16. #30
    zewmin's Avatar
    Join Date
    Jan 2022
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Cool script work on (hero and general) game . 21.1.2022

    i dont know this recoil script is for universal or not but it work pretty good on Hero&General, i use AVS gun and test your recoil and it working fine, also a little tweak gave me more stable aim . anyway thanks for sharing this simple amazing script.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. [Release] Simple AHK PUBG Recoil Script
    By Future in forum PLAYERUNKNOWN'S BATTLEGROUNDS (PUBG) Hacks & Cheats
    Replies: 28
    Last Post: 07-25-2023, 10:44 AM
  2. [Source Code] Logitech No-Recoil Script
    By frcastro in forum Counter-Strike 2 Scripts
    Replies: 32
    Last Post: 05-01-2021, 06:14 AM
  3. [Release] Logitech No-Recoil script
    By jambon cru in forum Counter-Strike 2 Scripts
    Replies: 111
    Last Post: 03-20-2021, 10:28 PM
  4. [Release] Logitech No Recoil Script
    By pharoh in forum Planetside 2 Hacks & Cheats
    Replies: 23
    Last Post: 06-29-2020, 12:13 AM
  5. Logitech No Recoil Script to Razer
    By hepht in forum Rainbow Six: Siege Discussions & Help
    Replies: 2
    Last Post: 10-24-2018, 03:18 PM