Advertisement
n01n0s

auto dinowipe

Jul 21st, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  
  2. #MaxHotkeysPerInterval 99000000
  3. #HotkeyInterval 99000000
  4. ;SendMode Input  
  5. SetWorkingDir %A_ScriptDir%
  6. SetBatchLines, -1
  7. ListLines Off
  8. Process, Priority, , A
  9. SetBatchLines, -1
  10. SetKeyDelay, -1, -1
  11. SetMouseDelay, -1
  12. SetDefaultMouseSpeed, 0
  13. SetWinDelay, -1
  14. SetControlDelay, -1
  15.  
  16. sleep 1000
  17. WinActivate, ARKon
  18. WinGet, ID1, ID, ARKon
  19. WinWaitActive, ARKon, , 2
  20.  
  21. if ErrorLevel
  22. {
  23.     MsgBox, 48, Dino Wipe, ARKon not running, 2
  24.     Run, C:\Users\Administrator\Desktop\TheIsland ARKon.lnk    
  25.     sleep 2000
  26.     WinGet, ID2, ID, ARKon
  27.     WinMove, ahk_id %ID2%,, 0, 0, 800, 640,
  28. }
  29. else
  30.     sleep 2000
  31.         WinMove, ahk_id %ID1%,, 0, 0, 800, 640,
  32.     sleep 5000
  33.  
  34. PixelSearch, Px, Py, 10, 595, 35, 632, 0x1F34BF, 3, Fast
  35. if ErrorLevel
  36. Goto, step1
  37. else
  38. MsgBox, 48, Dino Wipe, Not Connected, 2
  39. MouseMove, 725, 605
  40. sleep 500
  41. send {LButton down}
  42. sleep 50
  43. send {LButton up}
  44. step1:
  45. PixelSearch, Px, Py, 10, 595, 35, 632, 0x0FF764, 3, Fast
  46. if ErrorLevel
  47. Goto, step2
  48. else
  49. MsgBox, 48, Dino Wipe, Connected, 2
  50. MouseMove, 65, 462
  51. sleep 500
  52. send {LButton down}
  53. sleep 50
  54. send {LButton up}
  55. step2:
  56.  
  57. sleep 1000
  58. send, broadcast Wild dino wipe in 30mins @ 230am CST (this is an automated wipe)
  59. sleep 50
  60. send, {enter}
  61. sleep 600000
  62.  
  63. WinActivate, ARKon
  64. WinWaitActive, ARKon, , 2
  65. if ErrorLevel
  66. {
  67.     MsgBox, 48, Dino Wipe, ARKon not running, 2
  68.     Run, C:\Users\Administrator\Desktop\TheIsland ARKon.lnk    
  69.     sleep 2000
  70.     WinGet, ID3, ID, ARKon
  71.     WinMove, ahk_id %ID3%,, 0, 0, 800, 640,
  72. }
  73. else
  74. PixelSearch, Px, Py, 10, 595, 35, 632, 0x1F34BF, 3, Fast
  75. if ErrorLevel
  76. Goto, step3
  77. else
  78. MsgBox, 48, Dino Wipe, Not Connected, 2
  79. MouseMove, 725, 605
  80. sleep 500
  81. send {LButton down}
  82. sleep 50
  83. send {LButton up}
  84. step3:
  85. PixelSearch, Px, Py, 10, 595, 35, 632, 0x0FF764, 3, Fast
  86. if ErrorLevel
  87. Goto, step4
  88. else
  89. MouseMove, 65, 462
  90. sleep 500
  91. send {LButton down}
  92. sleep 50
  93. send {LButton up}
  94. step4:
  95.  
  96. send, broadcast Wild dino wipe in 20mins @ 230am CST (this is an automated wipe)
  97. sleep 50
  98. send, {enter}
  99. sleep 600000
  100.  
  101. WinActivate, ARKon
  102. WinWaitActive, ARKon, , 2
  103. if ErrorLevel
  104. {
  105.     MsgBox, 48, Dino Wipe, ARKon not running, 2
  106.     Run, C:\Users\Administrator\Desktop\TheIsland ARKon.lnk    
  107.     sleep 2000
  108.     WinGet, ID4, ID, ARKon
  109.     WinMove, ahk_id %ID4%,, 0, 0, 800, 640,
  110. }
  111. else
  112. PixelSearch, Px, Py, 10, 595, 35, 632, 0x1F34BF, 3, Fast
  113. if ErrorLevel
  114. Goto, step5
  115. else
  116. MsgBox, 48, Dino Wipe, Not Connected, 2
  117. MouseMove, 725, 605
  118. sleep 500
  119. send {LButton down}
  120. sleep 50
  121. send {LButton up}
  122. step5:
  123. PixelSearch, Px, Py, 10, 595, 35, 632, 0x0FF764, 3, Fast
  124. if ErrorLevel
  125. Goto, step6
  126. else
  127. MouseMove, 65, 462
  128. sleep 500
  129. send {LButton down}
  130. sleep 50
  131. send {LButton up}
  132. step6:
  133.  
  134. send, broadcast Wild dino wipe in 10mins @ 230am CST (this is an automated wipe)
  135. sleep 50
  136. send, {enter}
  137. sleep 300000
  138.  
  139. WinActivate, ARKon
  140. WinWaitActive, ARKon, , 2
  141. if ErrorLevel
  142. {
  143.     MsgBox, 48, Dino Wipe, ARKon not running, 2
  144.     Run, C:\Users\Administrator\Desktop\TheIsland ARKon.lnk    
  145.     sleep 2000
  146.     WinGet, ID5, ID, ARKon
  147.     WinMove, ahk_id %ID5%,, 0, 0, 800, 640,
  148. }
  149. else
  150. PixelSearch, Px, Py, 10, 595, 35, 632, 0x1F34BF, 3, Fast
  151. if ErrorLevel
  152. Goto, step7
  153. else
  154. MsgBox, 48, Dino Wipe, Not Connected, 2
  155. MouseMove, 725, 605
  156. sleep 500
  157. send {LButton down}
  158. sleep 50
  159. send {LButton up}
  160. step7:
  161. PixelSearch, Px, Py, 10, 595, 35, 632, 0x0FF764, 3, Fast
  162. if ErrorLevel
  163. Goto, step8
  164. else
  165. MouseMove, 65, 462
  166. sleep 500
  167. send {LButton down}
  168. sleep 50
  169. send {LButton up}
  170. step8:
  171.  
  172. send, broadcast wild dino wipe in 5mins @ 230am CST (this is an automated wipe)
  173. sleep 50
  174. send, {enter}
  175. sleep 240000
  176.  
  177. WinActivate, ARKon
  178. WinWaitActive, ARKon, , 2
  179. if ErrorLevel
  180. {
  181.     MsgBox, 48, Dino Wipe, ARKon not running, 2
  182.     Run, C:\Users\Administrator\Desktop\TheIsland ARKon.lnk    
  183.     sleep 2000
  184.     WinGet, ID6, ID, ARKon
  185.     WinMove, ahk_id %ID6%,, 0, 0, 800, 640,
  186. }
  187. else
  188. PixelSearch, Px, Py, 10, 595, 35, 632, 0x1F34BF, 3, Fast
  189. if ErrorLevel
  190. Goto, step9
  191. else
  192. MsgBox, 48, Dino Wipe, Not Connected, 2
  193. MouseMove, 725, 605
  194. sleep 500
  195. send {LButton down}
  196. sleep 50
  197. send {LButton up}
  198. step9:
  199. PixelSearch, Px, Py, 10, 595, 35, 632, 0x0FF764, 3, Fast
  200. if ErrorLevel
  201. Goto, step10
  202. else
  203. MouseMove, 65, 462
  204. sleep 500
  205. send {LButton down}
  206. sleep 50
  207. send {LButton up}
  208. step10:
  209.  
  210. send, broadcast wild dino wipe in 1min @ 230am CST (this is an automated wipe)
  211. sleep 50
  212. send, {enter}
  213. sleep 10000
  214.  
  215. WinActivate, ARKon
  216. WinWaitActive, ARKon, , 2
  217. if ErrorLevel
  218. {
  219.     MsgBox, 48, Dino Wipe, ARKon not running, 2
  220.     Run, C:\Users\Administrator\Desktop\TheIsland ARKon.lnk    
  221.     sleep 2000
  222.     WinGet, ID7, ID, ARKon
  223.     WinMove, ahk_id %ID7%,, 0, 0, 800, 640,
  224. }
  225. else
  226. PixelSearch, Px, Py, 10, 595, 35, 632, 0x1F34BF, 3, Fast
  227. if ErrorLevel
  228. Goto, step11
  229. else
  230. MsgBox, 48, Dino Wipe, Not Connected, 2
  231. MouseMove, 725, 605
  232. sleep 500
  233. send {LButton down}
  234. sleep 50
  235. send {LButton up}
  236. step11:
  237. PixelSearch, Px, Py, 10, 595, 35, 632, 0x0FF764, 3, Fast
  238. if ErrorLevel
  239. Goto, step12
  240. else
  241. MouseMove, 65, 462
  242. sleep 500
  243. send {LButton down}
  244. sleep 50
  245. send {LButton up}
  246. step12:
  247.  
  248. send, saveworld
  249. sleep 50
  250. send, {enter}
  251. sleep 50000
  252. send, destroywilddinos
  253. sleep 50
  254. send, {enter}
  255. Exitapp
  256.  
  257. Escape::
  258. MsgBox, 48,Braino's thingy, Program Terminated, 2
  259. Exitapp
  260. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement