Advertisement
Guest User

Untitled

a guest
Dec 16th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 KB | None | 0 0
  1. #include "Inventory.au3"
  2. ;Arcanist
  3.  
  4.  
  5. Global $qTimer = TimerInit()
  6. Global $qYTimer = TimerInit()
  7. Global $PotTimer = TimerInit()
  8. Global $eTimer = TimerInit()
  9. Global $rTimer = TimerInit()
  10. Global $tTimer = TimerInit()
  11. Global $sixTimer = TimerInit()
  12. Global $four_five_Timer = TimerInit()
  13. $p = False
  14. $x = False
  15. $q = 0
  16. $qY = 0
  17. $Pot = 0
  18. $e = 0
  19. $r = 0
  20. $t = 0
  21. $six = 0
  22. $four_five = 0
  23.  
  24. HotKeySet("u", switchHotkeyActivation)
  25. HotKeySet("{Numpad3}",Terminate)
  26. HotKeySet("q",q_fast)
  27. HotKeySet("^q",qY_fast)
  28. HotKeySet("c",Pot_fast)
  29. HotKeySet("e",e_fast)
  30. HotKeySet("r",r_fast)
  31. HotKeySet("t",t_fast)
  32. HotKeySet("4",four_to_num)
  33. HotKeySet("6",six_to_num)
  34.  
  35. Global $qDiff = TimerDiff($qTimer)
  36. Global $qYDiff = TimerDiff($qYTimer)
  37. Global $PotDiff = TimerDiff($PotTimer)
  38. Global $eDiff = TimerDiff($eTimer)
  39. Global $rDiff = TimerDiff($rTimer)
  40. Global $tDiff = TimerDiff($tTimer)
  41. Global $sixDiff = TimerDiff($sixTimer)
  42. Global $four_five_Diff = TimerDiff($four_five_Timer)
  43.  
  44.  
  45. while 1
  46. Sleep(100)
  47. $qDiff = TimerDiff($qTimer)
  48. $qYDiff = TimerDiff($qYTimer)
  49. $PotDiff = TimerDiff($PotTimer)
  50. $eDiff = TimerDiff($eTimer)
  51. $rDiff = TimerDiff($rTimer)
  52. $tDiff = TimerDiff($tTimer)
  53. $sixDiff = TimerDiff($sixTimer)
  54. $four_five_Diff = TimerDiff($four_five_Timer)
  55. if($qDiff > 1500) and ($q = 0) and ($x) Then
  56. $q = 1
  57. EndIf
  58. if($qYDiff > 16700) and ($qY = 0) and ($x) Then
  59. $qY = 1
  60. EndIf
  61. if($PotDiff > 90000) and ($Pot = 0) and ($x) Then
  62. $Pot = 1
  63. EndIf
  64. if($eDiff > 7000) and ($e = 0) and ($x) Then
  65. $e = 1
  66. EndIf
  67. if($rDiff > 8000) and ($r = 0) and ($x) Then
  68. $r = 1
  69. EndIf
  70. if($tDiff > 20000) and ($t = 0) and ($x) Then
  71. $t = 1
  72. EndIf
  73. if($four_five_Diff > 46000) and ($four_five = 0) and ($x) Then
  74. $four_five = 1
  75. EndIf
  76. if($sixDiff > 31000) and ($six = 0) and ($x) Then
  77. $six = 1
  78. EndIf
  79. WEnd
  80.  
  81.  
  82. Func switchHotkeyActivation()
  83. $p = not $p
  84. $x = not $x
  85. if($p) Then
  86. HotKeySet("{TAB}", tab_to_num)
  87. HotKeySet("d", d_to_num)
  88. HotKeySet("3", three_to_num)
  89. HotKeySet("5", five_to_num) ;Auskommentieren ohne Geld
  90. HotKeySet("g", skilltree)
  91. HotKeySet("b", inventory)
  92. HotKeySet("^b",training)
  93. HotKeySet("l", setup)
  94. $q = 1
  95. $qY = 1
  96. $Pot = 1
  97. $e = 1
  98. $r = 1
  99. $t = 1
  100. $six = 1
  101. $four_five = 1
  102. Else
  103. HotKeySet("3")
  104. HotKeySet("d")
  105. HotKeySet("{TAB}")
  106. HotKeySet("g")
  107. HotKeySet("b")
  108. HotKeySet("^b")
  109. HotKeySet("5") ;Auskommentieren ohne Geld
  110. HotKeySet("l")
  111. EndIf
  112. EndFunc
  113.  
  114. Func four_to_num()
  115. HotKeySet("4")
  116. if($four_five = 1) Then
  117. $four_five = 0
  118. Send("{Numpad4}")
  119. ;Send("{Numpad5}")
  120. MouseClick("")
  121. $four_five_Timer = TimerInit()
  122. Else
  123. Send("{Numpad4}")
  124. ;Send("{Numpad5}")
  125. EndIf
  126. HotKeySet("4", four_to_num)
  127. EndFunc
  128.  
  129. Func six_to_num()
  130. HotKeySet("6")
  131. if($six = 1) Then
  132. $six = 0
  133. Send("{Numpad1}")
  134. MouseClick("")
  135. $sixTimer = TimerInit()
  136. Else
  137. Send("{Numpad1}")
  138. EndIf
  139. HotKeySet("6", six_to_num)
  140. EndFunc
  141.  
  142. Func q_fast()
  143. HotKeySet("q")
  144. if($q = 1) Then
  145. $q = 0
  146. Send("{q}")
  147. MouseClick("")
  148. $qTimer = TimerInit()
  149. Else
  150. Send("{q}")
  151. EndIf
  152. HotKeySet("q", q_fast)
  153. EndFunc
  154.  
  155. Func qY_fast()
  156. HotKeySet("^q")
  157. if($qY = 1) Then
  158. $qY = 0
  159. Send("y")
  160. Send("{q}")
  161. $qYTimer = TimerInit()
  162. Else
  163. Send("{q}")
  164. EndIf
  165. HotKeySet("^q", qY_fast)
  166. EndFunc
  167.  
  168. Func Pot_fast()
  169. HotKeySet("c")
  170. if($Pot = 1) Then
  171. $Pot = 0
  172. Send("{5}")
  173. Send("{y}")
  174. Send("{t}")
  175. $PotTimer = TimerInit()
  176. Else
  177. Send("{y}")
  178. Send("{t}")
  179. EndIf
  180. HotKeySet("c", Pot_fast)
  181. EndFunc
  182.  
  183. Func e_fast()
  184. HotKeySet("e")
  185. if($e = 1) Then
  186. $e = 0
  187. Send("{e}")
  188. MouseClick("")
  189. $eTimer = TimerInit()
  190. Else
  191. Send("{e}")
  192. EndIf
  193. HotKeySet("e", e_fast)
  194. EndFunc
  195.  
  196. Func r_fast()
  197. HotKeySet("r")
  198. if($r = 1) Then
  199. $r = 0
  200. Send("{r}")
  201. MouseClick("")
  202. $rTimer = TimerInit()
  203. Else
  204. Send("{r}")
  205. EndIf
  206. HotKeySet("r", r_fast)
  207. EndFunc
  208.  
  209. Func t_fast()
  210. HotKeySet("t")
  211. if($t = 1) Then
  212. $t = 0
  213. Send("{t}")
  214. MouseClick("")
  215. $tTimer = TimerInit()
  216. Else
  217. Send("{t}")
  218. EndIf
  219. HotKeySet("t", t_fast)
  220. EndFunc
  221.  
  222. Func skilltree()
  223. HotKeySet("t")
  224. Send("{Enter}")
  225. Send("{-}")
  226. Send("{t}")
  227. Send("{t}")
  228. Send("{Enter}")
  229. HotKeySet("t", t_fast)
  230. EndFunc
  231.  
  232. Func setup()
  233. HotKeySet("g")
  234. HotKeySet("d")
  235. HotKeySet("t")
  236. HotKeySet("c")
  237. Send("{Enter}")
  238. Send("{-}")
  239. Send("{f}")
  240. Send("{o}")
  241. Send("{g}")
  242. Send("{Enter}")
  243. Send("{Enter}")
  244. Send("{-}")
  245. Send("{c}")
  246. Send("{d}")
  247. Send("{i}")
  248. Send("{s}")
  249. Send("{t}")
  250. Send("{Enter}")
  251. HotKeySet("g", skilltree)
  252. HotKeySet("d", d_to_num)
  253. HotKeySet("t", t_fast)
  254. HotKeySet("c",Pot_fast)
  255. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement