罗技G502 绝地求生:大逃杀压枪跳窗鼠标宏

发布于 / 作品 / 12 条评论

介绍

主要针对M4,M16,AK三种枪的压枪,官方现在已经不允许压枪宏的使用了,会被判断成外挂,所以谨慎使用,跳窗宏还是可以使用的,目前宏官方似乎检查力度比较小,被封号的都是一些变态挂。

跳窗宏也可以用我写的另一个软件(无需宏鼠标):

自己写的一个绝地求生 大跳 跳窗 的程序

朋友玩绝地求生大逃杀一直无法跳窗,有时被堵在楼上无法下去,有的玩家有鼠标宏,我想就按照鼠标宏的方式写了个键盘宏,只是随便写的所有无法自定义,后期有 ...
https://hongkai.me/70-pubg-jump-macro.html

使用

先下载配置文件导入到罗技游戏软件内,改成默认配置就可以了
开启M16压枪scrolllock灯会亮, 开启AK压枪scrolllock灯会亮,两个都开启是M4的压枪,都关闭是连续开枪(全自动),开枪键是左键边上的返回键
这个宏只要是可编程的罗技鼠标都可以使用,自己改一下键位就可以了。

脚本

EnablePrimaryMouseButtonEvents(true)
function OnEvent(event, arg)
	OutputLogMessage("event = %s, arg = %s\n", event, arg);
	if (event == "MOUSE_BUTTON_PRESSED" and arg == 8) then
		--开启M4压枪
		if( IsKeyLockOn("capslock" ) and IsKeyLockOn("scrolllock" ) ) then
			m4()
		--开启M16压枪
		elseif ( IsKeyLockOn("capslock" )) then
			m16()
		--开启AK压枪
		elseif ( IsKeyLockOn("scrolllock" )) then
			ak()
		else
			wuxian()
		end
    end
	--关闭所有压枪
	if (event == "MOUSE_BUTTON_PRESSED" and arg == 10) then
		if ( IsKeyLockOn("capslock" )) then
			PressAndReleaseKey("capslock")
		end
		if ( IsKeyLockOn("scrolllock" )) then
			PressAndReleaseKey("scrolllock")
		end
		
    end
end

shotTime = 0
--shotNumber = 1.0
--EnablePrimaryMouseButtonEvents(true)
function wuxian()
	while (true) do
        if (IsMouseButtonPressed(4)) then
            PressAndReleaseMouseButton(1)--按下并且释放
            Sleep(30)
        else
            break
        end
    end
end
function m16()
	OutputLogMessage("m16")
    shotTime = 0
    while (true) do
        if (IsMouseButtonPressed(4)) then
            PressAndReleaseMouseButton(1)--按下并且释放
            if shotTime > 1840 then
                MoveMouseRelative(0, 10)
            elseif shotTime > 1000 then
                MoveMouseRelative(0, 9)
            elseif shotTime > 680 then
                MoveMouseRelative(0, 11)
            elseif shotTime < 680 then MoveMouseRelative(0, 7) end Sleep(30) shotTime = shotTime + 30 else break end end end function ak() OutputLogMessage("ak") shotTime = 0 while (true) do if (IsMouseButtonPressed(4)) then if shotTime > 1400 then
                MoveMouseRelative(0, 8.5)
            elseif shotTime > 1000 then
                MoveMouseRelative(0, 9)
            elseif shotTime < 1000 then MoveMouseRelative(0, 6) end PressAndReleaseMouseButton(1) Sleep(30) shotTime = shotTime + 30 else break end end end function m4() OutputLogMessage("m4") shotTime = 0 --shotNumber = 1.0 while (true) do if (IsMouseButtonPressed(4)) then PressAndReleaseMouseButton(1) if shotTime > 1000 then
            elseif shotTime > 1400 then
            elseif shotTime > 1000 then
                MoveMouseRelative(0, 12)
            elseif shotTime > 600 then
                MoveMouseRelative(0, 12)
            elseif shotTime < 600 then
                MoveMouseRelative(0, 7)
            end
            Sleep(30)
            shotTime = shotTime + 30
        else
            break
        end
    end
end

https://pan.baidu.com/s/1miGGnzU 密码:fw9v

转载原创文章请注明,转载自: 洪凯的博客 » 罗技G502 绝地求生:大逃杀压枪跳窗鼠标宏

  1. 請問凱兄 三種步槍配紅點瞄準或全息瞄準都皆可使用嗎?

    1. @DLG 都能用 红点全息一样
  2. 为什么会有shottime>1200的情况?最多也就40发子弹啊。

    1. @afa 懂了
  3. 請問現在版本 這還能使用嗎?

    1. @FTT4330 压枪宏还是可以的
  4. 下载不了呀

  5. 你这是C语言??

  6. 博主你好,我用的就是502鼠标,使用了配置文件以后两个指示灯都亮起,但是没有任何压枪效果啊。。。求助
    而且,我按左键边上的返回键是打开地图。

    1. @HANICE 压枪键是左键边上那个键(G8),把这个键设置成返回
  7. 不懂求教

  8. 不错!