logitech-gaming-software

math library is missing in the latest update of Logitech G-Hub

好久不见. 提交于 2021-01-13 09:13:34
问题 local delay = math.random(25, 50) [string "LuaVM"]:5: attempt to index a nil value (global 'math') I can't use math.random anymore is there any way to fix this ? 回答1: If math library is missed you can insert the following code block at the beginning of your script. It will not fix the whole math library, but only some of the most frequently used functions (including math.random ). It will also fix the following errors: bad argument #1 to 'Sleep' (number has no integer representation) attempt

Logitech Lua combining Rapid Fire with spray

三世轮回 提交于 2020-08-10 22:04:59
问题 So basically, this is what my script looks like at the moment, it’s a rapid fire macro and reduces the recoil of the guns, however I can never spray with this script for some reason as it’s very slow because I guess it’s reducing the recoil. I was wondering if I could shoot like 4, 5 bullets without any recoil (only auto shoot while holding mouse 3 not while tapping.) and continue with spray like normal spray without any delays while already holding mouse3. So 4 bullets no recoil and rest the

Logitech Lua combining Rapid Fire with spray

让人想犯罪 __ 提交于 2020-08-10 22:02:17
问题 So basically, this is what my script looks like at the moment, it’s a rapid fire macro and reduces the recoil of the guns, however I can never spray with this script for some reason as it’s very slow because I guess it’s reducing the recoil. I was wondering if I could shoot like 4, 5 bullets without any recoil (only auto shoot while holding mouse 3 not while tapping.) and continue with spray like normal spray without any delays while already holding mouse3. So 4 bullets no recoil and rest the

Logitech Lua combining Rapid Fire with spray

假装没事ソ 提交于 2020-08-10 22:02:10
问题 So basically, this is what my script looks like at the moment, it’s a rapid fire macro and reduces the recoil of the guns, however I can never spray with this script for some reason as it’s very slow because I guess it’s reducing the recoil. I was wondering if I could shoot like 4, 5 bullets without any recoil (only auto shoot while holding mouse 3 not while tapping.) and continue with spray like normal spray without any delays while already holding mouse3. So 4 bullets no recoil and rest the

How to reverse the MoveMouseRelative to exact first position when releasing LMB

梦想的初衷 提交于 2020-05-17 05:57:28
问题 I am trying to make a script for Logitech mouse that: Step 1: When LMB is pressed -> do recoil pattern Step 2: When LMB is released -> MoveMouseRelative to exact position before pressed So is there any way to try out step 2? This is the script: local Recoil_Pattern = { {x = 0 ,y = 10 } ,--1st Shot {x = 0 ,y = 10 } ,--2nd Shot (hold LMB 100ms) {x = 0 ,y = 10 } ,--3rd Shot (hold LMB 200ms) {x = 0 ,y = 10 } ,--4rd Shot (hold LMB 300ms) {x = 0 ,y = 10 } ,--5rd Shot (hold LMB 400ms) } local Shot