Results 1 to 2 of 2
  1. #1
    ql420's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    21
    Reputation
    21
    Thanks
    1

    Logitech no recoil lua script

    just wondering been trying to get this to work with the logitech mouse software but it don't work at all
    i have a g402

    Code:
    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)  -- to prevent it from being stuck on
        end
        if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then
            recoil = not recoil
            spot = not spot
        end
       if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil) then
            if recoil then
                repeat
                    --Sleep(19)
                    Sleep(19)
                    MoveMouseRelative(0, 6)
                    Sleep(19)
                    MoveMouseRelative(-7, 7)
                    Sleep(19)
                    MoveMouseRelative(-6, 7)
                    Sleep(19)
                    MoveMouseRelative(5, 7)
                    Sleep(19)
                    MoveMouseRelative(8, 7)
                until not IsMouseButtonPressed(1)
            end
        end
    end

  2. #2
    AmericanHawk1's Avatar
    Join Date
    Jul 2013
    Gender
    female
    Posts
    93
    Reputation
    14
    Thanks
    3
    My Mood
    Bitchy
    That script is public and is detected. If your mouse moves in that EXACT pattern to much, you will be banned. BEWARE!

    - - - Updated - - -

    if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) {This is the 5th number on your mouse btw} {Go look in your Logitech Gaming Software and see what #5 is assigned to)

Similar Threads

  1. [Release] Logitech lua-script no recoil bf4 ( AEK-971 - ACE 23 - Bulldog )
    By theycallmebigbrother in forum Battlefield 4 Hacks & Cheats
    Replies: 22
    Last Post: 08-22-2021, 07:13 PM
  2. [Source Code] Logitech LUA recoil reduce Script! - work on every mouse
    By lumpi999 in forum Battlefield 1 Hacks & Cheats
    Replies: 7
    Last Post: 12-19-2020, 09:58 AM
  3. [Source Code] Logitech LUA recoil reduce Script! for every Game!
    By lumpi999 in forum Battlefield Hardline Hacks & Cheats
    Replies: 2
    Last Post: 11-01-2018, 02:50 PM
  4. [Help] Logitech LUA script, no recoil with RAPID FIRE (HELP)
    By crxismyfriend in forum PLAYERUNKNOWN'S BATTLEGROUNDS (PUBG) Hacks & Cheats
    Replies: 6
    Last Post: 08-19-2017, 05:07 PM
  5. [Source Code] Logitech LUA recoil reduce Script! for every Game!
    By lumpi999 in forum Battlefield 4 Hacks & Cheats
    Replies: 2
    Last Post: 02-28-2016, 11:23 PM