96辅助游戏论坛 - 辅助工具|www.96fuzhu.com

 找回密码
 立即注册
5498057
117612016
查看: 5765|回复: 2

吃鸡鼠标宏数据

[复制链接]
发表于 2017-12-14 01:29 | 显示全部楼层 |阅读模式
-- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
AKHD = {{120, 40}, {100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100},
--
{140, 050, 054, 058, 069, 083, 089, 086, 080, 075, 075, 077, 083, 084, 088}}
-- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
AKSB = {{90, 40}, {80, 80, 80, 80, 80, 80, 80, 80}, {250, 250, 250}}
-- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
M16HD = {{90, 40}, { 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080, 080},
--
{ 043, 061, 060, 058, 047, 062, 067}}
-- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
M16SB = {{90, 40}, {80, 80, 80, 80, 80, 80, 80, 80}, {250,250}}
function Yids(y)
local b = y
while (b>0) do
if(b-100>=0)then
MoveMouseRelative(0, 100)
OutputLogMessage("YD-1")
else
MoveMouseRelative(0, b)
OutputLogMessage("YD-2")
end
b=b-100
end
end
function Yaql(X)
local ciuu = X[1][2]
local uijm = 0
local i = 1
while (true) do
if(IsMouseButtonPressed(1)) then
OutputLogMessage(X[2])
PlayMacro("UEJI")
Yids(X[3])
Sleep(X[1][1])
uijm = uijm+X[1][1]
if(uijm>X[2] and i<X[1][2])then
i = i+1
uijm = 0
end
else
break
end
end
end
HD = AKHD
SB = AKSB
YBYS = AKHD
ys = 0
EnablePrimaryMouseButtonEvents(true)
function OnEvent(event, arg)
if(event == "MOUSE_BUTTON_PRESSED" and arg == 4) then
HD = AKHD
SB = AKSB
OutputLogMessage("AK")
end
if(event == "MOUSE_BUTTON_PRESSED" and arg == 5) then
HD = M16HD
SB = M16SB
OutputLogMessage("M16")
end
if(event == "MOUSE_BUTTON_PRESSED" and arg == 1) then
if IsKeyLockOn("scrolllock") then
YBYS = SB
else
YBYS = HD
end
Yaql(YBYS)
end
end

这组AK的数据,射击间隔120,目前可以实现控制每发子弹,比如说中间的时间控制为{100,100,100,100}的话,控制时长100小于射击间隔120,那么脚本会执行一次循环,也就是点一次射击建,然后下移一次鼠标,大于120,小于等于240的话,会压两次,距离控制与时间间隔对应



AKHD = {{120, 40}, {100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100},
{140, 050, 054, 058, 069, 083, 089, 086, 080, 075, 075, 077, 083, 084, 088}}
AKSB = {{90, 40}, {80, 80, 80, 80, 80, 80, 80, 80}, {250, 250, 250}}
M16HD = {{90, 40}, {},{ 043, 061, 060, 058, 047, 062, 067}}
M16SB = {{90, 40}, {80, 80, 80, 80, 80, 80, 80, 80}, {250,250}}
function Yids(y)
local b = y
while (b>0) do
if(b-100>=0)then
MoveMouseRelative(0, 100)
OutputLogMessage("YD-1")
else
MoveMouseRelative(0, b)
OutputLogMessage("YD-2")
end
b=b-100
end
end
function Yaql(X)
local ciuu = X[1][2]
local uijm = 0
local i = 1
while (true) do
if(IsMouseButtonPressed(1)) then
OutputLogMessage(X[2])
PlayMacro("UEJI")
Yids(X[3])
Sleep(X[1][1])
uijm = uijm+X[1][1]
if(uijm>X[2] and i<X[1][2])then
i = i+1
uijm = 0
end
else
break
end
end
end
HD = AKHD
SB = AKSB
YBYS = AKHD
ys = 0
EnablePrimaryMouseButtonEvents(true)
function OnEvent(event, arg)
if(event == "MOUSE_BUTTON_PRESSED" and arg == 4) then
HD = AKHD
SB = AKSB
OutputLogMessage("AK")
end
if(event == "MOUSE_BUTTON_PRESSED" and arg == 5) then
HD = M16HD
SB = M16SB
OutputLogMessage("M16")
end
if(event == "MOUSE_BUTTON_PRESSED" and arg == 1) then
if IsKeyLockOn("scrolllock") then
YBYS = SB
else
YBYS = HD
end
Yaql(YBYS)
end
end

鼠标4号键位,切换AK数据,5号键位切换M16数据,打开SCROLLLOCK灯以后,为4倍镜的数据







回复

使用道具 举报

 楼主| 发表于 2017-12-14 01:29 | 显示全部楼层
是罗技的代码
回复 支持 反对

使用道具 举报

发表于 2017-12-16 05:00 | 显示全部楼层
66666666666666
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|96辅助游戏论坛

GMT+8, 2024-11-23 05:07 , Processed in 0.055602 second(s), 18 queries .

Powered by Discuz! X3.4

© 2016-2023 Comsenz Inc.

快速回复 返回顶部 返回列表