PUBG罗技G502压枪鼠标宏怎么设置?会封号吗?
3个月前 (01-25)
0 点赞
0 收藏
0 评论
32 已阅读
臭卖宏的,脸都不要了,就写个脚本好意思收费一百,还拽的要命,吐了。
来更新一波,周末愉快!本人长期使用与Pubg,berry762压枪,亲测不会封号,罗技游戏鼠标可用。
目前搞了两种激活方式,第一种:键盘Caps切换开关,此时点左键会连续往下移。
DefaultNum=5 //代表下压的速度,越大越快count=0j=0function OnEvent(event, arg) OutputLogMessage("event = %s, arg = %s\n", event, arg)EnablePrimaryMouseButtonEvents(true) ;--鼠标左键开启if(IsMouseButtonPressed(1) and IsKeyLockOn("capslock")) thenif(arg == 1) thencount=0for i = 0 ,1000 do j=0 count=count+1 //此处是线性加速,+1设置越大越快。 j=count/200 // 200也是越小,加速越快。 j=j+DefaultNumif(IsMouseButtonPressed(1) ) thenMoveMouseRelative(0,math.floor(j))Sleep(8)OutputLogMessage(math.floor(j).."/r/")endendendendend
111111.第二种:鼠标侧键控制开关,按住右键的同时按住左键会下压(适合和我一样设置按住开镜)
local fireStatus = falselocal right_click = falselocal light = "capslock"EnablePrimaryMouseButtonEvents(true)DefaultNum=5count=0j=0function OnEvent(event, arg) OutputLogMessage("event = %s, arg = %s\n", event, arg) if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then fireStatus = not fireStatus OutputLogMessage("/r/7") endif (event == "MOUSE_BUTTON_PRESSED" and arg == 2 and fireStatus) then right_click = true end if (event == "MOUSE_BUTTON_RELEASED" and arg == 2 and right_click) then right_click = false end if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and right_click) thenif(arg == 1) thencount=0for i = 0 ,1000 do j=0 count=count+1 j=count/200 j=j+DefaultNumif(IsMouseButtonPressed(1) ) thenMoveMouseRelative(0,math.floor(j))Sleep(8)OutputLogMessage(math.floor(j).."/r/")endendendendend
1.
鼠标悬空的效果。https://www.zhihu.com/video/1676021284906057729
1.1 啦啦啦上班摸鱼又来更新啦
帮一个知友写的,两个按键按住连点的。
DpiAddBtnNum=5 --DPI+按钮的arg数字DpiSubBtnNum=4 --DPI-按钮的arg数字DpiAddSpeed=2 --DPI+按钮下移速度DpiSubSpeed=4 --DPI-按钮下移速度DpiAddInterval=8 --DPI+ 按下鼠标左键间隔时间DpiSubInterval=10 --DPI- 按下鼠标左键间隔时间function OnEvent(event, arg) OutputLogMessage("event = %s, arg = %s\n", event, arg)--按哪个键下面控制台提示 arg==数字EnablePrimaryMouseButtonEvents(true) ;if(IsMouseButtonPressed(DpiAddBtnNum)) thenif(arg == DpiAddBtnNum) thenfor i = 0 ,1000 doif(IsMouseButtonPressed(DpiAddBtnNum) ) thenMoveMouseRelative(0,DpiAddSpeed)--RandomSleep(5, 5) --速度太快可以增加间隔PressMouseButton(1)--RandomSleep(5, 5)ReleaseMouseButton(1)Sleep(DpiAddInterval)endendendendif(IsMouseButtonPressed(DpiSubBtnNum)) thenif(arg == DpiSubBtnNum) thenfor i = 0 ,1000 doif(IsMouseButtonPressed(DpiSubBtnNum) ) thenMoveMouseRelative(0,DpiSubSpeed)--RandomSleep(5, 5)PressMouseButton(1)--RandomSleep(5, 5)ReleaseMouseButton(1)Sleep(DpiSubInterval)endendendendendfunction RandomSleep(base, rand) math.randomseed(GetRunningTime()) random=rand * math.random() Sleep(base + math.floor(random)) --OutputLogMessage(base + math.floor(random).."/r/")end
2.如果对你有帮助的点个赞吧。
还没有任何评论,你来说两句吧