搜索
查看: 1291|回复: 3
收起左侧

[其他发布] 瓦洛兰特罗技宏代码(快采摘/快购买/后坐力)

[复制链接]

签到天数: 75 天

[LV.6]常住居民II

发表于 2020-10-7 17:01:19 | 显示全部楼层 |阅读模式


V1.0(会增加更多的教程,只是太累了)

简单的三合一脚本

这个脚本依赖于改变M-状态和拥有G-Keys。
状态1:代理快速拾取
G1-G5选择垃圾邮件代理
状态2:快速购买武器/装甲/能力
G1-G5在开盘前要买什么?
M状态3:在飞可调反后坐力
G1=鼠标向下移动得更快
G2=鼠标向下移动较慢
G3=重置为初始值


  1. recoil = 5 -- Change to whatever usually works best for your dpi/sens (higher number = faster pull down, 0 = nothing)

  2. --        *FOR 1920x1080 SCREEN*
  3. agent={}
  4. agent["Breach"]         = {17553, 59158}
  5. agent["Brimstone"]         = {20115, 59158}
  6. agent["Cipher"]         = {22983, 59461}
  7. agent["Jett"]                 = {26023, 59218}
  8. agent["Killjoy"]         = {29062, 59461}
  9. agent["Omen"]                 = {31384, 59461}
  10. agent["Phoenix"]         = {34219, 59522}
  11. agent["Raze"]                 = {37019, 59340}
  12. agent["Reyna"]                 = {39820, 59158}
  13. agent["Sage"]                 = {42996, 59461}
  14. agent["Sova"]                 = {45728, 59401}
  15. agent["Viper"]                 = {48186, 59158}
  16. agent["LOCK_IN"]         = {32785, 52598}
  17. -------------------------------------------------------------------
  18. menu_items={}
  19. menu_items["CLASSIC"]                 = {16390, 11540}
  20. menu_items["SHORTY"]                 = {16390, 19010}
  21. menu_items["FRENZY"]                 = {16290, 25990}
  22. menu_items["GHOST"]                 = {16420, 33280}
  23. menu_items["STINGER"]                 = {23730, 11960}
  24. menu_items["SPECTRE"]                 = {23490, 20520}
  25. menu_items["BUCKY"]                 = {23350, 32190}
  26. menu_items["JUDGE"]                 = {23490, 40450}
  27. menu_items["BULLDOG"]                 = {31410, 12200}
  28. menu_items["GUARDIAN"]                 = {31070, 21440}
  29. menu_items["PHANTOM"]                 = {31280, 30490}
  30. menu_items["VANDAL"]                 = {31170, 40020}
  31. menu_items["MARSHAL"]                 = {40740, 12690}
  32. menu_items["OPERATOR"]                 = {40800, 21250}
  33. menu_items["ARES"]                         = {40700, 32310}
  34. menu_items["ODIN"]                         = {40700, 40140}
  35. menu_items["LIGHT_SHIELD"]         = {49340, 16210}
  36. menu_items["HEAVY_SHIELD"]         = {49210, 34860}
  37. menu_items["Q_ABILITY"]         = {20590, 53690}
  38. menu_items["E_ABILITY"]         = {32750, 53810}
  39. menu_items["C_ABILITY"]                = {45318, 54056}
  40. -------------------------------------------------------------------
  41. EnablePrimaryMouseButtonEvents(true)
  42. log  = OutputLogMessage
  43. recoil_bkup = recoil
  44. -------------------------------------------------------------------
  45. function OnEvent(event, arg)
  46.         mkey_state = GetMKeyState()
  47.         if    (event == "MOUSE_BUTTON_PRESSED" and arg == 4) then -- Mouse G4 default Recoil toggle
  48.                 toggle = not toggle
  49.                 if toggle then log("Anti-Recoil: ENABLED\n") else log("Anti-Recoil: DISABLED\n") end
  50.         elseif(event == "MOUSE_BUTTON_PRESSED" and arg == 1 and toggle)and recoil > 0 then Timer()
  51.         end
  52.         --------------------FAST PICK---------------------------------------
  53.         if(mkey_state == 1) then
  54.                 if          (event == "G_PRESSED" and arg == 1) then
  55.                         op = {"Breach","LOCK_IN"}
  56.                         Pick_Agent(op)
  57.                 elseif(event == "G_PRESSED" and arg == 2) then
  58.                         op = {"Cipher","LOCK_IN"}
  59.                         Pick_Agent(op)
  60.                 elseif(event == "G_PRESSED" and arg == 3) then
  61.                         op = {"Killjoy","LOCK_IN"}
  62.                         Pick_Agent(op)
  63.                 elseif(event == "G_PRESSED" and arg == 4) then
  64.                         op = {"Omen","LOCK_IN"}
  65.                         Pick_Agent(op)
  66.                 elseif(event == "G_PRESSED" and arg == 5) then
  67.                         op = {"Sova","LOCK_IN"}
  68.                         Pick_Agent(op)
  69.                 end
  70.         ---------------------QUICK BUY--------------------------------
  71.         elseif(mkey_state == 2) then
  72.                 if    (event == "G_PRESSED" and arg == 1) then
  73.                         round1 = {"GHOST"}        -- Type in ALL CAPS weapon name between quotes| Ex. { "X" }
  74.                         Buy_Stuff(round1)
  75.             elseif(event == "G_PRESSED" and arg == 2) then
  76.                         round2 = {"SPECTRE","LIGHT_SHIELD"} -- Can use multiple if separated with a comma | Ex. {"X" , "Y" , "Z"}
  77.                         Buy_Stuff(round2)
  78.             elseif(event == "G_PRESSED" and arg == 3) then
  79.                         round3 = {"VANDAL","HEAVY_SHIELD"}
  80.                         Buy_Stuff(round3)
  81.                 elseif(event == "G_PRESSED" and arg == 4) then
  82.                         round4 = {"PHANTOM","HEAVY_SHIELD"}
  83.                         Buy_Stuff(round4)
  84.                 elseif(event == "G_PRESSED" and arg == 5) then
  85.                         round5 = {"Q_ABILITY","E_ABILITY","C_ABILITY"}
  86.                         Buy_Stuff(round5)
  87.             end
  88.         -----------------------ANTI-RECOIL-----------------------------------        Prolly dont need to touch
  89.         elseif(mkey_state == 3) then
  90.                 if    (event == "G_PRESSED" and arg == 1) then --Accelerates anti-recoil
  91.                         recoil = recoil+1
  92.                         log("Recoil: "..recoil.."\n")
  93.             elseif(event == "G_PRESSED" and arg == 2) and recoil>1 then --Decelerates anti-recoil
  94.                         recoil = recoil-1
  95.                         log("Recoil: "..recoil.."\n")
  96.             elseif(event == "G_PRESSED" and arg == 3) then --Resets to initial value
  97.                         recoil = recoil_bkup
  98.                         log("Recoil: "..recoil.."\n")
  99.             end
  100.         end
  101. end
  102. -----------------------DONT TOUCH UNLESS YOU KNOW WAT UR DOIN-----------------
  103. function Pick_Agent(op)
  104. log("Picked: "..op[1].."\n")
  105.         for j=1,20,1 do                         -- loops 20x (can't stop after starting in public version)
  106.                 for i=1,2,1 do
  107.                         MoveMouseTo(agent[op[i]][1], agent[op[i]][2])
  108.                         PressMouseButton(1)
  109.                         Sleep(25)
  110.                         ReleaseMouseButton(1)
  111.                         Sleep(25)
  112.                 end
  113.         end
  114. end
  115. -----------------------DONT TOUCH UNLESS YOU KNOW WAT UR DOIN-----------------
  116. function Buy_Stuff(items)
  117.         PressAndReleaseKey('b') -- Change to YOUR buy menu key if not default
  118.         Sleep(50)
  119.                 for i=1,#items,1 do
  120.                         MoveMouseTo(menu_items[items[i]][1], menu_items[items[i]][2])
  121.                         log("BOUGHT: "..items[i].."\n")
  122.                         PressMouseButton(1)
  123.                         Sleep(65)
  124.                         ReleaseMouseButton(1)
  125.                         Sleep(65)
  126.                 end
  127.         PressAndReleaseKey('b') -- Change to YOUR buy menu key if not default
  128.         Sleep(50)
  129. end
  130. -----------------------DONT TOUCH UNLESS YOU KNOW WAT UR DOIN-----------------
  131. function Timer()
  132.         local time1,time2 = GetRunningTime(),0
  133.         if (time2-time1) <= 1000 then
  134.                 repeat
  135.                         MoveMouseRelative(0,recoil)
  136.                         Sleep(5)
  137.                         time2 = GetRunningTime()
  138.                 until not IsMouseButtonPressed(1) or (time2-time1) > 1000
  139.         end
  140. end
复制代码






上一篇:求各位大佬发点老司机破解软件
下一篇:刷q钻_外面说卖/刷的理论永久电信爆卡钻开通代码详细教程

签到天数: 37 天

[LV.5]常住居民I

发表于 2020-10-7 17:03:33 | 显示全部楼层
啥也不说了,感谢楼主分享哇!
回复 支持 反对

使用道具 举报

签到天数: 99 天

[LV.6]常住居民II

发表于 2021-7-1 14:45:22 | 显示全部楼层
可以出一个辅助吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册用户

本版积分规则

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