|
作为上班族,唯一的爱好就是游戏,玩的时间都少,却忍不住买了通行证,结果发现肝不到满级。每天6个小时才能刷满,跟上班没区别。于是就想解放劳动力,挂机刷经验。网上说罗技的宏是官方支持的,封号率低,就决定用这个方法。
下载罗技驱动,不需要罗技鼠标,直接给游戏编辑宏文件,用键盘触发。
以下是网上的宏文件代码:
```lua
EnablePrimaryMouseButtonEvents(true);
-- Mouse is at x=3927 y=41422
-- Mouse is at x=4064 y=44581
-- Mouse is at x=7137 y=57700
-- Mouse is at x=15982 y=9232
-- Mouse is at x=26877 y=22108
-- Mouse is at x=32375 y=52416
-- 返回大厅
-- Mouse is at x=5567 y=61162
-- 确认
-- Mouse is at x=29677 y=40086
-- Mouse is at x=29165 y=40147
-- 继续
-- Mouse is at x=5464 y=61526
-- 服务错误 重新链接 坐标
-- Mouse is at x=32887 y=41483
-- 设置变量来表示是否需要循环
local looping = false
local time1 = 150
-- 监听鼠标侧键和大写灯的键
function OnEvent(event, arg)
while (event == "PROFILE_ACTIVATED") do
while IsKeyLockOn("capslock") do
script()
if not IsKeyLockOn("capslock") then break end
end
Sleep(300)
--if not IsKeyLockOn("capslock") then break end
end
-- while IsKeyLockOn("capslock") do
-- script()
-- end
-- repeat
-- script()
-- until not IsKeyLockOn("capslock")
end
function script()
-- 开始
-- 1-3. 光标移动到 3927,41422 并点击左键 点击第三人称
MoveMouseTo(3927 , 41422)
PressMouseButton(1) Sleep(50)
PressMouseButton(1) Sleep(50)
ReleaseMouseButton(1) Sleep(time1)
Sleep(200)
--4-6. 光标移动到 0,0 并点击左键 点击单人
MoveMouseTo(0 , 0)
PressMouseButton(1) Sleep(50)
ReleaseMouseButton(1) Sleep(time1)
Sleep(200)
--7-9. 光标移动到 7137,957 并点击左键 点击匹配
MoveMouseTo(7137 , 57700)
PressMouseButton(1) Sleep(50)
ReleaseMouseButton(1) Sleep(time1)
Sleep(200)
--10. 延迟90秒, 1000ms = 1s
Sleep(90*1000)
--11-12. 按下F键 跳伞
PressKey("f") Sleep(time1)
ReleaseKey("f") Sleep(time1)
--13. 延迟64秒, 1000ms = 1s
Sleep(55*1000)
--13. 前飞15秒, 1000ms = 1s
PressKey("w") Sleep(time1)
PressKey("a") Sleep(time1)
Sleep(15*1000)
ReleaseKey("w") Sleep(time1)
ReleaseKey("a") Sleep(time1)
--14. 按i键 打开背包
PressKey("i") Sleep(time1)
ReleaseKey("i") Sleep(time1)
Sleep(200)
--15. 按M键 打开地图
PressKey("m") Sleep(time1)
ReleaseKey("m") Sleep(time1)
--16-18. 光标移动到 15982,142 并点击右键 打开补给箱
MoveMouseTo(15982 , 9232)
PressMouseButton(3) Sleep(time1)
ReleaseMouseButton(3) Sleep(time1)
Sleep(200)
--19 20 21. 光标移动到 26877,22108 并点击左键 拿取观察镜
MoveMouseTo(26877 , 22108)
PressMouseButton(1) Sleep(time1)
ReleaseMouseButton(1) Sleep(time1)
Sleep(200)
--22 23 24. 光标移动到 32375 , 52416 并点击左键 点击确认拿取
MoveMouseTo(32375 , 52416)
PressMouseButton(1) Sleep(time1)
ReleaseMouseButton(1) Sleep(time1)
--25. 延迟5秒 等待拿取补给装备, 1000ms = 1s
Sleep(5*1000)
--26 27. 按i键 关闭背包
PressKey("i") Sleep(time1)
ReleaseKey("i") Sleep(time1)
Sleep(200)
--28 29. 按x键 收起装备
PressKey("x") Sleep(time1)
ReleaseKey("x") Sleep(time1)
Sleep(200)
--30 31 按c键 趴下
PressKey("c") Sleep(time1)
ReleaseKey("c") Sleep(time1)
--32. 延迟64毫秒
Sleep(640)
--延迟5秒
Sleep(5000)
--结算
--33 34 35. 光标移动到 5567,61162 并点击左键 返回大厅
MoveMouseTo(5567 , 61162)
PressMouseButton(1) Sleep(time1)
ReleaseMouseButton(1) Sleep(time1)
--延迟5秒
Sleep(5000)
--36 37 38. 光标移动到 29165,40147 并点击左键 确认
MoveMouseTo(29165 , 40147)
PressMouseButton(1) Sleep(time1)
ReleaseMouseButton(1) Sleep(time1)
--延迟25秒
Sleep(25000)
--39 40 41. 光标移动到 5464,61526 并点击左键 离开
MoveMouseTo(5464 , 61526)
PressMouseButton(1) Sleep(time1)
ReleaseMouseButton(1) Sleep(time1)
--42. 延迟5秒
Sleep(5000)
--43 点击左键
PressMouseButton(1) Sleep(time1)
ReleaseMouseButton(1) Sleep(time1)
--44 点击左键
PressMouseButton(1) Sleep(time1)
ReleaseMouseButton(1) Sleep(time1)
--延迟5秒
Sleep(5000)
--45 46 47. 光标移动到 32887,41483 并点击左键 服务器断开 确认
MoveMouseTo(32887 , 41483)
PressMouseButton(1) Sleep(time1)
ReleaseMouseButton(1) Sleep(time1)
--48. 延迟5秒
Sleep(5000)
--结束
end
```
我挂了一晚上,现在维护了,不知道现在多少级了,每天挂机经验是21000,至少2级。一个人挂单排,打工人好好打工,游戏里打工太社畜了。
夸克网盘链接:
[https://pan.quark.cn/s/1ceccba1c37b](https://pan.quark.cn/s/1ceccba1c37b)
提取码:3haJ |
|