Page 1 of 8 123 ... LastLast
Results 1 to 15 of 112
  1. #1
    jambon cru's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    32
    My Mood
    Yeehaw

    Cool Logitech No-Recoil script

    Hello, it's my first lua script so dont be rude

    Weapon supported: AK47/M4A4/M4A1/FAMAS/MP9/MAC10

    Lite version Weapon: AK47/M4A4/MP9/MAC10

    (Created for the Logitech G502 but can work with other Logitech mouse !)

     
    AK47: M4A4: MP9:

     
    Code:
    --[[
    Jambon Cru CS:GO No-Recoil for Logitech mouse
    
    /!\ TO DO /!\
    - For Logitech Game Software:
    400 DPI 
    1000 HZ
    - For Windows:
    Sensitivity: 6
    Pointer Precision: OFF
    - For CS:GO:
    Aspect Ratio: 16:9
    Sensitivity: 3.09
    Raw Input: ON
    Mouse Acceleration: OFF
    
    Weapon Supported: AK47/M4A4/M4A1/FAMAS/MP9/MAC10
    
    GLHF :D
    --]]
    
    
    -- [[ KEYS SETUP ]] --
    local Activation_Key = 4 -- key to activate / deactivate the script, default 4 = G4
    local Selection_Key = 6 -- Key to choose weapons, default 6 = precision key
    -- [[ KEYS SETUP ]] --
    
    -- [[ PATTERNS ]] --
    local AK47_Pattern = { 
       { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 5 }, { x = 0, y = 6 }, { x = 0, y = 7 }, { x = 0, y = 7 }, { x = 0, y = 8 }, { x = 0, y = 7 }, { x = 0, y = 6 }, { x = 0, y = 7 }, { x = 0, y = 8 }, { x = -2, y = 8 }, { x = 1, y = 7 }, { x = 3, y = 7 }, { x = 6, y = 7 }, { x = 6, y = 7 }, { x = 6, y = 7 }, { x = 0, y = 7 }, { x = 1, y = 7 }, { x = 2, y = 7 }, { x = 2, y = 8 }, { x = 2, y = 8 }, { x = 2, y = 9 }, { x = -3, y = -4 }, { x = -8, y = -1 }, { x = -15, y = -1 }, { x = -15, y = -1 }, { x = -5, y = 0 }, { x = -5, y = 0 }, { x = -5, y = 0 }, { x = -5, y = 0 }, { x = -1, y = 1 }, { x = 4, y = 2 }, { x = 4, y = 2 }, { x = 5, y = 1 }, { x = -5, y = 1 }, { x = -5, y = 1 }, { x = -10, y = 1 }, { x = -10, y = 0 }, { x = -5, y = 0 }, { x = -3, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = -2, y = 1 }, { x = 6, y = 1 }, { x = 8, y = 2 }, { x = 14, y = 2 }, { x = 15, y = 2 }, { x = 1, y = 2 }, { x = 1, y = 2 }, { x = 1, y = 1 }, { x = 1, y = 1 }, { x = 5, y = 1 }, { x = 6, y = 1 }, { x = 6, y = 1 }, { x = 6, y = 1 }, { x = 6, y = -1 }, { x = 10, y = -1 }, { x = 10, y = -2 }, { x = 10, y = -3 }, { x = 0, y = -5 }, { x = 0, y = 0 }, { x = -5, y = 0 }, { x = -5, y = 0 }, { x = -5, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 1 }, { x = 0, y = 2 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 3, y = 1 }, { x = 3, y = -1 }, { x = 3, y = -1 }, { x = 0, y = 0 }, { x = -3, y = 0 }, { x = -4, y = 0 }, { x = -4, y = 0 }, { x = -4, y = 0 }, { x = -4, y = 0 }, { x = -4, y = 0 }, { x = -7, y = 0 }, { x = -7, y = 0 }, { x = -8, y = 0 }, { x = -8, y = -2 }, { x = -15, y = -3 }, { x = -16, y = -5 }, { x = -18, y = -7 }, { x = 0, y = 0 }, { x = 0, y = 0 },
    }
    local M4A4_Pattern = { 
       { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 4 }, { x = 0, y = 5 }, { x = 0, y = 6 }, { x = 0, y = 7 }, { x = 0, y = 5 }, { x = 0, y = 2 }, { x = 0, y = 5 }, { x = 0, y = 2 }, { x = 0, y = 5 }, { x = 0, y = 6 }, { x = -1, y = 9 }, { x = 0, y = 8 }, { x = 1, y = 6 }, { x = 0, y = 7 }, { x = 0, y = 8 }, { x = 1, y = 8 }, { x = 2, y = 7 }, { x = 2, y = 7 }, { x = 3, y = 4 }, { x = 4, y = -1 }, { x = 4, y = -1 }, { x = 4, y = -1 }, { x = 3, y = 1 }, { x = 3, y = 1 }, { x = 3, y = 1 }, { x = 1, y = 1 }, { x = 0, y = 1 }, { x = -3, y = 1 }, { x = -5, y = 1 }, { x = -8, y = 1 }, { x = -10, y = 1 }, { x = -10, y = 1 }, { x = -10, y = 1 }, { x = -10, y = 1 }, { x = -10, y = 1 }, { x = -5, y = -1 }, { x = -5, y = -1 }, { x = -5, y = -1 }, { x = -5, y = -1 }, { x = 1, y = -1 }, { x = 1, y = -1 }, { x = 2, y = -1 }, { x = 2, y = 2 }, { x = 2, y = 2 }, { x = 2, y = 1 }, { x = 0, y = 1 }, { x = -2, y = 1 }, { x = -2, y = 1 }, { x = -2, y = 1 }, { x = -4, y = -1 }, { x = -4, y = -1 }, { x = -2, y = 1 }, { x = 2, y = 1 }, { x = 4, y = 1 }, { x = 8, y = 0 }, { x = 14, y = 0 }, { x = 18, y = 0 }, { x = 0, y = 0 }, { x = -2, y = 0 }, { x = 0, y = 0 }, { x = 5, y = 0 }, { x = 3, y = 0 }, { x = 2, y = 0 }, { x = 5, y = 0 }, { x = 3, y = 0 }, { x = 2, y = 0 }, { x = 5, y = 0 }, { x = 3, y = 0 }, { x = 2, y = 0 }, { x = 0, y = -1 }, { x = 2, y = -1 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -3, y = 2 }, { x = -3, y = 1 }, { x = 4, y = 2 }, { x = 8, y = 1 }, { x = 12, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 1 },
    }
    local M4A1_Pattern = { 
       { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 2 }, { x = -1, y = 2 }, { x = -1, y = 3 }, { x = 0, y = 3 }, { x = -1, y = 4 }, { x = 1, y = 4 }, { x = 3, y = 5 }, { x = 3, y = 4 }, { x = -1, y = 4 }, { x = -2, y = 4 }, { x = -2, y = 5 }, { x = -1, y = 4 }, { x = -2, y = 4 }, { x = 0, y = 4 }, { x = 0, y = 4 }, { x = 2, y = 4 }, { x = 4, y = 4 }, { x = 5, y = 4 }, { x = 5, y = 4 }, { x = 0, y = 0 }, { x = 1, y = 0 }, { x = 2, y = 0 }, { x = 2, y = 0 }, { x = 3, y = 0 }, { x = -1, y = 3 }, { x = -2, y = 4 }, { x = -2, y = 0 }, { x = -1, y = -2 }, { x = -1, y = 2 }, { x = -2, y = 3 }, { x = -2, y = 5 }, { x = -2, y = 0 }, { x = -5, y = 0 }, { x = -6, y = 0 }, { x = -7, y = -2 }, { x = -6, y = -2 }, { x = -4, y = 0 }, { x = -4, y = 0 }, { x = -4, y = 0 }, { x = -4, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 },
    }
    local FAMAS_Pattern = { 
       { x = 0, y = 0 }, { x = 0, y = 0 }, { x = -1, y = 1 }, { x = -1, y = 3 }, { x = -1, y = 3 }, { x = -2, y = 2 }, { x = -2, y = 3 }, { x = -1, y = 4 }, { x = -1, y = 4 }, { x = 0, y = 5 }, { x = 0, y = 6 }, { x = 1, y = 5 }, { x = 1, y = 5 }, { x = 3, y = 5 }, { x = 3, y = 4 }, { x = 3, y = 2 }, { x = 3, y = 2 }, { x = 4, y = 3 }, { x = 5, y = 4 }, { x = 1, y = 4 }, { x = -2, y = 3 }, { x = -3, y = 3 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -5, y = 2 }, { x = 0, y = 1 }, { x = 0, y = 0 }, { x = 1, y = 1 }, { x = 2, y = 0 }, { x = 3, y = 1 }, { x = 4, y = 1 }, { x = 4, y = 1 }, { x = 3, y = 1 }, { x = 3, y = 1 }, { x = 3, y = 1 }, { x = 5, y = 1 }, { x = 5, y = 1 }, { x = 5, y = 1 }, { x = 5, y = -1 }, { x = 5, y = -1 }, { x = 0, y = -1 }, { x = 1, y = -1 }, { x = 3, y = -2 }, { x = 5, y = -2 }, { x = 0, y = 0 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 1 }, { x = -2, y = 1 }, { x = -3, y = 1 }, { x = -3, y = 1 }, { x = -3, y = 0 }, { x = -3, y = 0 }, { x = -2, y = 0 }, { x = -3, y = 0 }, { x = 0, y = 0 }, { x = 2, y = 0 }, { x = 4, y = -1 }, { x = 4, y = -1 }, { x = 3, y = -2 }, { x = 3, y = -2 }, { x = 3, y = -2 }, { x = 3, y = -2 }, { x = 3, y = -1 }, { x = 3, y = -2 }, { x = 3, y = -1 },
    }
    local MP9_Pattern = { 
       { x = 0, y = 1 }, { x = 0, y = 3 }, { x = 0, y = 3 }, { x = 0, y = 3 }, { x = 0, y = 5 }, { x = 0, y = 5 }, { x = 1, y = 5 }, { x = 1, y = 6 }, { x = 1, y = 7 }, { x = 1, y = 7 }, { x = 0, y = 7 }, { x = -2, y = 8 }, { x = -3, y = 8 }, { x = 0, y = 9 }, { x = 3, y = 9 }, { x = 3, y = 7 }, { x = 5, y = 0 }, { x = 7, y = 1 }, { x = 7, y = 1 }, { x = 8, y = 1 }, { x = 8, y = 1 }, { x = 8, y = 1 }, { x = 8, y = 0 }, { x = 4, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 1 }, { x = -5, y = 1 }, { x = -6, y = 3 }, { x = -6, y = 2 }, { x = -5, y = 2 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -7, y = 3 }, { x = -7, y = 3 }, { x = -7, y = 3 }, { x = -8, y = -3 }, { x = -8, y = -2 }, { x = 0, y = -2 }, { x = 0, y = -2 }, { x = 0, y = -2 }, { x = 3, y = -2 }, { x = 5, y = -1 }, { x = 7, y = 0 }, { x = 7, y = 0 }, { x = 3, y = 0 }, { x = -1, y = 0 }, { x = -1, y = 0 }, { x = -5, y = 1 }, { x = -5, y = 2 }, { x = -7, y = 2 }, { x = -7, y = 2 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = -3, y = 0 }, { x = -3, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 },
    }
    local MAC10_Pattern = { 
       { x = 0, y = 1 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 3 }, { x = 2, y = 5 }, { x = 3, y = 6 }, { x = 4, y = 6 }, { x = 4, y = 6 }, { x = 4, y = 6 }, { x = 4, y = 6 }, { x = 4, y = 6 }, { x = 0, y = 6 }, { x = 0, y = 6 }, { x = -2, y = 6 }, { x = -2, y = 6 }, { x = 1, y = 5 }, { x = 3, y = 5 }, { x = 3, y = 5 }, { x = 3, y = 4 }, { x = 1, y = 2 }, { x = 1, y = 1 }, { x = -2, y = 2 }, { x = -2, y = 2 }, { x = -2, y = 2 }, { x = -2, y = 1 }, { x = -1, y = 1 }, { x = -1, y = 1 }, { x = -1, y = 0 }, { x = -1, y = 1 }, { x = -3, y = 1 }, { x = -5, y = -1 }, { x = -5, y = -1 }, { x = -6, y = -1 }, { x = -7, y = 2 }, { x = -8, y = 2 }, { x = -2, y = 2 }, { x = -2, y = 0 }, { x = -2, y = 0 }, { x = -1, y = 0 }, { x = -1, y = 0 }, { x = -1, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = -3, y = 0 }, { x = -5, y = 0 }, { x = -8, y = 0 }, { x = -4, y = 0 }, { x = 0, y = 0 }, { x = 3, y = 0 }, { x = 6, y = 0 }, { x = 6, y = 0 }, { x = 6, y = 0 }, { x = 6, y = 0 }, { x = 3, y = 0 }, { x = 2, y = 0 }, { x = 3, y = 0 }, { x = 5, y = 0 }, { x = 4, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 },
    }
    -- [[ PATTERNS ]] --
    
    -- [[ SCRIPT ]] --
    local function RetrieveWeaponName(weapon,act)
       if weapon == 1 then 
          return"AK47"
       elseif weapon == 2 then
          return"M4A4"
       elseif weapon == 3 then
          return"M4A1"
       elseif weapon == 4 then
          return"FAMAS"
       elseif weapon == 5 then
          return"MP9"
       elseif weapon == 6 then
          return"MAC10"
       end
       if act then
          return"ON"
       else
          return"OFF"
       end
    end
    local function OutputLogs(weapon, act)
       OutputLogMessage(RetrieveWeaponName(weapon,act).."\n");
       OutputDebugMessage(RetrieveWeaponName(weapon,act).."\n");
       ClearLCD();
       OutputLCDMessage(RetrieveWeaponName(weapon,act));
    end
    local Spray_Randomize = math.random(29,31)
    local Recoil_Activator,R_Weapon_Selector = false,0
    EnablePrimaryMouseButtonEvents(true);
    function OnEvent(event, arg)
       if (event == "MOUSE_BUTTON_PRESSED" and arg == Activation_Key) then
          Recoil_Activator = not Recoil_Activator
          OutputLogs(nil,Recoil_Activator)
       end
       if Recoil_Activator then
          if (event == "MOUSE_BUTTON_PRESSED" and arg == Selection_Key) then
             if R_Weapon_Selector >= 6 then R_Weapon_Selector = 0 end
             R_Weapon_Selector = R_Weapon_Selector + 1
             OutputLogs(R_Weapon_Selector,nil)
          end
          if (R_Weapon_Selector == 1) and IsMouseButtonPressed(1) then
             for i = 1, #AK47_Pattern do
                if IsMouseButtonPressed(1) then
                   Sleep(Spray_Randomize)
                   MoveMouseRelative( AK47_Pattern[i].x, AK47_Pattern[i].y )
                end
             end
          end
          if (R_Weapon_Selector == 2) and IsMouseButtonPressed(1) then
             for i = 1, #M4A4_Pattern do
                if IsMouseButtonPressed(1) then
                   Sleep(Spray_Randomize)
                   MoveMouseRelative( M4A4_Pattern[i].x, M4A4_Pattern[i].y )
                end
             end
          end
          if (R_Weapon_Selector == 3) and IsMouseButtonPressed(1) then
             for i = 1, #M4A1_Pattern do
                if IsMouseButtonPressed(1) then
                   Sleep(Spray_Randomize)
                   MoveMouseRelative( M4A1_Pattern[i].x, M4A1_Pattern[i].y )
                end
             end
          end
          if (R_Weapon_Selector == 4) and IsMouseButtonPressed(1) then
             for i = 1, #FAMAS_Pattern do
                if IsMouseButtonPressed(1) then
                   Sleep(Spray_Randomize)
                   MoveMouseRelative( FAMAS_Pattern[i].x, FAMAS_Pattern[i].y )
                end
             end
          end
          if (R_Weapon_Selector == 5) and IsMouseButtonPressed(1) then
             for i = 1, #MP9_Pattern do
                if IsMouseButtonPressed(1) then
                   Sleep(Spray_Randomize)
                   MoveMouseRelative( MP9_Pattern[i].x, MP9_Pattern[i].y )
                end
             end
          end
          if (R_Weapon_Selector == 6) and IsMouseButtonPressed(1) then
             for i = 1, #MAC10_Pattern do
                if IsMouseButtonPressed(1) then
                   Sleep(Spray_Randomize)
                   MoveMouseRelative( MAC10_Pattern[i].x, MAC10_Pattern[i].y )
                end
             end
          end
       end
    end
    -- [[ SCRIPT ]] --

     
    Code:
    --[[
    Jambon Cru CS:GO No-Recoil Lite Version for Logitech mouse
    
    /!\ TO DO /!\
    - For Logitech Game Software:
    400 DPI 
    1000 HZ
    - For Windows:
    Sensitivity: 6
    Pointer Precision: OFF
    - For CS:GO:
    Aspect Ratio: 16:9
    Sensitivity: 3.09
    Raw Input: ON
    Mouse Acceleration: OFF
    
    Weapon Supported: AK47/M4A4/MP9/MAC10
    
    GLHF :D
    --]]
    
    
    -- [[ KEYS SETUP ]] --
    local Activation_Key = 4 -- key to activate / deactivate the script, default 4 = G4
    local Selection_Key = 6 -- Key to choose weapons, default 6 = precision key
    -- [[ KEYS SETUP ]] --
    
    -- [[ PATTERNS ]] --
    local AK47_Pattern = { 
       { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 5 }, { x = 0, y = 6 }, { x = 0, y = 7 }, { x = 0, y = 7 }, { x = 0, y = 8 }, { x = 0, y = 7 }, { x = 0, y = 6 }, { x = 0, y = 7 }, { x = 0, y = 8 }, { x = -2, y = 8 }, { x = 1, y = 7 }, { x = 3, y = 7 }, { x = 6, y = 7 }, { x = 6, y = 7 }, { x = 6, y = 7 }, { x = 0, y = 7 }, { x = 1, y = 7 }, { x = 2, y = 7 }, { x = 2, y = 8 }, { x = 2, y = 8 }, { x = 2, y = 9 }, { x = -3, y = -4 }, { x = -8, y = -1 }, { x = -15, y = -1 }, { x = -15, y = -1 }, { x = -5, y = 0 }, { x = -5, y = 0 }, { x = -5, y = 0 }, { x = -5, y = 0 }, { x = -1, y = 1 }, { x = 4, y = 2 }, { x = 4, y = 2 }, { x = 5, y = 1 }, { x = -5, y = 1 }, { x = -5, y = 1 }, { x = -10, y = 1 }, { x = -10, y = 0 }, { x = -5, y = 0 }, { x = -3, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = -2, y = 1 }, { x = 6, y = 1 }, { x = 8, y = 2 }, { x = 14, y = 2 }, { x = 15, y = 2 }, { x = 1, y = 2 }, { x = 1, y = 2 }, { x = 1, y = 1 }, { x = 1, y = 1 }, { x = 5, y = 1 }, { x = 6, y = 1 }, { x = 6, y = 1 }, { x = 6, y = 1 }, { x = 6, y = -1 }, { x = 10, y = -1 }, { x = 10, y = -2 }, { x = 10, y = -3 }, { x = 0, y = -5 }, { x = 0, y = 0 }, { x = -5, y = 0 }, { x = -5, y = 0 }, { x = -5, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 1 }, { x = 0, y = 2 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 3, y = 1 }, { x = 3, y = -1 }, { x = 3, y = -1 }, { x = 0, y = 0 }, { x = -3, y = 0 }, { x = -4, y = 0 }, { x = -4, y = 0 }, { x = -4, y = 0 }, { x = -4, y = 0 }, { x = -4, y = 0 }, { x = -7, y = 0 }, { x = -7, y = 0 }, { x = -8, y = 0 }, { x = -8, y = -2 }, { x = -15, y = -3 }, { x = -16, y = -5 }, { x = -18, y = -7 }, { x = 0, y = 0 }, { x = 0, y = 0 },
    }
    local M4A4_Pattern = { 
       { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 4 }, { x = 0, y = 5 }, { x = 0, y = 6 }, { x = 0, y = 7 }, { x = 0, y = 5 }, { x = 0, y = 2 }, { x = 0, y = 5 }, { x = 0, y = 2 }, { x = 0, y = 5 }, { x = 0, y = 6 }, { x = -1, y = 9 }, { x = 0, y = 8 }, { x = 1, y = 6 }, { x = 0, y = 7 }, { x = 0, y = 8 }, { x = 1, y = 8 }, { x = 2, y = 7 }, { x = 2, y = 7 }, { x = 3, y = 4 }, { x = 4, y = -1 }, { x = 4, y = -1 }, { x = 4, y = -1 }, { x = 3, y = 1 }, { x = 3, y = 1 }, { x = 3, y = 1 }, { x = 1, y = 1 }, { x = 0, y = 1 }, { x = -3, y = 1 }, { x = -5, y = 1 }, { x = -8, y = 1 }, { x = -10, y = 1 }, { x = -10, y = 1 }, { x = -10, y = 1 }, { x = -10, y = 1 }, { x = -10, y = 1 }, { x = -5, y = -1 }, { x = -5, y = -1 }, { x = -5, y = -1 }, { x = -5, y = -1 }, { x = 1, y = -1 }, { x = 1, y = -1 }, { x = 2, y = -1 }, { x = 2, y = 2 }, { x = 2, y = 2 }, { x = 2, y = 1 }, { x = 0, y = 1 }, { x = -2, y = 1 }, { x = -2, y = 1 }, { x = -2, y = 1 }, { x = -4, y = -1 }, { x = -4, y = -1 }, { x = -2, y = 1 }, { x = 2, y = 1 }, { x = 4, y = 1 }, { x = 8, y = 0 }, { x = 14, y = 0 }, { x = 18, y = 0 }, { x = 0, y = 0 }, { x = -2, y = 0 }, { x = 0, y = 0 }, { x = 5, y = 0 }, { x = 3, y = 0 }, { x = 2, y = 0 }, { x = 5, y = 0 }, { x = 3, y = 0 }, { x = 2, y = 0 }, { x = 5, y = 0 }, { x = 3, y = 0 }, { x = 2, y = 0 }, { x = 0, y = -1 }, { x = 2, y = -1 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -3, y = 2 }, { x = -3, y = 1 }, { x = 4, y = 2 }, { x = 8, y = 1 }, { x = 12, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 1 }, { x = 0, y = 1 },
    }
    local MP9_Pattern = { 
       { x = 0, y = 1 }, { x = 0, y = 3 }, { x = 0, y = 3 }, { x = 0, y = 3 }, { x = 0, y = 5 }, { x = 0, y = 5 }, { x = 1, y = 5 }, { x = 1, y = 6 }, { x = 1, y = 7 }, { x = 1, y = 7 }, { x = 0, y = 7 }, { x = -2, y = 8 }, { x = -3, y = 8 }, { x = 0, y = 9 }, { x = 3, y = 9 }, { x = 3, y = 7 }, { x = 5, y = 0 }, { x = 7, y = 1 }, { x = 7, y = 1 }, { x = 8, y = 1 }, { x = 8, y = 1 }, { x = 8, y = 1 }, { x = 8, y = 0 }, { x = 4, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 1 }, { x = -5, y = 1 }, { x = -6, y = 3 }, { x = -6, y = 2 }, { x = -5, y = 2 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -5, y = 3 }, { x = -7, y = 3 }, { x = -7, y = 3 }, { x = -7, y = 3 }, { x = -8, y = -3 }, { x = -8, y = -2 }, { x = 0, y = -2 }, { x = 0, y = -2 }, { x = 0, y = -2 }, { x = 3, y = -2 }, { x = 5, y = -1 }, { x = 7, y = 0 }, { x = 7, y = 0 }, { x = 3, y = 0 }, { x = -1, y = 0 }, { x = -1, y = 0 }, { x = -5, y = 1 }, { x = -5, y = 2 }, { x = -7, y = 2 }, { x = -7, y = 2 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = -3, y = 0 }, { x = -3, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 },
    }
    local MAC10_Pattern = { 
       { x = 0, y = 1 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 2 }, { x = 0, y = 3 }, { x = 2, y = 5 }, { x = 3, y = 6 }, { x = 4, y = 6 }, { x = 4, y = 6 }, { x = 4, y = 6 }, { x = 4, y = 6 }, { x = 4, y = 6 }, { x = 0, y = 6 }, { x = 0, y = 6 }, { x = -2, y = 6 }, { x = -2, y = 6 }, { x = 1, y = 5 }, { x = 3, y = 5 }, { x = 3, y = 5 }, { x = 3, y = 4 }, { x = 1, y = 2 }, { x = 1, y = 1 }, { x = -2, y = 2 }, { x = -2, y = 2 }, { x = -2, y = 2 }, { x = -2, y = 1 }, { x = -1, y = 1 }, { x = -1, y = 1 }, { x = -1, y = 0 }, { x = -1, y = 1 }, { x = -3, y = 1 }, { x = -5, y = -1 }, { x = -5, y = -1 }, { x = -6, y = -1 }, { x = -7, y = 2 }, { x = -8, y = 2 }, { x = -2, y = 2 }, { x = -2, y = 0 }, { x = -2, y = 0 }, { x = -1, y = 0 }, { x = -1, y = 0 }, { x = -1, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = -3, y = 0 }, { x = -5, y = 0 }, { x = -8, y = 0 }, { x = -4, y = 0 }, { x = 0, y = 0 }, { x = 3, y = 0 }, { x = 6, y = 0 }, { x = 6, y = 0 }, { x = 6, y = 0 }, { x = 6, y = 0 }, { x = 3, y = 0 }, { x = 2, y = 0 }, { x = 3, y = 0 }, { x = 5, y = 0 }, { x = 4, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 }, { x = 0, y = 0 },
    }
    -- [[ PATTERNS ]] --
    
    -- [[ SCRIPT ]] --
    local function RetrieveWeaponName(weapon,act)
       if act == 1 then
          if weapon == 1 then
             return"AK47"
          elseif weapon == 2 then
             return"MP9"
          end
          return"T: ON"
       elseif act == 2 then
          if weapon == 1 then
             return"M4A4"
          elseif weapon == 2 then
             return"MAC10"
          end
          return"CT: ON"
       end
       return"OFF"
    end
    local function OutputLogs(weapon, act)
       OutputLogMessage(RetrieveWeaponName(weapon,act).."\n");
       OutputDebugMessage(RetrieveWeaponName(weapon,act).."\n");
       ClearLCD();
       OutputLCDMessage(RetrieveWeaponName(weapon,act));
    end
    local Spray_Randomize = math.random(29,31)
    local Recoil_Activator,R_Weapon_Selector = 0,0
    EnablePrimaryMouseButtonEvents(true);
    function OnEvent(event, arg)
       if (event == "MOUSE_BUTTON_PRESSED" and arg == Activation_Key) then
          if Recoil_Activator >= 3 then Recoil_Activator = 0 end
          Recoil_Activator = Recoil_Activator + 1
          OutputLogs(R_Weapon_Selector or nil,Recoil_Activator)
       end
       if (event == "MOUSE_BUTTON_PRESSED" and arg == Selection_Key) then
          if R_Weapon_Selector >= 2 then R_Weapon_Selector = 0 end
          R_Weapon_Selector = R_Weapon_Selector + 1
          OutputLogs(R_Weapon_Selector,Recoil_Activator)
       end
       if Recoil_Activator == 1 then
          if (R_Weapon_Selector == 1) and IsMouseButtonPressed(1) then
             for i = 1, #AK47_Pattern do
                if IsMouseButtonPressed(1) then
                   Sleep(Spray_Randomize)
                   MoveMouseRelative( AK47_Pattern[i].x, AK47_Pattern[i].y )
                end
             end
          end
          if (R_Weapon_Selector == 2) and IsMouseButtonPressed(1) then
             for i = 1, #M4A4_Pattern do
                if IsMouseButtonPressed(1) then
                   Sleep(Spray_Randomize)
                   MoveMouseRelative( M4A4_Pattern[i].x, M4A4_Pattern[i].y )
                end
             end
          end
       elseif Recoil_Activator == 2 then
          if (R_Weapon_Selector == 1) and IsMouseButtonPressed(1) then
             for i = 1, #MP9_Pattern do
                if IsMouseButtonPressed(1) then
                   Sleep(Spray_Randomize)
                   MoveMouseRelative( MP9_Pattern[i].x, MP9_Pattern[i].y )
                end
             end
          end
          if (R_Weapon_Selector == 2) and IsMouseButtonPressed(1) then
             for i = 1, #MAC10_Pattern do
                if IsMouseButtonPressed(1) then
                   Sleep(Spray_Randomize)
                   MoveMouseRelative( MAC10_Pattern[i].x, MAC10_Pattern[i].y )
                end
             end
          end
       else
          -- OFF
       end
    end
    -- [[ SCRIPT ]] --

    Last edited by Ahlwong; 06-24-2018 at 05:10 PM.

  2. The Following 30 Users Say Thank You to jambon cru For This Useful Post:

    a1411931076 (01-08-2021),ademmbykts (03-07-2020),Adi2071 (10-10-2018),Andytfup (01-26-2019),bananasmaxi (02-01-2020),BHOPPL (12-27-2018),bolsamustaine (01-22-2022),chichann (12-01-2020),cuongcbvn (12-10-2018),darkbl3yz (08-30-2021),Erarkangel (05-21-2019),hacker650127 (11-02-2019),hungmantao (03-25-2021),joakopo (01-21-2020),k178237 (05-29-2020),lucasferreira3030 (12-22-2018),MaxLevel (12-17-2018),niqhtblood41 (03-08-2020),Notjohn173 (11-04-2018),reset1213 (11-27-2018),rodyflores (01-15-2021),Saiishy (04-09-2019),SAURONS (08-12-2019),SEFgAESFGAeff (11-16-2018),smakeloos (12-25-2018),stadtpirat (07-26-2018),stanleycsgo13 (07-14-2019),suttabehenchodteri (04-23-2019),xxx10tacion (06-17-2018),yoopigo (12-18-2018)

  3. #2
    xxx10tacion's Avatar
    Join Date
    Mar 2018
    Gender
    female
    Posts
    10
    Reputation
    10
    Thanks
    2
    My Mood
    Worried
    how to change sensitivity?

  4. The Following 2 Users Say Thank You to xxx10tacion For This Useful Post:

    bananasmaxi (02-01-2020),Erarkangel (05-21-2019)

  5. #3
    xxx10tacion's Avatar
    Join Date
    Mar 2018
    Gender
    female
    Posts
    10
    Reputation
    10
    Thanks
    2
    My Mood
    Worried
    works, but dunno how to understand exactly what mode is working now

  6. #4
    sanjee1337's Avatar
    Join Date
    Nov 2017
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    not work... logitech g102

  7. #5
    MasterDMFourr's Avatar
    Join Date
    Sep 2017
    Gender
    male
    Posts
    44
    Reputation
    10
    Thanks
    5
    Is there a way you can add it so it either shows which gun is currently selected or make it so it is possible to press different keys for different guns?

    Also, is there a way to add a label that says when it is on/off?
    Last edited by MasterDMFourr; 06-23-2018 at 07:43 PM.

  8. #6
    jambon cru's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    32
    My Mood
    Yeehaw
    Script updated !

    Added Lite version and some function to output script state
    Last edited by jambon cru; 06-24-2018 at 12:12 PM.

  9. #7
    sanjee1337's Avatar
    Join Date
    Nov 2017
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0

    please

    Quote Originally Posted by jambon cru View Post
    Script updated !

    Added Lite version and some function to output script state

    https://******.com/JambonCru/Logitech-CS-GO-NoRecoil
    make for g102 (Please)
    Last edited by sanjee1337; 06-24-2018 at 12:04 AM. Reason: please

  10. #8
    jambon cru's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    32
    My Mood
    Yeehaw
    Quote Originally Posted by sanjee1337 View Post
    make for g102 (Please)
    I do not have g102 to test

    but you can try to change Activation_Key / Selection_Key !

  11. #9
    T-800's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    Romania
    Posts
    17,076
    Reputation
    1688
    Thanks
    84,838
    @jambon cru , ****** links are not allowed.

    "Never stop being a good person because of bad people"


    Super User -> 15-7-2020
    Global Moderator -> 23-3-2019 - 15-7-2020
    Steam Moderator -> 12-12-2017 - 23-3-2019
    Steam Minion+ -> 09-04-2017 - 12-12-2017
    Steam Minion -> 03-01-2017 - 09-04-2017


  12. #10
    zotaac's Avatar
    Join Date
    Nov 2017
    Gender
    male
    Posts
    48
    Reputation
    10
    Thanks
    2
    My Mood
    Angelic
    dont know how to activate it
    Last edited by zotaac; 06-24-2018 at 08:00 AM.

  13. #11
    jambon cru's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    32
    My Mood
    Yeehaw
    Quote Originally Posted by T-800 View Post
    @jambon cru , ****** links are not allowed.
    ****** link removed thanks you !

    Quote Originally Posted by zotaac View Post
    dont know how to activate it
    look at Activation_Key / Selection_Key
    Last edited by jambon cru; 06-24-2018 at 12:25 PM.

  14. The Following User Says Thank You to jambon cru For This Useful Post:

    zotaac (06-24-2018)

  15. #12
    Ally's Avatar
    Join Date
    Dec 2014
    Gender
    female
    Location
       ♥
    Posts
    8,697
    Reputation
    1610
    Thanks
    8,499
    My Mood
    Angelic
    if you want to have your thread changed upload the change into a pastebin @jambon cru

    Premium Member 22/4/16
    Steam Minion 22/12/2017
    OFPS Minion 5/2/2019
    MMO Minion 5/2/2019
    Minion+ 5/2/2019
    Mod 8/11/2020
    Retired 3/10/2022
    22 / Dec 7, 2001

  16. #13
    father00's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    earth 2.0
    Posts
    103
    Reputation
    10
    Thanks
    116
    My Mood
    Amazed
    can i use it on g102 prodigy?

  17. #14
    sanjee1337's Avatar
    Join Date
    Nov 2017
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    create ground strafe script please

  18. #15
    KonstaNiNopels's Avatar
    Join Date
    Jul 2018
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    How to active it bro?

    - - - Updated - - -

    what is 4 and g4 key

Page 1 of 8 123 ... LastLast

Similar Threads

  1. [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
  2. [Help] Logitech no recoil lua script
    By ql420 in forum Rust Discussions & Help
    Replies: 1
    Last Post: 01-25-2019, 07:45 PM
  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. [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
  5. [Solved] AK47 Logitech Mouse No Recoil Script is not moving mouse
    By ares0027 in forum Counter-Strike 2 Help
    Replies: 8
    Last Post: 03-27-2015, 09:42 PM