万王之王 KOK King of Kings

 找回密码
 加入我们
查看: 1035|回复: 2

列王纪-大法师2阶练功代码【按键精灵后台版,断线重连功能为前台】

[复制链接]
发表于 2017-10-5 16:37 | 显示全部楼层 |阅读模式
  1. Hwnd = Plugin.Window.MousePoint()
  2. Rem AA
  3. IfColor 断线时候对话框“确定”点的X轴,Y轴,"该点的颜色代码",0 Then
  4. Goto BB
  5. Else
  6. End If
  7. For 2
  8. Delay 1500
  9. Call Plugin.Bkgnd.SendString(Hwnd, "cast retime on")
  10. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  11. Call Plugin.Bkgnd.SendString(Hwnd, "cast retime on")
  12. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  13. Delay 1000
  14. //给自己释放回时术
  15. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  16. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  17. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  18. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  19. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  20. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  21. //时跳,重复3次
  22. Delay 1000
  23. Call Plugin.Bkgnd.SendString(Hwnd, "meditate")
  24. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  25. //冥想
  26. Delay 28000
  27. //等待28秒
  28. Call Plugin.Bkgnd.SendString(Hwnd, "cast wolf")
  29. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  30. //招狼
  31. Delay 1000
  32. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  33. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  34. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  35. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  36. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  37. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  38. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  39. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  40. //时跳,重复4次
  41. Delay 5500
  42. //等待5.5秒
  43. Call Plugin.Bkgnd.SendString(Hwnd, "cast retime on wolf")
  44. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  45. Call Plugin.Bkgnd.SendString(Hwnd, "cast retime on wolf")
  46. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  47. Delay 1000
  48. //向下方的狼释放回时术
  49. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  50. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  51. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  52. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  53. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  54. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  55. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  56. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  57. //时跳,重复4次
  58. Delay 5000
  59. //等待5秒
  60. Call Plugin.Bkgnd.SendString(Hwnd, "cast time_break on wolf")
  61. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  62. Call Plugin.Bkgnd.SendString(Hwnd, "cast time_break on wolf")
  63. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  64. Call Plugin.Bkgnd.SendString(Hwnd, "cast time_break on wolf")
  65. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  66. Delay 1000
  67. //向下方的狼释放时裂
  68. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  69. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  70. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  71. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  72. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  73. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  74. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  75. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  76. //时跳,重复4次
  77. Delay 4500
  78. //等待4.5秒
  79. Call Plugin.Bkgnd.SendString(Hwnd, "cast wolf")
  80. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  81. //招狼
  82. Delay 1000
  83. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  84. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  85. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  86. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  87. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  88. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  89. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  90. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  91. //时跳,重复4次 alias 3 time_blink
  92. Delay 5500
  93. //等待5.5秒
  94. Call Plugin.Bkgnd.SendString(Hwnd, "cast retime on wolf")
  95. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  96. Call Plugin.Bkgnd.SendString(Hwnd, "cast retime on wolf")
  97. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  98. Delay 1000
  99. //向下方的狼释放回时术
  100. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  101. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  102. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  103. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  104. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  105. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  106. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  107. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  108. //时跳,重复4次
  109. Delay 5000
  110. //等待5秒
  111. Call Plugin.Bkgnd.SendString(Hwnd, "cast time_break on wolf")
  112. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  113. Call Plugin.Bkgnd.SendString(Hwnd, "cast time_break on wolf")
  114. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  115. Call Plugin.Bkgnd.SendString(Hwnd, "cast time_break on wolf")
  116. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  117. Delay 1000
  118. //向下方的狼释放时裂
  119. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  120. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  121. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  122. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  123. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  124. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  125. Call Plugin.Bkgnd.SendString(Hwnd, "time_blink")
  126. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  127. //时跳,重复4次 alias 3 time_blink
  128. Delay 7500
  129. //等待7.5秒
  130. Next
  131. Call Plugin.Bkgnd.SendString(Hwnd, "locate 1")
  132. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  133. //每130秒传送一次
  134. Delay 5000
  135. //等待5秒
  136. Goto AA
  137. Rem BB
  138. Delay 5000
  139. MoveTo 断线重连提示“确定”位置的X轴, Y轴
  140. LeftClick 1
  141. LeftClick 1
  142. Delay 5000
  143. Call Plugin.Bkgnd.SendString(Hwnd, "你的帐号")
  144. Delay 3000
  145. Call Plugin.Bkgnd.KeyPress(Hwnd, 9)
  146. Call Plugin.Bkgnd.SendString(Hwnd, "你的密码")
  147. Delay 3000
  148. Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
  149. Delay 5000
  150. MoveTo 伺服器选项“确定”位置的X轴, Y轴
  151. LeftClick 1
  152. Delay 5000
  153. MoveTo 人物界面选项“确定”位置的X轴, Y轴
  154. LeftClick 1
  155. Delay 10000
  156. Goto AA
复制代码

使用说明:

1.不需要设定任何快捷键;

2.需要将代码中所列的4个X轴、Y轴的位置和颜色在相应位置填写完毕。位置可以用按键精灵的“抓抓”来实现;

3.需要设定一个传送点,locate 1

4.其他什么都不需要管,直接后台运行

5.断线重连的功能由于需要使用鼠标点击,因此只能前台运行。由于平时基本不会掉线,只有服务器7:00重启时候会掉,因此平时只需要运行了之后扔在后台即可,临睡前把它放在前台就可以有效保证不掉线

6.建议时裂、回时和冥想等级比较低的时候将双重法术关闭,否则可能MP不太够。

欢迎使用,有问题留言即可。


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?加入我们

x
发表于 2017-10-6 00:24 | 显示全部楼层
下了看看能不能改为其他职业
发表于 2018-4-12 08:55 | 显示全部楼层
回去试试能不能重新练
您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

小黑屋|手机版|万王之王 king of kings

GMT+8, 2020-10-27 17:07

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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