SammichAHK

Sammich's OSRS Free Bot - Source Code

Jun 3rd, 2018
394
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;Sammich's Scripts - Please give credit where credits due, thanks.
  2.  
  3. FileCreateDir, Essentials
  4.  
  5. SetWorkingDir, %A_ScriptDir%
  6.  
  7. IfNotExist, Essentials\Instructions.jpg
  8. URLDownloadToFile, http://i64.tinypic.com/sltild.jpg, Essentials\Instructions.jpg
  9.  
  10. Gui, Show , w500 h500, Sammich's Runescape Scripts, Version 1.0
  11.  
  12. TabControlHeight = 200
  13. TabControlWidth = 500
  14. TCS_FIXEDWIDTH = 0x350
  15. TCM_FIRST = 0x1300
  16. TCM_SETITEMSIZE := (TCM_FIRST + 41)
  17.  
  18. Gui, Tab, 1
  19. Gui, Color, E2E2E2
  20. Gui,Font,s12 bold c0000FF, Arial
  21. Gui,Font,s8 c000000, Oswald
  22. Gui, Add, Tab, +0x0 -0x200 +%TCS_FIXEDWIDTH% h%TabControlHeight% w%TabControlWidth% hwndTabHwnd, Main
  23.  
  24. Gui, Add, Button, x440 y290 w20 h20 gcuttingwillows?, ?
  25. Gui, Add, Button, x440 y90 w20 h20 gShafts?, ?
  26. Gui, Add, Button, x440 y130 w20 h20 gpowerminer?, ?
  27. Gui, Add, Button, x440 y170 w20 h20 gjogre1?, ?
  28. Gui, Add, Button, x440 y250 w20 h20 gglassblow?, ?
  29. Gui, Add, Button, x440 y210 w20 h20 gthievingmen?, ?
  30. Gui, Add, Button, x440 y330 w20 h20 galchemy?, ?
  31. Gui, Add, Button, x260 y80 w180 h40 v23123442123122222BUTTON, Fletching Arrow Shafts
  32. Gui, Add, Button, x260 y120 w180 h40 v234222334522BUTTON, Iron Power Miner
  33. Gui, Add, Button, x260 y160 w180 h40 v23423456223122212BUTTON, Curse Splashing
  34. Gui, Add, Button, x260 y200 w180 h40 v284323423132435434234232423432445BUTTON, Thieving Men
  35. Gui, Add, Button, x260 y240 w180 h40 v2312344223144322342342222BUTTON, Glassblow Beer Glass
  36. Gui, Add, Button, x260 y280 w180 h40 v28435BUTTON, Cutting Willows
  37. Gui, Add, Button, x260 y320 w180 h40 v2843234231234232445BUTTON, High Alchemy
  38. Gui,Font,s10 bold c0000FF, Arial
  39. Gui, Add, GroupBox, x20 y60 w220 h400 , Instructions
  40. Gui, Add, Text, cBlack x30 y350 w200 , All Scripts require OSBuddy. The game window size must be "Fixed" and the brightness must be on the second notch as shown in the above picture.
  41. Gui, Add, Picture, x30 y80 w200 h250, Essentials\Instructions.jpg
  42. Gui,Font,s10 bold c0000FF, Arial
  43. Gui, Add, Text, cRed x75 y35 w380, Press F12 To Stop ALL Actions and to reopen the GUI
  44.  
  45. f12::Reload
  46.  
  47. 6GuiClose:
  48. Gui6Escape:
  49. Gui, 6:Destroy
  50. return
  51.  
  52. thievingmen?:
  53. Run, http://scriptswithsammich.com/script-explanations-tutorials/thieving-men/
  54. Return
  55.  
  56. alchlastitem?:
  57. Run, http://scriptswithsammich.com/script-explanations-tutorials/high-alchemy/
  58. Return
  59.  
  60. shafts?:
  61. Run, http://scriptswithsammich.com/script-explanations-tutorials/fletching-arrow-shafts/
  62. Return
  63.  
  64. alchemy?:
  65. Run, http://scriptswithsammich.com/script-explanations-tutorials/high-alchemy/
  66. Return
  67.  
  68. glassblow?:
  69. Run, http://scriptswithsammich.com/script-explanations-tutorials/glassblow-beer-glasses/
  70. Return
  71.  
  72. jogre1?:
  73. Run, http://scriptswithsammich.com/script-explanations-tutorials/curse-splashing/
  74. Return
  75.  
  76. powerminer?:
  77. Run, http://scriptswithsammich.com/script-explanations-tutorials/iron-power-miner/
  78. Return
  79.  
  80. cuttingwillows?:
  81. Run, http://scriptswithsammich.com/script-explanations-tutorials/woodcutting-willow-trees/
  82. Return
  83.  
  84. Buttonglassblowbeerglass:
  85. IfWinExist, ahk_class SunAwtFrame
  86. WinActivate, ahk_class SunAwtFrame
  87. Recovered(Up3312342342342342345655441882323321):
  88. sleep 50
  89. click 563, 54
  90. Send {Up Down}
  91. sleep 2000 ;Sleeps ten seconds and then sends spacebar up
  92. Send {Up Up}
  93. GoTo, Recovered(Up3341882323321)
  94. Recovered(Up33123423455441882323321):
  95. sleep 5000
  96. Recovered(Up3341882323321):
  97. Loop
  98. {
  99. BlockInput, MouseMove
  100. WinActivate, ahk_class SunAwtFrame
  101. PixelSearch, X, Y, 396, 48, 448, 94, 0x344049, 1, Fast ; checking if bank open
  102. if Errorlevel = 1
  103. GoTo, Recovered(Up334182282323321)
  104. else
  105. click 487, 56
  106. sleep 500
  107. GoTo, Recovered(Up3341882323321)
  108. Recovered(Up334182282323321):
  109. PixelSearch, X, Y, 5, 337, 516, 371, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  110. if Errorlevel = 1
  111. GoTo, Recover(Up300002344354323244324343243243243265652341898232333298755441122864379)
  112. else
  113. click %X%, %Y%
  114. sleep 2000
  115. GoTo, Recover(Up332432524343243243254456546456676767887000023423418982323321)
  116. Recover(Up300002344354323244324343243243243265652341898232333298755441122864379):
  117. PixelSearch, X, Y, 5, 300, 516, 337, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  118. if Errorlevel = 1
  119. GoTo, Recover(Up3000023443543232443243265435435434355435652341898232333298755441122864379)
  120. else
  121. click %X%, %Y%
  122. sleep 2000
  123. GoTo, Recover(Up332432524343243243254456546456676767887000023423418982323321)
  124. Recover(Up3000023443543232443243265435435434355435652341898232333298755441122864379):
  125. PixelSearch, X, Y, 5, 270, 516, 300, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  126. if Errorlevel = 1
  127. GoTo, Recover(Up3000024322433244323244323443543232443243265652341898232333298755441122864379)
  128. else
  129. click %X%, %Y%
  130. sleep 2000
  131. GoTo, Recover(Up332432524343243243254456546456676767887000023423418982323321)
  132. Recover(Up3000024322433244323244323443543232443243265652341898232333298755441122864379):
  133. PixelSearch, X, Y, 5, 240, 516, 270, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  134. if Errorlevel = 1
  135. GoTo, Recover(Up3000023444324324324323423543232443243265652341898232333298755441122864379)
  136. else
  137. click %X%, %Y%
  138. sleep 2000
  139. GoTo, Recover(Up332432524343243243254456546456676767887000023423418982323321)
  140. Recover(Up3000023444324324324323423543232443243265652341898232333298755441122864379):
  141. PixelSearch, X, Y, 5, 210, 516, 240, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  142. if Errorlevel = 1
  143. GoTo, Recover(Up30000234354355765768443543232443243265652341898232333298755441122864379)
  144. else
  145. click %X%, %Y%
  146. sleep 2000
  147. GoTo, Recover(Up332432524343243243254456546456676767887000023423418982323321)
  148. Recover(Up30000234354355765768443543232443243265652341898232333298755441122864379):
  149. PixelSearch, X, Y, 5, 180, 516, 210, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  150. if Errorlevel = 1
  151. GoTo, Recover(Up3000023444343242365673543232443243265652341898232333298755441122864379)
  152. else
  153. click %X%, %Y%
  154. sleep 2000
  155. GoTo, Recover(Up332432524343243243254456546456676767887000023423418982323321)
  156. Recover(Up3000023444343242365673543232443243265652341898232333298755441122864379):
  157. PixelSearch, X, Y, 5, 150, 516, 180, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  158. if Errorlevel = 1
  159. GoTo, Recover(Up3005433456786789879789333298755441122864379)
  160. else
  161. click %X%, %Y%
  162. sleep 2000
  163. GoTo, Recover(Up332432524343243243254456546456676767887000023423418982323321)
  164. Recover(Up3005433456786789879789333298755441122864379):
  165. PixelSearch, X, Y, 5, 120, 516, 150, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  166. if Errorlevel = 1
  167. GoTo, Recover(Up300002344354323243234324433443243265652341898232333298755441122864379)
  168. else
  169. click %X%, %Y%
  170. sleep 2000
  171. GoTo, Recover(Up332432524343243243254456546456676767887000023423418982323321)
  172. Recover(Up300002344354323243234324433443243265652341898232333298755441122864379):
  173. PixelSearch, X, Y, 5, 90, 516, 120, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  174. if Errorlevel = 1
  175. GoTo, Recover(Up3000023432432342443543232443243265652341898232333298755441122864379)
  176. else
  177. click %X%, %Y%
  178. sleep 2000
  179. GoTo, Recover(Up332432524343243243254456546456676767887000023423418982323321)
  180. Recover(Up3000023432432342443543232443243265652341898232333298755441122864379):
  181. PixelSearch, X, Y, 5, 60, 516, 90, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  182. if Errorlevel = 1
  183. GoTo, Recover(Up3000023443543232443243265652341894324324324328232333298755441122864379)
  184. else
  185. click %X%, %Y%
  186. sleep 2000
  187. GoTo, Recover(Up332432524343243243254456546456676767887000023423418982323321)
  188. Recover(Up3000023443543232443243265652341894324324324328232333298755441122864379):
  189. PixelSearch, X, Y, 5, 30, 516, 60, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  190. if Errorlevel = 1
  191. GoTo, Recover(Up3043243234243200023443543232443243265652341898232333298755441122864379)
  192. else
  193. click %X%, %Y%
  194. sleep 2000
  195. GoTo, Recover(Up332432524343243243254456546456676767887000023423418982323321)
  196. Recover(Up3043243234243200023443543232443243265652341898232333298755441122864379):
  197. PixelSearch, X, Y, 5, 5, 516, 30, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  198. if Errorlevel = 1
  199. GoTo, Recover(Up3000023443543232443243265652341898232333298755441122864379)
  200. else
  201. click %X%, %Y%
  202. sleep 2000
  203. GoTo, Recover(Up332432524343243243254456546456676767887000023423418982323321)
  204. Recover(Up3000023443543232443243265652341898232333298755441122864379):
  205. PixelSearch, X433, Y433, 557, 35, 746, 196, 0x4ED9FF, 1, Fast ; bank on minimap
  206. if Errorlevel = 1
  207. GoTo, Recover(Up3000023423418982323321)
  208. else
  209. mousemove X433, Y433
  210. MouseMove, -15, 4, 1, R
  211. click
  212. sleep 10000
  213. Goto, Recovered(Up3341882323321)
  214. Recover(Up332432524343243243254456546456676767887000023423418982323321):
  215. PixelSearch, X62, Y62, 396, 48, 448, 94, 0x344049, 1, Fast ; checking if bank open
  216. if Errorlevel = 1
  217. GoTo, Recovered(Up3341882323321)
  218. else
  219. click 443, 345
  220. sleep 100
  221. PixelSearch, DX, DY, 55, 100, 206, 156, 0x0A3FBB, 1, Fast ; withdraw glassblow pipe and first item
  222. click 443, 343
  223. sleep 1000
  224. sleep 500
  225. mousemove 138, 131
  226. click left
  227. sleep 50
  228. mousemove 92, 134
  229. click right
  230. MouseMove, 0, 100, 1, R
  231. sleep 50
  232. click left
  233. sleep 500
  234. click 487 56
  235. sleep 2000
  236. GoTo, Recover(Down110041882323321)
  237. Recover(Down110041882323321):
  238. Recover(Down234020041882323321):
  239. send {ESC}
  240. click 578, 261 ; 28th item
  241. sleep 500
  242. click 623, 262 ; 27st item
  243. sleep 2000
  244.  
  245. click 37, 461
  246.  
  247.  
  248. sleep 49000
  249. GoTo, Recovered(Up3341882323321)
  250. Goto, Recovered(Up3341882323321)
  251. GoTo, Recover(Down234020041882323321)
  252. Recover(Down2000041882323321):
  253. GoTo, Recovered(Up3341882323321)
  254. Recover(Down3000041882323321):
  255. SoundBeep
  256. GoTo, Recovered(Up3341882323321)
  257. Recover(Down4912982323321):
  258. sleep 30000
  259. Recover(Up3000023423418982323321):
  260. PixelSearch, DXKIOE, DKYIOE, 164, 53, 207, 124, 0xCBBAB9, 1, Fast ; search for log in screen
  261. if Errorlevel = 1
  262. GoTo, Recovered(Up3341882323321)
  263. else
  264. PixelSearch, DXKIO, DKYIO, 314, 287, 336, 302, 0xFFFFFF, 1, Fast ; search for any login entered
  265. if Errorlevel = 0
  266. Goto, Recovered(Up33123423455441882323321)
  267. PixelSearch, DXKI, DKYI, 345, 301, 388, 315, 0xFFFFFF, 1, Fast ; search for any password entered
  268. if Errorlevel = 0
  269. Goto, Recover(Down30000234234123432428982323321)
  270. PixelSearch, DXKI, DKYI, 250, 244, 521, 262, 0x00FFFF, 1, Fast ; search for 2nd login screen
  271. if Errorlevel = 0
  272. Goto, Recover(Down300002342354645416458982323321)
  273. PixelSearch, DXI, DYI, 388, 300, 403, 313, 0x201D1C, 1, Fast ; search for login screen
  274. if Errorlevel = 1
  275. Goto, Recover(Down3000023423418982323321)
  276. else
  277. PixelSearch, DXU, DYU, 159, 50, 207, 118, 0xCBBAB9, 1, Fast ; search for login screen
  278. if Errorlevel = 1
  279. Goto, Recover(Down3000023423418982323321)
  280. else
  281. click 402, 312
  282. sleep 100
  283. Recover(Down300002342354645416458982323321):
  284. PixelSearch, XX, YY, 225, 361, 246, 381, 0x0B0B0B, 1, Fast
  285. if Errorlevel = 1
  286. Goto, Recover(Down3000023423418982323321)
  287. else
  288. PixelSearch, XXX, YYY, 250, 244, 521, 262, 0x00FFFF, 1, Fast
  289. if Errorlevel = 1
  290. Goto, Recover(Down3000023423418982323321)
  291. else
  292. click 315, 292
  293. send %accname%{enter}
  294. send %accpass%{enter}
  295. sleep 7000
  296. click 384, 367
  297. sleep 7000
  298. GoTo, Recovered(Up3312342342342342345655441882323321)
  299. Recover(Down30000234234123432428982323321):
  300. click 316, 289
  301. send {backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}
  302. click 346, 307
  303. send {backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}
  304. Goto, Recovered(Up3341882323321)
  305. Recover(Down3000023423418982323321):
  306. }
  307. return
  308.  
  309. Buttoncursesplashing:
  310. IfWinExist, ahk_class SunAwtFrame
  311. WinActivate, ahk_class SunAwtFrame
  312. Recovered(Up33412124321278894351):
  313. BlockInput, MouseMove
  314. sleep 50
  315. click 563, 54
  316. Send {Up Down}
  317. sleep 2000
  318. Send {Up Up}
  319. click 748, 216
  320. Recovered(Up3341211):
  321. Loop
  322. {
  323. WinActivate, ahk_class SunAwtFrame
  324. PixelSearch, XDE, YDE, 8, 62, 517, 371, 0x055140, 1, Fast ; Search for Jogre
  325. if Errorlevel = 1
  326. GoTo, Recovered(Up33345345645641211)
  327. else
  328. Send {F6}
  329. click 669, 288
  330. mousemove XDE, YDE
  331. click XDE, YDE
  332. sleep 800
  333. GoTo, Recovered(Up3341211)
  334. Recovered(Up33345345645641211):
  335. PixelSearch, X, Y, 8, 62, 517, 371, 0x055F4A, 1, Fast ; Search for Jogre
  336. if Errorlevel = 1
  337. GoTo, Recover(Up3002343768784354343434465131)
  338. else
  339. Send {F6}
  340. click 669, 288
  341. mousemove X, Y
  342. click X, Y
  343. sleep 800
  344. GoTo, Recovered(Up3341211)
  345. Recover(Down20014112323543211):
  346. PixelSearch, XP, YP, 8, 62, 517, 371, 0x024032, 1, Fast ; Search for Jogre second colour
  347. if Errorlevel = 1
  348. GoTo, Recovered(Up3341211)
  349. else
  350. mousemove XP, YP
  351. click XP, YP
  352. sleep 800
  353. GoTo, Recovered(Up3341211)
  354. }
  355. return
  356.  
  357. ; Auto Login curse alching jogre
  358. Recover(Up3002343768784354343434465131): ; IF COPY PASTE, CHANGE THIS TO UNIQUE
  359. PixelSearch, DXKIOE, DKYIOE, 164, 53, 207, 124, 0xCBBAB9, 1, Fast ; search for log in screen
  360. if Errorlevel = 1
  361. GoTo, Recovered(Up3341211) ; IF COPY PASTE, CHANGE THIS TO BEGINNING LABEL
  362. else
  363. PixelSearch, DXKIO, DKYIO, 314, 287, 336, 302, 0xFFFFFF, 1, Fast ; search for any login entered
  364. if Errorlevel = 0
  365. Goto, Recover(Down47824746784673111145645645644217554)
  366. PixelSearch, DXKI, DKYI, 345, 301, 388, 315, 0xFFFFFF, 1, Fast ; search for any password entered
  367. if Errorlevel = 0
  368. Goto, Recover(Down47824746784673111145645645644217554)
  369. PixelSearch, DXKI, DKYI, 250, 244, 521, 262, 0x00FFFF, 1, Fast ; search for 2nd login screen
  370. if Errorlevel = 0
  371. Goto, Recover(Down4784746784673111145645645644217554)
  372. PixelSearch, DXI, DYI, 388, 300, 403, 313, 0x201D1C, 1, Fast ; search for login screen
  373. if Errorlevel = 1
  374. Goto, Recover(Down4784746784673111145645645644217554)
  375. else
  376. PixelSearch, DXU, DYU, 159, 50, 207, 118, 0xCBBAB9, 1, Fast ; search for login screen
  377. if Errorlevel = 1
  378. Goto, Recover(Down4784746784673111145645645644217554)
  379. else
  380. click 402, 312
  381. sleep 100
  382. Recover(Down4784746784673111145645645644217554):
  383. PixelSearch, XX, YY, 225, 361, 246, 381, 0x0B0B0B, 1, Fast
  384. if Errorlevel = 1
  385. Goto, Recover(Down4784746784673111145645645644217554)
  386. else
  387. PixelSearch, XXX, YYY, 250, 244, 521, 262, 0x00FFFF, 1, Fast
  388. if Errorlevel = 1
  389. Goto, Recover(Down4784746784673111145645645644217554)
  390. else
  391. click 315, 292
  392. send %accname%{enter}
  393. send %accpass%{enter}
  394. sleep 7000
  395. click 384, 367
  396. sleep 7000
  397. Goto, Recovered(Up33412124321278894351) ; IF COPY PASTE, CHANGE THIS TO BEGINNING LABEL
  398. Recover(Down47824746784673111145645645644217554):
  399. click 316, 289
  400. send {backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}
  401. click 346, 307
  402. send {backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}
  403. Goto, Recover(Up3002343768784354343434465131) ; CHANGE THIS TO THE SAME UNIQUE
  404. Recover(Down478474678467345645645644217554):
  405. GoTo, Recovered(Up3341211) ; IF COPY PASTE, CHANGE THIS TO BEGINNING LABEL
  406. return
  407.  
  408. Buttonfletchingarrowshafts:
  409. IfWinExist, ahk_class SunAwtFrame
  410. WinActivate, ahk_class SunAwtFrame
  411. Recovered(Up3312342342342342345655441882323332666):
  412. sleep 50
  413. click 563, 54
  414. Send {Up Down}
  415. sleep 2000 ;Sleeps ten seconds and then sends spacebar up
  416. Send {Up Up}
  417. GoTo, Recovered(Up3341882323332666)
  418. Recovered(Up33123423455441882323332666):
  419. sleep 5000
  420. Recovered(Up3341882323332666):
  421. Loop
  422. {
  423. BlockInput, MouseMove
  424. WinActivate, ahk_class SunAwtFrame
  425. PixelSearch, X, Y, 396, 48, 448, 94, 0x344049, 1, Fast ; checking if bank open
  426. if Errorlevel = 1
  427. GoTo, Recovered(Up334182282323332666)
  428. else
  429. click 487, 56
  430. sleep 500
  431. GoTo, Recovered(Up3341882323332666)
  432. Recovered(Up334182282323332666):
  433. PixelSearch, X, Y, 5, 337, 516, 371, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  434. if Errorlevel = 1
  435. GoTo, Recover(Up3000023443543232443243432432432432656523418982323332666)
  436. else
  437. click %X%, %Y%
  438. sleep 2000
  439. GoTo, Recover(Up3000023443543234324432566757864324432432656523418982323332666)
  440. Recover(Up3000023443543232443243432432432432656523418982323332666):
  441. PixelSearch, X, Y, 5, 300, 516, 337, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  442. if Errorlevel = 1
  443. GoTo, Recover(Up30000234435432324432432654354354343554356523418982323332666)
  444. else
  445. click %X%, %Y%
  446. sleep 2000
  447. GoTo, Recover(Up3000023443543234324432566757864324432432656523418982323332666)
  448. Recover(Up30000234435432324432432654354354343554356523418982323332666):
  449. PixelSearch, X, Y, 5, 270, 516, 300, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  450. if Errorlevel = 1
  451. GoTo, Recover(Up30000243224332443232443234435432324432432656523418982323332666)
  452. else
  453. click %X%, %Y%
  454. sleep 2000
  455. GoTo, Recover(Up3000023443543234324432566757864324432432656523418982323332666)
  456. Recover(Up30000243224332443232443234435432324432432656523418982323332666):
  457. PixelSearch, X, Y, 5, 240, 516, 270, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  458. if Errorlevel = 1
  459. GoTo, Recover(Up30000234443243243243234235432324432432656523418982323332666)
  460. else
  461. click %X%, %Y%
  462. sleep 2000
  463. GoTo, Recover(Up3000023443543234324432566757864324432432656523418982323332666)
  464. Recover(Up30000234443243243243234235432324432432656523418982323332666):
  465. PixelSearch, X, Y, 5, 210, 516, 240, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  466. if Errorlevel = 1
  467. GoTo, Recover(Up300002343543557657684435432324432432656523418982323332666)
  468. else
  469. click %X%, %Y%
  470. sleep 2000
  471. GoTo, Recover(Up3000023443543234324432566757864324432432656523418982323332666)
  472. Recover(Up300002343543557657684435432324432432656523418982323332666):
  473. PixelSearch, X, Y, 5, 180, 516, 210, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  474. if Errorlevel = 1
  475. GoTo, Recover(Up30000234443432423656735432324432432656523418982323332666)
  476. else
  477. click %X%, %Y%
  478. sleep 2000
  479. GoTo, Recover(Up3000023443543234324432566757864324432432656523418982323332666)
  480. Recover(Up30000234443432423656735432324432432656523418982323332666):
  481. PixelSearch, X, Y, 5, 150, 516, 180, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  482. if Errorlevel = 1
  483. GoTo, Recover(Up30054334567867898797893332666)
  484. else
  485. click %X%, %Y%
  486. sleep 2000
  487. GoTo, Recover(Up3000023443543234324432566757864324432432656523418982323332666)
  488. Recover(Up30054334567867898797893332666):
  489. PixelSearch, X, Y, 5, 120, 516, 150, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  490. if Errorlevel = 1
  491. GoTo, Recover(Up3000023443543232432343244334432432656523418982323332666)
  492. else
  493. click %X%, %Y%
  494. sleep 2000
  495. GoTo, Recover(Up3000023443543234324432566757864324432432656523418982323332666)
  496. Recover(Up3000023443543232432343244334432432656523418982323332666):
  497. PixelSearch, X, Y, 5, 90, 516, 120, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  498. if Errorlevel = 1
  499. GoTo, Recover(Up30000234324323424435432324432432656523418982323332666)
  500. else
  501. click %X%, %Y%
  502. sleep 2000
  503. GoTo, Recover(Up3000023443543234324432566757864324432432656523418982323332666)
  504. Recover(Up30000234324323424435432324432432656523418982323332666):
  505. PixelSearch, X, Y, 5, 60, 516, 90, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  506. if Errorlevel = 1
  507. GoTo, Recover(Up30000234435432324432432656523418943243243243282323332666)
  508. else
  509. click %X%, %Y%
  510. sleep 2000
  511. GoTo, Recover(Up3000023443543234324432566757864324432432656523418982323332666)
  512. Recover(Up30000234435432324432432656523418943243243243282323332666):
  513. PixelSearch, X, Y, 5, 30, 516, 60, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  514. if Errorlevel = 1
  515. GoTo, Recover(Up30432432342432000234435432324432432656523418982323332666)
  516. else
  517. click %X%, %Y%
  518. sleep 2000
  519. GoTo, Recover(Up3000023443543234324432566757864324432432656523418982323332666)
  520. Recover(Up30432432342432000234435432324432432656523418982323332666):
  521. PixelSearch, X, Y, 5, 5, 516, 30, 0x141E2D, 1, Fast ; Blast Furnace Bank Chest
  522. if Errorlevel = 1
  523. GoTo, Recover(Up30000234435432324432432656523418982323332666)
  524. else
  525. click %X%, %Y%
  526. sleep 2000
  527. GoTo, Recover(Up3000023443543234324432566757864324432432656523418982323332666)
  528. Recover(Up30000234435432324432432656523418982323332666):
  529. PixelSearch, X433, Y433, 557, 35, 746, 196, 0x4ED9FF, 1, Fast ; bank on minimap
  530. if Errorlevel = 1
  531. GoTo, Recover(Up3000023423418982323332666)
  532. else
  533. mousemove X433, Y433
  534. MouseMove, -15, 4, 1, R
  535. click
  536. sleep 10000
  537. Goto, Recovered(Up3341882323332666)
  538. Recover(Up3000023443543234324432566757864324432432656523418982323332666):
  539. PixelSearch, X62, Y62, 396, 48, 448, 94, 0x344049, 1, Fast ; checking if bank open
  540. if Errorlevel = 1
  541. GoTo, Recovered(Up3341882323332666)
  542. else
  543. click 443, 345
  544. sleep 100
  545. PixelSearch, DX, DY, 55, 100, 206, 156, 0x0A3FBB, 1, Fast ; withdraw knife and logs
  546. click 443, 343
  547. sleep 1000
  548. sleep 500
  549. mousemove 138, 131
  550. click left
  551. sleep 50
  552. mousemove 92, 134
  553. click right
  554. MouseMove, 0, 100, 1, R
  555. sleep 50
  556. click left
  557. sleep 500
  558. click 487 56
  559. sleep 2000
  560. GoTo, Recover(Down110041882323332666)
  561. Recover(Down110041882323332666):
  562. Recover(Down234020041882323332666):
  563. send {ESC}
  564. click 578, 261 ; 28th item
  565. sleep 500
  566. click 623, 262 ; 27st item
  567. sleep 2000
  568. mousemove 56, 460
  569. click left
  570. sleep 2000
  571. sleep 50000
  572. GoTo, Recovered(Up3341882323332666)
  573. Goto, Recovered(Up3341882323332666)
  574. GoTo, Recover(Down234020041882323332666)
  575. Recover(Down2000041882323332666):
  576. GoTo, Recovered(Up3341882323332666)
  577. Recover(Down3000041882323332666):
  578. SoundBeep
  579. GoTo, Recovered(Up3341882323332666)
  580. Recover(Down4912982323332666):
  581. sleep 30000
  582. Recover(Up3000023423418982323332666):
  583. PixelSearch, DXKIOE, DKYIOE, 164, 53, 207, 124, 0xCBBAB9, 1, Fast ; search for log in screen
  584. if Errorlevel = 1
  585. GoTo, Recovered(Up3341882323332666)
  586. else
  587. PixelSearch, DXKIO, DKYIO, 314, 287, 336, 302, 0xFFFFFF, 1, Fast ; search for any login entered
  588. if Errorlevel = 0
  589. Goto, Recovered(Up33123423455441882323332666)
  590. PixelSearch, DXKI, DKYI, 345, 301, 388, 315, 0xFFFFFF, 1, Fast ; search for any password entered
  591. if Errorlevel = 0
  592. Goto, Recover(Down30000234234123432428982323332666)
  593. PixelSearch, DXKI, DKYI, 250, 244, 521, 262, 0x00FFFF, 1, Fast ; search for 2nd login screen
  594. if Errorlevel = 0
  595. Goto, Recover(Down300002342354645416458982323332666)
  596. PixelSearch, DXI, DYI, 388, 300, 403, 313, 0x201D1C, 1, Fast ; search for login screen
  597. if Errorlevel = 1
  598. Goto, Recover(Down3000023423418982323332666)
  599. else
  600. PixelSearch, DXU, DYU, 159, 50, 207, 118, 0xCBBAB9, 1, Fast ; search for login screen
  601. if Errorlevel = 1
  602. Goto, Recover(Down3000023423418982323332666)
  603. else
  604. click 402, 312
  605. sleep 100
  606. Recover(Down300002342354645416458982323332666):
  607. PixelSearch, XX, YY, 225, 361, 246, 381, 0x0B0B0B, 1, Fast
  608. if Errorlevel = 1
  609. Goto, Recover(Down3000023423418982323332666)
  610. else
  611. PixelSearch, XXX, YYY, 250, 244, 521, 262, 0x00FFFF, 1, Fast
  612. if Errorlevel = 1
  613. Goto, Recover(Down3000023423418982323332666)
  614. else
  615. click 315, 292
  616. send %accname%{enter}
  617. send %accpass%{enter}
  618. sleep 7000
  619. click 384, 367
  620. sleep 7000
  621. GoTo, Recovered(Up3312342342342342345655441882323332666)
  622. Recover(Down30000234234123432428982323332666):
  623. click 316, 289
  624. send {backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}
  625. click 346, 307
  626. send {backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}
  627. Goto, Recovered(Up3341882323332666)
  628. Recover(Down3000023423418982323332666):
  629. }
  630. Return
  631.  
  632.  
  633. ButtonIronPowerMiner:
  634. IfWinExist, ahk_class SunAwtFrame
  635. WinActivate, ahk_class SunAwtFrame
  636. Recovered(Up3341841922344355676321117697643399):
  637. BlockInput, MouseMove
  638. sleep 50
  639. click 563, 54
  640. Send {Up Down}
  641. sleep 2000
  642. Send {Up Up}
  643. Loop 50
  644. {
  645. Send ^{WheelUp}
  646. sleep 10
  647. }
  648. GoTo, Recovered(Up33418411117697643399)
  649. Recovered(Up3341841921117697643399):
  650. sleep 3000
  651. Recovered(Up33418411117697643399):
  652. Loop
  653. {
  654. sleep %completerand%
  655. WinActivate, ahk_class SunAwtFrame
  656. Send {Shift Down}
  657. PixelSearch, XF1123456741, YF1123456741, 687, 463, 728, 494, 0x0F182E, 1, Fast ; checking 1st spot for logs
  658. if Errorlevel = 1
  659. GoTo, Recovered(Up33418224111423443243243243243243256456546546454517697643399)
  660. else
  661. GoTo, Recovered(Up334182241231231234353453453451234545632132112332131211117697643399)
  662. Recovered(Up33418224111423443243243243243243256456546546454517697643399):
  663. PixelSearch, XF1123456741, YF1123456741, 687, 463, 728, 494, 0x0E152B, 1, Fast ; checking 1st spot for logs 0
  664. if Errorlevel = 1
  665. GoTo, Recovered(Up33418224111456456546546454517697643399)
  666. else
  667. GoTo, Recovered(Up334182241231231234353453453451234545632132112332131211117697643399)
  668. Recovered(Up33418224111456456546546454517697643399):
  669. PixelSearch, XF1123456731, YF1123456731, 687, 463, 728, 494, 0x111A32, 1, Fast ; checking 1st spot for logs F
  670. if Errorlevel = 1
  671. GoTo, Recovered(Up3344323424324323421822411117697643399)
  672. else
  673. GoTo, Recovered(Up334182241231231234353453453451234545632132112332131211117697643399)
  674. Recovered(Up3344323424324323421822411117697643399):
  675. PixelSearch, XF1123456731, YF1123456731, 647, 463, 685, 494, 0x111A32, 1, Fast ; checking 2st spot for logs F
  676. if Errorlevel = 1
  677. GoTo, Recovered(Up33418224111176976432342342342345656399)
  678. else
  679. GoTo, Recovered(Up334182241231231234353453453451234545632132112332131211117697643399)
  680. Recovered(Up33418224111176976432342342342345656399):
  681. PixelSearch, XF1123456731, YF1123456731, 647, 463, 685, 494, 0x0E152B, 1, Fast ; checking 2st spot for logs F
  682. if Errorlevel = 1
  683. GoTo, Recovered(Up334182241113423423417697643242343399)
  684. else
  685. GoTo, Recovered(Up334182241231231234353453453451234545632132112332131211117697643399)
  686. Recovered(Up334182241113423423417697643242343399):
  687. PixelSearch, XF1123456731, YF1123456731, 647, 463, 685, 494, 0x0F182E, 1, Fast ; checking 2st spot for logs F
  688. if Errorlevel = 1
  689. GoTo, Recovered(Up333242344324341822411117697643399)
  690. else
  691. GoTo, Recovered(Up334182241231231234353453453451234545632132112332131211117697643399)
  692. Recovered(Up333242344324341822411117697643399):
  693. PixelSearch, XF1123456731, YF1123456731, 602, 463, 643, 494, 0x0F182E, 1, Fast ; checking 3rd spot for logs F
  694. if Errorlevel = 1
  695. GoTo, Recovered(Up3341822411117632434243243297643399)
  696. else
  697. GoTo, Recovered(Up334182241231231234353453453451234545632132112332131211117697643399)
  698. Recovered(Up3341822411117632434243243297643399):
  699. PixelSearch, XF1123456731, YF1123456731, 602, 463, 643, 494, 0x0E152B, 1, Fast ; checking 3rd spot for logs F
  700. if Errorlevel = 1
  701. GoTo, Recovered(Up334182243324234234323423423399)
  702. else
  703. GoTo, Recovered(Up334182241231231234353453453451234545632132112332131211117697643399)
  704. Recovered(Up334182243324234234323423423399):
  705. PixelSearch, XF1123456731, YF1123456731, 602, 463, 643, 494, 0x111A32, 1, Fast ; checking 3rd spot for logs F
  706. if Errorlevel = 1
  707. GoTo, Recovered(Up334354354534354323424323248778341822411117697643399)
  708. else
  709. GoTo, Recovered(Up334182241231231234353453453451234545632132112332131211117697643399)
  710. Recovered(Up334354354534354323424323248778341822411117697643399):
  711. PixelSearch, XF1123456731, YF1123456731, 560, 463, 601, 494, 0x111A32, 1, Fast ; checking 4th spot for logs F
  712. if Errorlevel = 1
  713. GoTo, Recovered(Up4354354534534354353323424323248778341822411117697643399)
  714. else
  715. GoTo, Recovered(Up334182241231231234353453453451234545632132112332131211117697643399)
  716. Recovered(Up4354354534534354353323424323248778341822411117697643399):
  717. PixelSearch, XF1123456731, YF1123456731, 560, 463, 601, 494, 0x0E152B, 1, Fast ; checking 4th spot for logs F
  718. if Errorlevel = 1
  719. GoTo, Recovered(Up365565656323424343434343523248778341822411117697643399)
  720. else
  721. GoTo, Recovered(Up334182241231231234353453453451234545632132112332131211117697643399)
  722. Recovered(Up365565656323424343434343523248778341822411117697643399):
  723. PixelSearch, XF1123456731, YF1123456731, 560, 463, 601, 494, 0x0F182E, 1, Fast ; checking 4th spot for logs F
  724. if Errorlevel = 1
  725. GoTo, Recovered(Up3341822411117697643399)
  726. else
  727. GoTo, Recovered(Up334182241231231234353453453451234545632132112332131211117697643399)
  728. Recovered(Up334182241231231234353453453451234545632132112332131211117697643399):
  729. PixelSearch, X322313, Y322313, 560, 246, 598, 280, 0x111A32, 1, Fast ; checking 28th spot for logs
  730. if Errorlevel = 1
  731. GoTo, Recovered(Up8975434354312099899)
  732. else
  733. mousemove X3223, Y3223
  734. MouseMove, %xrand%, %yrand%, 1, R
  735. click
  736. sleep 50
  737. Recovered(Up8975434354312099899):
  738. PixelSearch, X322313, Y322313, 605, 245, 641, 279, 0x0F182E, 1, Fast ; checking 27th spot for logs
  739. if Errorlevel = 1
  740. GoTo, Recovered(Up345653634563435436099899)
  741. else
  742. mousemove X32231, Y32231
  743. MouseMove, %xrand%, %yrand%, 1, R
  744. click
  745. sleep 50
  746. Recovered(Up345653634563435436099899):
  747. PixelSearch, X322313, Y322313, 646, 245, 685, 280, 0x0F182E, 1, Fast ; checking 26th spot for logs
  748. if Errorlevel = 1
  749. GoTo, Recovered(Up3341823443542342342241111769712099899)
  750. else
  751. mousemove X322313, Y322313
  752. click
  753. sleep 50
  754. Recovered(Up3341823443542342342241111769712099899):
  755. PixelSearch, X322313, Y322313, 688, 245, 728, 280, 0x0F182E, 1, Fast ; checking 25th spot for logs
  756. if Errorlevel = 1
  757. GoTo, Recovered(Up333456735673335467099899)
  758. else
  759. mousemove X322313, Y322313
  760. click
  761. sleep 50
  762. Recovered(Up333456735673335467099899):
  763. PixelSearch, X322313, Y322313, 561, 279, 600, 315, 0x0F182E, 1, Fast ; checking 24th spot for logs
  764. if Errorlevel = 1
  765. GoTo, Recovered(Up343243325233443224343243562234534099899)
  766. else
  767. mousemove X322313, Y322313
  768. click
  769. sleep 50
  770. Recovered(Up343243325233443224343243562234534099899):
  771. PixelSearch, X322313, Y322313, 603, 279, 642, 315, 0x0F182E, 1, Fast ; checking 23th spot for logs
  772. if Errorlevel = 1
  773. GoTo, Recovered(Up11111334182241111769712099899)
  774. else
  775. mousemove X322313, Y322313
  776. click
  777. sleep 50
  778. Recovered(Up11111334182241111769712099899):
  779. PixelSearch, X322313, Y322313, 646, 279, 684, 315, 0x0F182E, 1, Fast ; checking 22th spot for logs
  780. if Errorlevel = 1
  781. GoTo, Recovered(Up22222334182241111769712099899)
  782. else
  783. mousemove X322313, Y322313
  784. click
  785. sleep 50
  786. Recovered(Up22222334182241111769712099899):
  787. PixelSearch, X322313, Y322313, 688, 279, 729, 315, 0x0F182E, 1, Fast ; checking 21th spot for logs
  788. if Errorlevel = 1
  789. GoTo, Recovered(Up33333334182241111769712099899)
  790. else
  791. mousemove X322313, Y322313
  792. click
  793. sleep 50
  794. Recovered(Up33333334182241111769712099899):
  795. PixelSearch, X322313, Y322313, 560, 320, 600, 350, 0x0F182E, 1, Fast ; checking 20th spot for logs
  796. if Errorlevel = 1
  797. GoTo, Recovered(Up3444434182241111769712099899)
  798. else
  799. mousemove X322313, Y322313
  800. click
  801. sleep 50
  802. Recovered(Up3444434182241111769712099899):
  803. PixelSearch, X322313, Y322313, 604, 320, 641, 350, 0x0F182E, 1, Fast ; checking 19th spot for logs
  804. if Errorlevel = 1
  805. GoTo, Recovered(Up444444334182241111769712099899)
  806. else
  807. mousemove X322313, Y322313
  808. click
  809. sleep 50
  810. Recovered(Up444444334182241111769712099899):
  811. PixelSearch, X322313, Y322313, 645, 320, 685, 350, 0x0F182E, 1, Fast ; checking 18th spot for logs
  812. if Errorlevel = 1
  813. GoTo, Recovered(Up3555534182241111769712099899)
  814. else
  815. mousemove X322313, Y322313
  816. click
  817. sleep 50
  818. Recovered(Up3555534182241111769712099899):
  819. PixelSearch, X322313, Y322313, 688, 320, 727, 350, 0x0F182E, 1, Fast ; checking 17th spot for logs
  820. if Errorlevel = 1
  821. GoTo, Recovered(Up55555555334182241111769712099899)
  822. else
  823. mousemove X322313, Y322313
  824. click
  825. sleep 50
  826. Recovered(Up55555555334182241111769712099899):
  827. PixelSearch, X322313, Y322313, 561, 355, 600, 386, 0x0F182E, 1, Fast ; checking 16th spot for logs
  828. if Errorlevel = 1
  829. GoTo, Recovered(Up66666334182241111769712099899)
  830. else
  831. mousemove X322313, Y322313
  832. click
  833. sleep 50
  834. Recovered(Up66666334182241111769712099899):
  835. PixelSearch, X322313, Y322313, 604, 355, 642, 386, 0x0F182E, 1, Fast ; checking 15th spot for logs
  836. if Errorlevel = 1
  837. GoTo, Recovered(Up777777334182241111769712099899)
  838. else
  839. mousemove X322313, Y322313
  840. click
  841. sleep 50
  842. Recovered(Up777777334182241111769712099899):
  843. PixelSearch, X322313, Y322313, 645, 355, 685, 386, 0x0F182E, 1, Fast ; checking 14th spot for logs
  844. if Errorlevel = 1
  845. GoTo, Recovered(Up888888334182241111769712099899)
  846. else
  847. mousemove X322313, Y322313
  848. click
  849. sleep 50
  850. Recovered(Up888888334182241111769712099899):
  851. PixelSearch, X322313, Y322313, 688, 355, 725, 386, 0x0F182E, 1, Fast ; checking 13th spot for logs
  852. if Errorlevel = 1
  853. GoTo, Recovered(Up999999334182241111769712099899)
  854. else
  855. mousemove X322313, Y322313
  856. click
  857. sleep 50
  858. Recovered(Up999999334182241111769712099899):
  859. PixelSearch, X322313, Y322313, 561, 390, 600, 422, 0x0F182E, 1, Fast ; checking 12th spot for logs
  860. if Errorlevel = 1
  861. GoTo, Recovered(Up2834324334182241111769712099899)
  862. else
  863. mousemove X322313, Y322313
  864. click
  865. sleep 50
  866. Recovered(Up2834324334182241111769712099899):
  867. PixelSearch, X322313, Y322313, 602, 390, 643, 422, 0x0F182E, 1, Fast ; checking 11th spot for logs
  868. if Errorlevel = 1
  869. GoTo, Recovered(Up3423456756434334182241111769712099899)
  870. else
  871. mousemove X322313, Y322313
  872. click
  873. sleep 50
  874. Recovered(Up3423456756434334182241111769712099899):
  875. PixelSearch, X322313, Y322313, 646, 390, 685, 422, 0x0F182E, 1, Fast ; checking 10th spot for logs
  876. if Errorlevel = 1
  877. GoTo, Recovered(Up3234234564341822556641111769712099899)
  878. else
  879. mousemove X322313, Y322313
  880. click
  881. sleep 50
  882. Recovered(Up3234234564341822556641111769712099899):
  883. PixelSearch, X322313, Y322313, 687, 390, 728, 422, 0x0F182E, 1, Fast ; checking 9th spot for logs
  884. if Errorlevel = 1
  885. GoTo, Recovered(Up334182241111769712544565432423099899)
  886. else
  887. mousemove X322313, Y322313
  888. click
  889. sleep 50
  890. Recovered(Up334182241111769712544565432423099899):
  891. PixelSearch, X322313, Y322313, 560, 425, 600, 460, 0x0F182E, 1, Fast ; checking 8th spot for logs
  892. if Errorlevel = 1
  893. GoTo, Recovered(Up4343334182234434111176971232143099899)
  894. else
  895. mousemove X322313, Y322313
  896. click
  897. sleep 50
  898. Recovered(Up4343334182234434111176971232143099899):
  899. PixelSearch, X322313, Y322313, 603, 425, 642, 460, 0x0F182E, 1, Fast ; checking 7th spot for logs
  900. if Errorlevel = 1
  901. GoTo, Recovered(Up234235667556334182241111769712099899)
  902. else
  903. mousemove X322313, Y322313
  904. click
  905. sleep 50
  906. Recovered(Up234235667556334182241111769712099899):
  907. PixelSearch, X322313, Y322313, 646, 425, 684, 460, 0x0F182E, 1, Fast ; checking 6th spot for logs
  908. if Errorlevel = 1
  909. GoTo, Recovered(Up85647344343334182241111769712099899)
  910. else
  911. mousemove X322313, Y322313
  912. click
  913. sleep 50
  914. Recovered(Up85647344343334182241111769712099899):
  915. PixelSearch, X322313, Y322313, 687, 425, 728, 460, 0x0F182E, 1, Fast ; checking 5th spot for logs
  916. if Errorlevel = 1
  917. GoTo, Recovered(Up434354665767686776334182241111769712099899)
  918. else
  919. mousemove X322313, Y322313
  920. click
  921. sleep 50
  922. Recovered(Up434354665767686776334182241111769712099899):
  923. PixelSearch, X322313, Y322313, 560, 463, 601, 494, 0x0F182E, 1, Fast ; checking 4th spot for logs
  924. if Errorlevel = 1
  925. GoTo, Recovered(Up93456743567334182241111769712099899)
  926. else
  927. mousemove X322313, Y322313
  928. click
  929. sleep 50
  930. Recovered(Up93456743567334182241111769712099899):
  931. PixelSearch, X322313, Y322313, 602, 463, 643, 494, 0x0F182E, 1, Fast ; checking 3rd spot for logs
  932. if Errorlevel = 1
  933. GoTo, Recovered(Up33895768934567099899)
  934. else
  935. mousemove X322313, Y322313
  936. click
  937. sleep 50
  938. Recovered(Up33895768934567099899):
  939. PixelSearch, X322313, Y322313, 647, 463, 685, 494, 0x0F182E, 1, Fast ; checking 2nd spot for logs
  940. if Errorlevel = 1
  941. GoTo, Recovered(Up332343423456677643434182241111769712099899)
  942. else
  943. mousemove X322313, Y322313
  944. click
  945. sleep 50
  946. Recovered(Up332343423456677643434182241111769712099899):
  947. PixelSearch, X322313, Y322313, 687, 463, 728, 494, 0x0F182E, 1, Fast ; checking 1st spot for logs
  948. if Errorlevel = 1
  949. GoTo, Recovered(Up33418342324324234234234223342376576784343120999)
  950. else
  951. mousemove X322313, Y322313
  952. click
  953. sleep 50
  954. Recovered(Up33418342324324234234234223342376576784343120999):
  955.  
  956. PixelSearch, X322313, Y322313, 560, 246, 598, 280, 0x111A32, 1, Fast ; checking 28th spot for logs
  957. if Errorlevel = 1
  958. GoTo, Recovered(Up334182345435132543246134613464545767120999)
  959. else
  960. mousemove X322313, Y322313
  961. click
  962. sleep 50
  963.  
  964. Recovered(Up334182345435132543246134613464545767120999):
  965. PixelSearch, X322313, Y322313, 605, 245, 641, 279, 0x0E152B, 1, Fast ; checking 27th spot for logs
  966. if Errorlevel = 1
  967. GoTo, Recovered(Up3456536345634354360999)
  968. else
  969. mousemove X322313, Y322313
  970. click
  971. sleep 50
  972. Recovered(Up3456536345634354360999):
  973. PixelSearch, X322313, Y322313, 646, 245, 685, 280, 0x0E152B, 1, Fast ; checking 26th spot for logs
  974. if Errorlevel = 1
  975. GoTo, Recovered(Up33418234435423423422411117697120999)
  976. else
  977. mousemove X322313, Y322313
  978. click
  979. sleep 50
  980. Recovered(Up33418234435423423422411117697120999):
  981. PixelSearch, X322313, Y322313, 688, 245, 728, 280, 0x0E152B, 1, Fast ; checking 25th spot for logs
  982. if Errorlevel = 1
  983. GoTo, Recovered(Up3334567356733354670999)
  984. else
  985. mousemove X322313, Y322313
  986. click
  987. sleep 50
  988. Recovered(Up3334567356733354670999):
  989. PixelSearch, X322313, Y322313, 561, 279, 600, 315, 0x0E152B, 1, Fast ; checking 24th spot for logs
  990. if Errorlevel = 1
  991. GoTo, Recovered(Up3432433252334432243432435622345340999)
  992. else
  993. mousemove X322313, Y322313
  994. click
  995. sleep 50
  996. Recovered(Up3432433252334432243432435622345340999):
  997. PixelSearch, X322313, Y322313, 603, 279, 642, 315, 0x0E152B, 1, Fast ; checking 23th spot for logs
  998. if Errorlevel = 1
  999. GoTo, Recovered(Up111113341822411117697120999)
  1000. else
  1001. mousemove X322313, Y322313
  1002. click
  1003. sleep 50
  1004. Recovered(Up111113341822411117697120999):
  1005. PixelSearch, X322313, Y322313, 646, 279, 684, 315, 0x0E152B, 1, Fast ; checking 22th spot for logs
  1006. if Errorlevel = 1
  1007. GoTo, Recovered(Up222223341822411117697120999)
  1008. else
  1009. mousemove X322313, Y322313
  1010. click
  1011. sleep 50
  1012. Recovered(Up222223341822411117697120999):
  1013. PixelSearch, X322313, Y322313, 688, 279, 729, 315, 0x0E152B, 1, Fast ; checking 21th spot for logs
  1014. if Errorlevel = 1
  1015. GoTo, Recovered(Up333333341822411117697120999)
  1016. else
  1017. mousemove X322313, Y322313
  1018. click
  1019. sleep 50
  1020. Recovered(Up333333341822411117697120999):
  1021. PixelSearch, X322313, Y322313, 560, 320, 600, 350, 0x0E152B, 1, Fast ; checking 20th spot for logs
  1022. if Errorlevel = 1
  1023. GoTo, Recovered(Up34444341822411117697120999)
  1024. else
  1025. mousemove X322313, Y322313
  1026. click
  1027. sleep 50
  1028. Recovered(Up34444341822411117697120999):
  1029. PixelSearch, X322313, Y322313, 604, 320, 641, 350, 0x0E152B, 1, Fast ; checking 19th spot for logs
  1030. if Errorlevel = 1
  1031. GoTo, Recovered(Up4444443341822411117697120999)
  1032. else
  1033. mousemove X322313, Y322313
  1034. click
  1035. sleep 50
  1036. Recovered(Up4444443341822411117697120999):
  1037. PixelSearch, X322313, Y322313, 645, 320, 685, 350, 0x0E152B, 1, Fast ; checking 18th spot for logs
  1038. if Errorlevel = 1
  1039. GoTo, Recovered(Up35555341822411117697120999)
  1040. else
  1041. mousemove X322313, Y322313
  1042. click
  1043. sleep 50
  1044. Recovered(Up35555341822411117697120999):
  1045. PixelSearch, X322313, Y322313, 688, 320, 727, 350, 0x0E152B, 1, Fast ; checking 17th spot for logs
  1046. if Errorlevel = 1
  1047. GoTo, Recovered(Up555555553341822411117697120999)
  1048. else
  1049. mousemove X322313, Y322313
  1050. click
  1051. sleep 50
  1052. Recovered(Up555555553341822411117697120999):
  1053. PixelSearch, X322313, Y322313, 561, 355, 600, 386, 0x0E152B, 1, Fast ; checking 16th spot for logs
  1054. if Errorlevel = 1
  1055. GoTo, Recovered(Up666663341822411117697120999)
  1056. else
  1057. mousemove X322313, Y322313
  1058. click
  1059. sleep 50
  1060. Recovered(Up666663341822411117697120999):
  1061. PixelSearch, X322313, Y322313, 604, 355, 642, 386, 0x0E152B, 1, Fast ; checking 15th spot for logs
  1062. if Errorlevel = 1
  1063. GoTo, Recovered(Up7777773341822411117697120999)
  1064. else
  1065. mousemove X322313, Y322313
  1066. click
  1067. sleep 50
  1068. Recovered(Up7777773341822411117697120999):
  1069. PixelSearch, X322313, Y322313, 645, 355, 685, 386, 0x0E152B, 1, Fast ; checking 14th spot for logs
  1070. if Errorlevel = 1
  1071. GoTo, Recovered(Up8888883341822411117697120999)
  1072. else
  1073. mousemove X322313, Y322313
  1074. click
  1075. sleep 50
  1076. Recovered(Up8888883341822411117697120999):
  1077. PixelSearch, X322313, Y322313, 688, 355, 725, 386, 0x0E152B, 1, Fast ; checking 13th spot for logs
  1078. if Errorlevel = 1
  1079. GoTo, Recovered(Up9999993341822411117697120999)
  1080. else
  1081. mousemove X322313, Y322313
  1082. click
  1083. sleep 50
  1084. Recovered(Up9999993341822411117697120999):
  1085. PixelSearch, X322313, Y322313, 561, 390, 600, 422, 0x0E152B, 1, Fast ; checking 12th spot for logs
  1086. if Errorlevel = 1
  1087. GoTo, Recovered(Up28343243341822411117697120999)
  1088. else
  1089. mousemove X322313, Y322313
  1090. click
  1091. sleep 50
  1092. Recovered(Up28343243341822411117697120999):
  1093. PixelSearch, X322313, Y322313, 602, 390, 643, 422, 0x0E152B, 1, Fast ; checking 11th spot for logs
  1094. if Errorlevel = 1
  1095. GoTo, Recovered(Up34234567564343341822411117697120999)
  1096. else
  1097. mousemove X322313, Y322313
  1098. click
  1099. sleep 50
  1100. Recovered(Up34234567564343341822411117697120999):
  1101. PixelSearch, X322313, Y322313, 646, 390, 685, 422, 0x0E152B, 1, Fast ; checking 10th spot for logs
  1102. if Errorlevel = 1
  1103. GoTo, Recovered(Up32342345643418225566411117697120999)
  1104. else
  1105. mousemove X322313, Y322313
  1106. click
  1107. sleep 50
  1108. Recovered(Up32342345643418225566411117697120999):
  1109. PixelSearch, X322313, Y322313, 687, 390, 728, 422, 0x0E152B, 1, Fast ; checking 9th spot for logs
  1110. if Errorlevel = 1
  1111. GoTo, Recovered(Up3341822411117697125445654324230999)
  1112. else
  1113. mousemove X322313, Y322313
  1114. click
  1115. sleep 50
  1116. Recovered(Up3341822411117697125445654324230999):
  1117. PixelSearch, X322313, Y322313, 560, 425, 600, 460, 0x0E152B, 1, Fast ; checking 8th spot for logs
  1118. if Errorlevel = 1
  1119. GoTo, Recovered(Up43433341822344341111769712321430999)
  1120. else
  1121. mousemove X322313, Y322313
  1122. click
  1123. sleep 50
  1124. Recovered(Up43433341822344341111769712321430999):
  1125. PixelSearch, X322313, Y322313, 603, 425, 642, 460, 0x0E152B, 1, Fast ; checking 7th spot for logs
  1126. if Errorlevel = 1
  1127. GoTo, Recovered(Up2342356675563341822411117697120999)
  1128. else
  1129. mousemove X322313, Y322313
  1130. click
  1131. sleep 50
  1132. Recovered(Up2342356675563341822411117697120999):
  1133. PixelSearch, X322313, Y322313, 646, 425, 684, 460, 0x0E152B, 1, Fast ; checking 6th spot for logs
  1134. if Errorlevel = 1
  1135. GoTo, Recovered(Up856473443433341822411117697120999)
  1136. else
  1137. mousemove X322313, Y322313
  1138. click
  1139. sleep 50
  1140. Recovered(Up856473443433341822411117697120999):
  1141. PixelSearch, X322313, Y322313, 687, 425, 728, 460, 0x0E152B, 1, Fast ; checking 5th spot for logs
  1142. if Errorlevel = 1
  1143. GoTo, Recovered(Up4343546657676867763341822411117697120999)
  1144. else
  1145. mousemove X322313, Y322313
  1146. click
  1147. sleep 50
  1148. Recovered(Up4343546657676867763341822411117697120999):
  1149. PixelSearch, X322313, Y322313, 560, 463, 601, 494, 0x0E152B, 1, Fast ; checking 4th spot for logs
  1150. if Errorlevel = 1
  1151. GoTo, Recovered(Up934567435673341822411117697120999)
  1152. else
  1153. mousemove X322313, Y322313
  1154. click
  1155. sleep 50
  1156. Recovered(Up934567435673341822411117697120999):
  1157. PixelSearch, X322313, Y322313, 602, 463, 643, 494, 0x0E152B, 1, Fast ; checking 3rd spot for logs
  1158. if Errorlevel = 1
  1159. GoTo, Recovered(Up338957689345670999)
  1160. else
  1161. mousemove X322313, Y322313
  1162. click
  1163. sleep 50
  1164. Recovered(Up338957689345670999):
  1165. PixelSearch, X322313, Y322313, 647, 463, 685, 494, 0x0E152B, 1, Fast ; checking 2nd spot for logs
  1166. if Errorlevel = 1
  1167. GoTo, Recovered(Up3323434234566776434341822411117697120999)
  1168. else
  1169. mousemove X322313, Y322313
  1170. click
  1171. sleep 50
  1172. Recovered(Up3323434234566776434341822411117697120999):
  1173. PixelSearch, X322313, Y322313, 687, 463, 728, 494, 0x0E152B, 1, Fast ; checking 1st spot for logs
  1174. if Errorlevel = 1
  1175. GoTo, Recovered(Up33418223342376576784343120999)
  1176. else
  1177. mousemove X322313, Y322313
  1178. click
  1179. sleep 50
  1180. Recovered(Up33418223342376576784343120999):
  1181. PixelSearch, X322313, Y322313, 560, 246, 598, 280, 0x111A32, 1, Fast ; checking 28th spot for logs
  1182. if Errorlevel = 1
  1183. GoTo, Recovered(Up33418234543564545767120999)
  1184. else
  1185. mousemove X322313, Y322313
  1186. click
  1187. sleep 50
  1188. Recovered(Up33418234543564545767120999):
  1189. PixelSearch, X322313, Y322313, 605, 245, 641, 279, 0x111A32, 1, Fast ; checking 27th spot for logs
  1190. if Errorlevel = 1
  1191. GoTo, Recovered(Up123456457643341822411117697120999)
  1192. else
  1193. mousemove X322313, Y322313
  1194. click
  1195. sleep 50
  1196. Recovered(Up123456457643341822411117697120999):
  1197. PixelSearch, X322313, Y322313, 646, 245, 685, 280, 0x111A32, 1, Fast ; checking 26th spot for logs
  1198. if Errorlevel = 1
  1199. GoTo, Recovered(Up33342222224134534534530999)
  1200. else
  1201. mousemove X322313, Y322313
  1202. click
  1203. sleep 50
  1204. Recovered(Up33342222224134534534530999):
  1205. PixelSearch, X322313, Y322313, 688, 245, 728, 280, 0x111A32, 1, Fast ; checking 25th spot for logs
  1206. if Errorlevel = 1
  1207. GoTo, Recovered(Up9433453453341822411117697120999)
  1208. else
  1209. mousemove X322313, Y322313
  1210. click
  1211. sleep 50
  1212. Recovered(Up9433453453341822411117697120999):
  1213. PixelSearch, X322313, Y322313, 561, 279, 600, 315, 0x111A32, 1, Fast ; checking 24th spot for logs
  1214. if Errorlevel = 1
  1215. GoTo, Recovered(Up4564332233341822411117697120999)
  1216. else
  1217. mousemove X322313, Y322313
  1218. click
  1219. sleep 50
  1220. Recovered(Up4564332233341822411117697120999):
  1221. PixelSearch, X322313, Y322313, 603, 279, 642, 315, 0x111A32, 1, Fast ; checking 23th spot for logs
  1222. if Errorlevel = 1
  1223. GoTo, Recovered(Up323465756434343341822411117697120999)
  1224. else
  1225. mousemove X322313, Y322313
  1226. click
  1227. sleep 50
  1228. Recovered(Up323465756434343341822411117697120999):
  1229. PixelSearch, X322313, Y322313, 646, 279, 684, 315, 0x111A32, 1, Fast ; checking 22th spot for logs
  1230. if Errorlevel = 1
  1231. GoTo, Recovered(Up92456432563341822411117697120999)
  1232. else
  1233. mousemove X322313, Y322313
  1234. click
  1235. sleep 50
  1236. Recovered(Up92456432563341822411117697120999):
  1237. PixelSearch, X322313, Y322313, 688, 279, 729, 315, 0x111A32, 1, Fast ; checking 21th spot for logs
  1238. if Errorlevel = 1
  1239. GoTo, Recovered(Up234234564563341822411117697120999)
  1240. else
  1241. mousemove X322313, Y322313
  1242. click
  1243. sleep 50
  1244. Recovered(Up234234564563341822411117697120999):
  1245. PixelSearch, X322313, Y322313, 560, 320, 600, 350, 0x111A32, 1, Fast ; checking 20th spot for logs
  1246. if Errorlevel = 1
  1247. GoTo, Recovered(Up4523456453765675463341822411117697120999)
  1248. else
  1249. mousemove X322313, Y322313
  1250. click
  1251. sleep 50
  1252. Recovered(Up4523456453765675463341822411117697120999):
  1253. PixelSearch, X322313, Y322313, 604, 320, 641, 350, 0x111A32, 1, Fast ; checking 19th spot for logs
  1254. if Errorlevel = 1
  1255. GoTo, Recovered(Up3654632453533420999)
  1256. else
  1257. mousemove X322313, Y322313
  1258. click
  1259. sleep 50
  1260. Recovered(Up3654632453533420999):
  1261. PixelSearch, X322313, Y322313, 645, 320, 685, 350, 0x111A32, 1, Fast ; checking 18th spot for logs
  1262. if Errorlevel = 1
  1263. GoTo, Recovered(Up3242346556434311117697120999)
  1264. else
  1265. mousemove X322313, Y322313
  1266. click
  1267. sleep 50
  1268. Recovered(Up3242346556434311117697120999):
  1269. PixelSearch, X322313, Y322313, 688, 320, 727, 350, 0x111A32, 1, Fast ; checking 17th spot for logs
  1270. if Errorlevel = 1
  1271. GoTo, Recovered(Up544367867343341822411117697120999)
  1272. else
  1273. mousemove X322313, Y322313
  1274. click
  1275. sleep 50
  1276. Recovered(Up544367867343341822411117697120999):
  1277. PixelSearch, X322313, Y322313, 561, 355, 600, 386, 0x111A32, 1, Fast ; checking 16th spot for logs
  1278. if Errorlevel = 1
  1279. GoTo, Recovered(Up787878945453341822411117697120999)
  1280. else
  1281. mousemove X322313, Y322313
  1282. click
  1283. sleep 50
  1284. Recovered(Up787878945453341822411117697120999):
  1285. PixelSearch, X322313, Y322313, 604, 355, 642, 386, 0x111A32, 1, Fast ; checking 15th spot for logs
  1286. if Errorlevel = 1
  1287. GoTo, Recovered(Up89707854645643341822411117697120999)
  1288. else
  1289. mousemove X322313, Y322313
  1290. click
  1291. sleep 50
  1292. Recovered(Up89707854645643341822411117697120999):
  1293. PixelSearch, X9123, Y9123, 645, 355, 685, 386, 0x111A32, 1, Fast ; checking 14th spot for logs
  1294. if Errorlevel = 1
  1295. GoTo, Recovered(Up78945634563341822411117697120999)
  1296. else
  1297. mousemove X9123, Y9123
  1298. click
  1299. sleep 50
  1300. Recovered(Up78945634563341822411117697120999):
  1301. PixelSearch, X91234, Y91234, 688, 355, 725, 386, 0x111A32, 1, Fast ; checking 13th spot for logs
  1302. if Errorlevel = 1
  1303. GoTo, Recovered(Up8745243564563341822411117697120999)
  1304. else
  1305. mousemove X91234, Y91234
  1306. click
  1307. sleep 50
  1308. Recovered(Up8745243564563341822411117697120999):
  1309. PixelSearch, X912345, Y912345, 561, 390, 600, 422, 0x111A32, 1, Fast ; checking 12th spot for logs
  1310. if Errorlevel = 1
  1311. GoTo, Recovered(Up768574235634563341822411117697120999)
  1312. else
  1313. mousemove X912345, Y912345
  1314. click
  1315. sleep 50
  1316. Recovered(Up768574235634563341822411117697120999):
  1317. PixelSearch, X9123456, Y9123456, 602, 390, 643, 422, 0x111A32, 1, Fast ; checking 11th spot for logs
  1318. if Errorlevel = 1
  1319. GoTo, Recovered(Up90684536345634563341822411117697120999)
  1320. else
  1321. mousemove X9123456, Y9123456
  1322. click
  1323. sleep 50
  1324. Recovered(Up90684536345634563341822411117697120999):
  1325. PixelSearch, X91234567, Y91234567, 646, 390, 685, 422, 0x111A32, 1, Fast ; checking 10th spot for logs
  1326. if Errorlevel = 1
  1327. GoTo, Recovered(Up9873456435643533341822411117697120999)
  1328. else
  1329. mousemove X91234567, Y91234567
  1330. click
  1331. sleep 50
  1332. Recovered(Up9873456435643533341822411117697120999):
  1333. PixelSearch, X912345678, Y912345678, 687, 390, 728, 422, 0x111A32, 1, Fast ; checking 9th spot for logs
  1334. if Errorlevel = 1
  1335. GoTo, Recovered(Up334182241117645435433215678786556417697120999)
  1336. else
  1337. mousemove X912345678, Y912345678
  1338. click
  1339. sleep 50
  1340. Recovered(Up334182241117645435433215678786556417697120999):
  1341. PixelSearch, XF1, YF1, 560, 425, 600, 460, 0x111A32, 1, Fast ; checking 8th spot for logs
  1342. if Errorlevel = 1
  1343. GoTo, Recovered(Up3341843534534222222344444422411117697120999)
  1344. else
  1345. mousemove XF1, YF1
  1346. click
  1347. sleep 50
  1348. Recovered(Up3341843534534222222344444422411117697120999):
  1349. PixelSearch, XF11, YF11, 603, 425, 642, 460, 0x111A32, 1, Fast ; checking 7th spot for logs
  1350. if Errorlevel = 1
  1351. GoTo, Recovered(Up33454354354334333333341822411117697120999)
  1352. else
  1353. mousemove XF11, YF11
  1354. click
  1355. sleep 50
  1356. Recovered(Up33454354354334333333341822411117697120999):
  1357. PixelSearch, XF112, YF112, 646, 425, 684, 460, 0x111A32, 1, Fast ; checking 6th spot for logs
  1358. if Errorlevel = 1
  1359. GoTo, Recovered(Up98745435634563341822411117697120999)
  1360. else
  1361. mousemove XF112, YF112
  1362. click
  1363. sleep 50
  1364. Recovered(Up98745435634563341822411117697120999):
  1365. PixelSearch, XF1123, YF1123, 687, 425, 728, 460, 0x111A32, 1, Fast ; checking 5th spot for logs
  1366. if Errorlevel = 1
  1367. GoTo, Recovered(Up333453678678564564341822411117697120999)
  1368. else
  1369. mousemove XF1123, YF1123
  1370. click
  1371. sleep 50
  1372. Recovered(Up333453678678564564341822411117697120999):
  1373. PixelSearch, XF11234, YF11234, 560, 463, 601, 494, 0x111A32, 1, Fast ; checking 4th spot for logs
  1374. if Errorlevel = 1
  1375. GoTo, Recovered(Up3341822413243223434234324324324324231117697120999)
  1376. else
  1377. mousemove XF11234, YF11234
  1378. click
  1379. sleep 50
  1380. Recovered(Up3341822413243223434234324324324324231117697120999):
  1381. PixelSearch, XF112345, YF112345, 602, 463, 643, 494, 0x111A32, 1, Fast ; checking 3rd spot for logs
  1382. if Errorlevel = 1
  1383. GoTo, Recovered(Up3897554345453453341822411117697120999)
  1384. else
  1385. mousemove XF112345, YF112345
  1386. click
  1387. sleep 50
  1388. Recovered(Up3897554345453453341822411117697120999):
  1389. PixelSearch, XF1123456, YF1123456, 647, 463, 685, 494, 0x111A32, 1, Fast ; checking 2nd spot for logs
  1390. if Errorlevel = 1
  1391. GoTo, Recovered(Up3123123123123123123123123341822411117697120999)
  1392. else
  1393. mousemove XF1123456, YF1123456
  1394. click
  1395. sleep 50
  1396. Recovered(Up3123123123123123123123123341822411117697120999):
  1397. PixelSearch, XF11234567, YF11234567, 687, 463, 728, 494, 0x111A32, 1, Fast ; checking 1st spot for logs
  1398. if Errorlevel = 1
  1399. GoTo, Recovered(Up3341822411117697643399)
  1400. else
  1401. mousemove XF11234567, YF11234567
  1402. click
  1403. sleep 50
  1404. Recovered(Up3341822411117697643399):
  1405. Send {Shift Up}
  1406. sleep %smallrand%
  1407. PixelSearch, XB65112, YB65112, 286, 190, 332, 243, 0x16203E, 1, Fast ; Checking for iron east node
  1408. if Errorlevel = 1
  1409. GoTo, Recovered(Up33418211212124111223423423342341762343423423567657567765233297643399)
  1410. else
  1411. mousemove XB65112, YB65112
  1412. click
  1413. GoTo, Recovered(Up33418274572457245824828282851599)
  1414. Recovered(Up33418211212124111223423423342341762343423423567657567765233297643399):
  1415. PixelSearch, XB6511, YB6511, 286, 190, 332, 243, 0x050811, 1, Fast ; Checking for iron east node
  1416. if Errorlevel = 1
  1417. GoTo, Recovered(Up334184111223423423342341762343423423567657567765233297643399)
  1418. else
  1419. mousemove %XB6511%, %YB6511%
  1420. click
  1421. GoTo, Recovered(Up33418274572457245824828282851599)
  1422. Recovered(Up334184111223423423342341762343423423567657567765233297643399):
  1423. PixelSearch, XB65, YB65, 286, 190, 332, 243, 0x182447, 1, Fast ; Checking for iron east node
  1424. if Errorlevel = 1
  1425. GoTo, Recovered(Up3341822411547345685638358653117697643399)
  1426. else
  1427. click %XB65%, %YB65%
  1428. GoTo, Recovered(Up33418274572457245824828282851599)
  1429. Recovered(Up3341822411547345685638358653117697643399):
  1430. PixelSearch, XB65112, YB65112, 191, 181, 238, 234, 0x16203E, 1, Fast ; Checking for iron left node
  1431. if Errorlevel = 1
  1432. GoTo, Recovered(Up33418211212124111223423423342341762343423423567657567765233297643399321)
  1433. else
  1434. mousemove %XB65112%, %YB65112%
  1435. click
  1436. GoTo, Recovered(Up33418411117637356735673567356797642343534523324657832453351599)
  1437. Recovered(Up33418211212124111223423423342341762343423423567657567765233297643399321):
  1438. PixelSearch, XB6511, YB6511, 191, 181, 238, 234, 0x050811, 1, Fast ; Checking for iron left node
  1439. if Errorlevel = 1
  1440. GoTo, Recovered(Up334184111223423423342341762343423423567657567765233297643399321)
  1441. else
  1442. mousemove %XB6511%, %YB6511%
  1443. click
  1444. GoTo, Recovered(Up33418411117637356735673567356797642343534523324657832453351599)
  1445. Recovered(Up334184111223423423342341762343423423567657567765233297643399321):
  1446. PixelSearch, XB65, YB65, 191, 181, 238, 234, 0x182447, 1, Fast ; Checking for iron left node
  1447. if Errorlevel = 1
  1448. GoTo, Recovered(Up3341822411547345685638358653123463451769764334523456243564526435699)
  1449. else
  1450. mousemove %XB65%, %YB65%
  1451. click
  1452. GoTo, Recovered(Up33418411117637356735673567356797642343534523324657832453351599)
  1453. Recovered(Up3341822411547345685638358653123463451769764334523456243564526435699):
  1454. PixelSearch, XB65112, YB65112, 236, 232, 284, 287, 0x16203E, 1, Fast ; Checking for iron south node
  1455. if Errorlevel = 1
  1456. GoTo, Recovered(Up3341827356735673567171717171717321)
  1457. else
  1458. mousemove %XB65112%, %YB65112%
  1459. click
  1460. GoTo, Recovered(Up63573225248828828282288599)
  1461. Recovered(Up3341827356735673567171717171717321):
  1462. PixelSearch, XB6511, YB6511, 236, 232, 284, 287, 0x050811, 1, Fast ; Checking for iron south node
  1463. if Errorlevel = 1
  1464. GoTo, Recovered(Up3341841112234234233275475475425742724572457245724272742341762343423423567657567765233297643399321)
  1465. else
  1466. mousemove %XB6511%, %YB6511%
  1467. click
  1468. GoTo, Recovered(Up63573225248828828282288599)
  1469. Recovered(Up3341841112234234233275475475425742724572457245724272742341762343423423567657567765233297643399321):
  1470. PixelSearch, XB65, YB65, 236, 232, 284, 287, 0x182447, 1, Fast ; Checking for iron south node
  1471. if Errorlevel = 1
  1472. GoTo, Recovered(Up3341822411117697643399)
  1473. else
  1474. mousemove %XB65%, %YB65%
  1475. click
  1476. GoTo, Recovered(Up63573225248828828282288599)
  1477. Recovered(Up33418274572457245824828282851599):
  1478. Loop 100
  1479. {
  1480. PixelSearch, XB65112, YB65112, 286, 190, 332, 243, 0x111A32, 1, Fast ; Checking for iron east node depleted
  1481. if Errorlevel = 1
  1482. GoTo, Recovered(Up33418411117697643399)
  1483. else
  1484. sleep 10
  1485. }
  1486. GoTo, Recovered(Up33418411117697643399)
  1487. Recovered(Up33418411117637356735673567356797642343534523324657832453351599):
  1488. Loop 100
  1489. {
  1490. PixelSearch, XB65112, YB65112, 191, 181, 238, 234, 0x111A32, 1, Fast ; Checking for iron left node depleted
  1491. if Errorlevel = 1
  1492. GoTo, Recovered(Up33418411117697643399)
  1493. else
  1494. sleep 10
  1495. }
  1496. GoTo, Recovered(Up33418411117697643399)
  1497. Recovered(Up63573225248828828282288599):
  1498. Loop 100
  1499. {
  1500. PixelSearch, XB65112, YB65112, 236, 232, 284, 287, 0x111A32, 1, Fast ; Checking for iron south node depleted
  1501. if Errorlevel = 1
  1502. GoTo, Recovered(Up33418411117697643399)
  1503. else
  1504. sleep 10
  1505. }
  1506. GoTo, Recovered(Up33418411117697643399)
  1507. }
  1508. return
  1509.  
  1510. Buttonhighalchlastitem:
  1511. IfWinExist, ahk_class SunAwtFrame
  1512. WinActivate, ahk_class SunAwtFrame
  1513. Recovered(Up331):
  1514. Loop
  1515. {
  1516. BlockInput, MouseMove
  1517. WinActivate, ahk_class SunAwtFrame
  1518. PixelSearch, PX, PY, 1179, 75, 1211, 108, 0x131313, 1, Fast ; Check Health
  1519. if Errorlevel = 0
  1520. GoTo, Recover(Down11001)
  1521. else
  1522. send {F6}
  1523. PixelSearch, X, Y, 701, 345, 730, 373, 0x09D2D2, 1, Fast ; Check for High alch
  1524. if Errorlevel = 1
  1525. GoTo, Recover(Down20011)
  1526. else
  1527. mousemove X, Y
  1528. click left
  1529. sleep 100
  1530. GoTo, Recover(Down200112)
  1531. sleep 2000
  1532. }
  1533. Recover(Down200112):
  1534. click 706, 478
  1535. sleep 2300
  1536. GoTo, Recovered(Up331)
  1537. Return
  1538. Recover(Down20011):
  1539. sleep 50
  1540. Recover(Up30000234234163):
  1541. PixelSearch, DXKIOE, DKYIOE, 164, 53, 207, 124, 0xCBBAB9, 1, Fast ; search for log in screen
  1542. if Errorlevel = 1
  1543. GoTo, Recovered(Up331)
  1544. else
  1545. PixelSearch, DXKIO, DKYIO, 314, 287, 336, 302, 0xFFFFFF, 1, Fast ; search for any login entered
  1546. if Errorlevel = 0
  1547. Goto, Recover(Down300002342341234324263)
  1548. PixelSearch, DXKI, DKYI, 345, 301, 388, 315, 0xFFFFFF, 1, Fast ; search for any password entered
  1549. if Errorlevel = 0
  1550. Goto, Recover(Down300002342341234324263)
  1551. PixelSearch, DXKI, DKYI, 250, 244, 521, 262, 0x00FFFF, 1, Fast ; search for 2nd login screen
  1552. if Errorlevel = 0
  1553. Goto, Recover(Down3000023423546454164563)
  1554. PixelSearch, DXI, DYI, 388, 300, 403, 313, 0x201D1C, 1, Fast ; search for login screen
  1555. if Errorlevel = 1
  1556. Goto, Recover(Down30000234234163)
  1557. else
  1558. PixelSearch, DXU, DYU, 159, 50, 207, 118, 0xCBBAB9, 1, Fast ; search for login screen
  1559. if Errorlevel = 1
  1560. Goto, Recover(Down30000234234163)
  1561. else
  1562. click 402, 312
  1563. sleep 100
  1564. Recover(Down3000023423546454164563):
  1565. PixelSearch, XX, YY, 225, 361, 246, 381, 0x0B0B0B, 1, Fast
  1566. if Errorlevel = 1
  1567. Goto, Recover(Down30000234234163)
  1568. else
  1569. PixelSearch, XXX, YYY, 250, 244, 521, 262, 0x00FFFF, 1, Fast
  1570. if Errorlevel = 1
  1571. Goto, Recover(Down30000234234163)
  1572. else
  1573. click 315, 292
  1574. send %accname%{enter}
  1575. send %accpass%{enter}
  1576. sleep 7000
  1577. click 384, 367
  1578. sleep 7000
  1579. Goto, Recovered(Up331)
  1580. Recover(Down300002342341234324263):
  1581. click 316, 289
  1582. send {backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}
  1583. click 346, 307
  1584. send {backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}
  1585. Goto, Recovered(Up331)
  1586. Recover(Down30000234234163):
  1587. Return
  1588. Recover(Down11001):
  1589. Soundbeep
  1590. send {ESC}
  1591. PixelSearch, XXXXXX, YYYYYY, 1158, 438, 1345, 692, 0x455A74, 1, Fast ; search for sharks
  1592. if Errorlevel = 1
  1593. GoTo, Recover(Down23402001)
  1594. mousemove XXXXXX, YYYYYY
  1595. click XXXXXX, YYYYYY
  1596. GoTo, Recovered(Up331)
  1597. Recover(Down23402001):
  1598. send {ESC}
  1599. PixelSearch, XX, YY, 1158, 438, 1345, 692, 0x073986, 1, Fast ; search for lobsters
  1600. if Errorlevel = 1
  1601. GoTo, Recover(Down200001)
  1602. mousemove XX, YY
  1603. click XX, YY
  1604. GoTo, Recovered(Up331)
  1605. Recover(Down200001):
  1606. send {ESC}
  1607. PixelSearch, XXX, YYY, 1158, 438, 1345, 692, 0xC1C2C9, 1, Fast ; Search for cakes
  1608. if Errorlevel = 1
  1609. GoTo, Recover(Down300001)
  1610. mousemove XXX, YYY
  1611. click XXX, YYY
  1612. GoTo, Recovered(Up331)
  1613. Recover(Down300001):
  1614. sleep 1000
  1615. PixelSearch, XXX3, YYY3, 632, 501, 657, 352, 0x2F4368, 1, Fast ; Click on logout door
  1616. if Errorlevel = 1
  1617. GoTo, Recover(Down300001)
  1618. else
  1619. mousemove XXX3, YYY3
  1620. click XXX3, YYY3
  1621. PixelSearch, XX2X3, YY2Y3, 575, 436, 712, 446, 0x181A6A, 1, Fast ; click the big red logout button
  1622. if Errorlevel = 1
  1623. GoTo, Recover(Down54353456)
  1624. else
  1625. mousemove XX2X3, YY2Y3
  1626. click XX2X3, YY2Y3
  1627. GoTo, Recover(Down543533424564456)
  1628. Recover(Down54353456):
  1629. PixelSearch, X1X2X3, Y1Y2Y3, 711, 467, 745, 498, 0x233D5B, 1, Fast ; Checking for logout door in world select screen
  1630. if Errorlevel = 1
  1631. GoTo, Recover(Down54353456)
  1632. else
  1633. mousemove X1X2X3, Y1Y2Y3
  1634. click X1X2X3, Y1Y2Y3
  1635. Recover(Down543533424564456):
  1636. return
  1637.  
  1638. Buttonthievingmen:
  1639. IfWinExist, ahk_class SunAwtFrame
  1640. WinActivate, ahk_class SunAwtFrame
  1641. BlockInput, MouseMove
  1642. sleep 50
  1643. click 563, 54
  1644. Send {Up Down}
  1645. sleep 2000 ;Sleeps ten seconds and then sends spacebar up
  1646. Send {Up Up}
  1647. Recovered(Up33833):
  1648. Loop
  1649. {
  1650. WinActivate, ahk_class SunAwtFrame
  1651. PixelSearch, PX, PY, 545, 87, 570, 93, 0x131313, 1, Fast ; Checking Health Full
  1652. if Errorlevel = 0
  1653. GoTo, Recover(Down1100833)
  1654. else
  1655. PixelSearch, X, Y, 5, 36, 517, 370, 0x12120A, 1, Fast ; Search for man
  1656. if Errorlevel = 1
  1657. GoTo, Recovered(Up33453435453453833)
  1658. else
  1659. mousemove X, Y
  1660. click right X, Y
  1661. sleep 1000
  1662. MouseMove, 0, 40, 1, R
  1663. click left
  1664. sleep 500
  1665. GoTo, Recovered(Up33833)
  1666. Recovered(Up33453435453453833):
  1667. PixelSearch, X76, Y76, 5, 36, 517, 370, 0x152424, 1, Fast ; Search for MAN
  1668. if Errorlevel = 1
  1669. GoTo, Recovered(Up33833)
  1670. else
  1671. mousemove X76, Y76
  1672. click right X76, Y76
  1673. sleep 1000
  1674. MouseMove, 0, 40, 1, R
  1675. click left
  1676. sleep 500
  1677. GoTo, Recovered(Up33833)
  1678. }
  1679. Recover(Down2001833):
  1680. sleep 30000
  1681. Recover(Up47847467846731111833):
  1682. PixelSearch, DXKIOE, DKYIOE, 164, 53, 207, 124, 0xCBBAB9, 1, Fast ; search for log in screen
  1683. if Errorlevel = 1
  1684. GoTo, Recovered(Up33833)
  1685. else
  1686. PixelSearch, DXKIO, DKYIO, 314, 287, 336, 302, 0xFFFFFF, 1, Fast ; search for any login entered
  1687. if Errorlevel = 0
  1688. Goto, Recover(Down478247467846731111833)
  1689. PixelSearch, DXKI, DKYI, 345, 301, 388, 315, 0xFFFFFF, 1, Fast ; search for any password entered
  1690. if Errorlevel = 0
  1691. Goto, Recover(Down478247467846731111833)
  1692. PixelSearch, DXKI, DKYI, 250, 244, 521, 262, 0x00FFFF, 1, Fast ; search for 2nd login screen
  1693. if Errorlevel = 0
  1694. Goto, Recover(Down47847467846731111833)
  1695. PixelSearch, DXI, DYI, 388, 300, 403, 313, 0x201D1C, 1, Fast ; search for login screen
  1696. if Errorlevel = 1
  1697. Goto, Recover(Down47847467846731111833)
  1698. else
  1699. PixelSearch, DXU, DYU, 159, 50, 207, 118, 0xCBBAB9, 1, Fast ; search for login screen
  1700. if Errorlevel = 1
  1701. Goto, Recover(Down47847467846731111833)
  1702. else
  1703. click 402, 312
  1704. sleep 100
  1705. Recover(Down47847467846731111833):
  1706. PixelSearch, XX, YY, 225, 361, 246, 381, 0x0B0B0B, 1, Fast
  1707. if Errorlevel = 1
  1708. Goto, Recover(Down47847467846731111833)
  1709. else
  1710. PixelSearch, XXX, YYY, 250, 244, 521, 262, 0x00FFFF, 1, Fast
  1711. if Errorlevel = 1
  1712. Goto, Recover(Down47847467846731111833)
  1713. else
  1714. click 315, 292
  1715. send %accname%{enter}
  1716. send %accpass%{enter}
  1717. sleep 7000
  1718. click 384, 367
  1719. sleep 7000
  1720. Goto, Recovered(Up33833)
  1721. Recover(Down478247467846731111833):
  1722. click 316, 289
  1723. send {backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}
  1724. click 346, 307
  1725. send {backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}
  1726. Goto, Recover(Up47847467846731111833)
  1727. Recover(Down4784746784673833):
  1728. GoTo, Recovered(Up33833)
  1729. Return
  1730. Recover(Down1100833):
  1731. Soundbeep
  1732. send {ESC}
  1733. PixelSearch, XXXXXX, YYYYYY, 550, 235, 740, 500, 0x455A74, 1, Fast ; Check Invent for Shark
  1734. if Errorlevel = 1
  1735. GoTo, Recover(Down2340200833)
  1736. mousemove XXXXXX, YYYYYY
  1737. click XXXXXX, YYYYYY
  1738. GoTo, Recovered(Up33833)
  1739. Recover(Down2340200833):
  1740. send {ESC}
  1741. PixelSearch, XX, YY, 550, 235, 740, 500, 0x073986, 1, Fast ; Check Invent for Lobsters
  1742. if Errorlevel = 1
  1743. GoTo, Recover(Down20054364645457600833)
  1744. mousemove XX, YY
  1745. click XX, YY
  1746. GoTo, Recovered(Up33833)
  1747. Recover(Down20054364645457600833):
  1748. PixelSearch, XX7, YY7, 550, 235, 740, 500, 0x0B4BAE, 1, Fast ; Check Invent for Lobsters
  1749. if Errorlevel = 1
  1750. GoTo, Recover(Down20000833)
  1751. mousemove XX7, YY7
  1752. click XX7, YY7
  1753. GoTo, Recovered(Up33833)
  1754. Recover(Down20000833):
  1755. send {ESC}
  1756. PixelSearch, XXX, YYY, 550, 235, 740, 500, 0xC1C2C9, 1, Fast ; Check Invent for Cakes
  1757. if Errorlevel = 1
  1758. GoTo, Recover(Down30000833)
  1759. mousemove XXX, YYY
  1760. click XXX, YYY
  1761. GoTo, Recovered(Up33833)
  1762. Recover(Down30000833):
  1763. send {F10}
  1764. sleep 1000
  1765. PixelSearch, XXX3, YYY3, 574, 436, 710, 470, 0x202393, 1, Fast ; Log out if no food
  1766. if Errorlevel = 1
  1767. GoTo, Recover(Down30000833)
  1768. else
  1769. mousemove XXX3, YYY3
  1770. click XXX3, YYY3
  1771. sleep 13000
  1772. GoTo, Recover(Down30000833)
  1773. return
  1774.  
  1775. Buttoncuttingwillows:
  1776. IfWinExist, ahk_class SunAwtFrame
  1777. WinActivate, ahk_class SunAwtFrame
  1778. Recovered(Up334184132456768344392111769712):
  1779. BlockInput, MouseMove
  1780. sleep 50
  1781. click 563, 54
  1782. Send {Up Down}
  1783. sleep 2000
  1784. Send {Up Up}
  1785. GoTo, Recovered(Up3341841111769712)
  1786. Recovered(Up334184192111769712):
  1787. sleep 5000
  1788. Recovered(Up3341841111769712):
  1789. Loop
  1790. {
  1791. WinActivate, ahk_class SunAwtFrame
  1792. PixelSearch, X3223, Y3223, 560, 246, 598, 280, 0x0E323A, 1, Fast ; checking 28th spot for logs
  1793. if Errorlevel = 1
  1794. GoTo, Recovered(Up3341822411113342342342769712)
  1795. else
  1796. mousemove X3223, Y3223
  1797. Send {Shift Down}
  1798. click
  1799. Send {Shift Up}
  1800. sleep 50
  1801. Recovered(Up3341822411113342342342769712):
  1802. PixelSearch, X32231, Y32231, 605, 245, 641, 279, 0x0E323A, 1, Fast ; checking 27th spot for logs
  1803. if Errorlevel = 1
  1804. GoTo, Recovered(Up334435617898182241111769712)
  1805. else
  1806. mousemove X32231, Y32231
  1807. Send {Shift Down}
  1808. click
  1809. Send {Shift Up}
  1810. sleep 50
  1811. Recovered(Up334435617898182241111769712):
  1812. PixelSearch, X322313, Y322313, 646, 245, 685, 280, 0x0E323A, 1, Fast ; checking 26th spot for logs
  1813. if Errorlevel = 1
  1814. GoTo, Recovered(Up334182245345234376891111769712)
  1815. else
  1816. mousemove X322313, Y322313
  1817. Send {Shift Down}
  1818. click
  1819. Send {Shift Up}
  1820. sleep 50
  1821. Recovered(Up334182245345234376891111769712):
  1822. PixelSearch, X3223133, Y3223133, 688, 245, 728, 280, 0x0E323A, 1, Fast ; checking 25th spot for logs
  1823. if Errorlevel = 1
  1824. GoTo, Recovered(Up3341822411117643554767632239712)
  1825. else
  1826. mousemove X3223133, Y3223133
  1827. Send {Shift Down}
  1828. click
  1829. Send {Shift Up}
  1830. sleep 50
  1831. Recovered(Up3341822411117643554767632239712):
  1832. PixelSearch, X3789, Y3789, 561, 279, 600, 315, 0x0E323A, 1, Fast ; checking 24th spot for logs
  1833. if Errorlevel = 1
  1834. GoTo, Recovered(Up3341822411132323254675781769712)
  1835. else
  1836. mousemove X3789, Y3789
  1837. Send {Shift Down}
  1838. click
  1839. Send {Shift Up}
  1840. sleep 50
  1841. Recovered(Up3341822411132323254675781769712):
  1842. PixelSearch, X37891, Y37891, 603, 279, 642, 315, 0x0E323A, 1, Fast ; checking 23th spot for logs
  1843. if Errorlevel = 1
  1844. GoTo, Recovered(Up33745677865564452)
  1845. else
  1846. mousemove X37891, Y37891
  1847. Send {Shift Down}
  1848. click
  1849. Send {Shift Up}
  1850. sleep 50
  1851. Recovered(Up33745677865564452):
  1852. PixelSearch, X378912, Y378912, 646, 279, 684, 315, 0x0E323A, 1, Fast ; checking 22th spot for logs
  1853. if Errorlevel = 1
  1854. GoTo, Recovered(Up334185674522252)
  1855. else
  1856. mousemove X378912, Y378912
  1857. Send {Shift Down}
  1858. click
  1859. Send {Shift Up}
  1860. sleep 50
  1861. Recovered(Up334185674522252):
  1862. PixelSearch, X3789123, Y3789123, 688, 279, 729, 315, 0x0E323A, 1, Fast ; checking 21th spot for logs
  1863. if Errorlevel = 1
  1864. GoTo, Recovered(Up334184343224111173234235669712)
  1865. else
  1866. mousemove X3789123, Y3789123
  1867. Send {Shift Down}
  1868. click
  1869. Send {Shift Up}
  1870. sleep 50
  1871. Recovered(Up334184343224111173234235669712):
  1872. PixelSearch, X37891234, Y37891234, 560, 320, 600, 350, 0x0E323A, 1, Fast ; checking 20th spot for logs
  1873. if Errorlevel = 1
  1874. GoTo, Recovered(Up334182241111769732234566532325612)
  1875. else
  1876. mousemove X37891234, Y37891234
  1877. Send {Shift Down}
  1878. click
  1879. Send {Shift Up}
  1880. sleep 50
  1881. Recovered(Up334182241111769732234566532325612):
  1882. PixelSearch, X378912345, Y378912345, 604, 320, 641, 350, 0x0E323A, 1, Fast ; checking 19th spot for logs
  1883. if Errorlevel = 1
  1884. GoTo, Recovered(Up35463543432712)
  1885. else
  1886. mousemove X378912345, Y378912345
  1887. Send {Shift Down}
  1888. click
  1889. Send {Shift Up}
  1890. sleep 50
  1891. Recovered(Up35463543432712):
  1892. PixelSearch, X3789123456, Y3789123456, 645, 320, 685, 350, 0x0E323A, 1, Fast ; checking 18th spot for logs
  1893. if Errorlevel = 1
  1894. GoTo, Recovered(Up3897655645345712)
  1895. else
  1896. mousemove X3789123456, Y3789123456
  1897. Send {Shift Down}
  1898. click
  1899. Send {Shift Up}
  1900. sleep 50
  1901. Recovered(Up3897655645345712):
  1902. PixelSearch, X37891234567, Y37891234567, 688, 320, 727, 350, 0x0E323A, 1, Fast ; checking 17th spot for logs
  1903. if Errorlevel = 1
  1904. GoTo, Recovered(Up3452345765241111769712)
  1905. else
  1906. mousemove X37891234567, Y37891234567
  1907. Send {Shift Down}
  1908. click
  1909. Send {Shift Up}
  1910. sleep 50
  1911. Recovered(Up3452345765241111769712):
  1912. PixelSearch, X91, Y91, 561, 355, 600, 386, 0x0E323A, 1, Fast ; checking 16th spot for logs
  1913. if Errorlevel = 1
  1914. GoTo, Recovered(Up3341835647822769712)
  1915. else
  1916. mousemove X91, Y91
  1917. Send {Shift Down}
  1918. click
  1919. Send {Shift Up}
  1920. sleep 50
  1921. Recovered(Up3341835647822769712):
  1922. PixelSearch, X912, Y912, 604, 355, 642, 386, 0x0E323A, 1, Fast ; checking 15th spot for logs
  1923. if Errorlevel = 1
  1924. GoTo, Recovered(Up3356746722)
  1925. else
  1926. mousemove X912, Y912
  1927. Send {Shift Down}
  1928. click
  1929. Send {Shift Up}
  1930. sleep 50
  1931. Recovered(Up3356746722):
  1932. PixelSearch, X9123, Y9123, 645, 355, 685, 386, 0x0E323A, 1, Fast ; checking 14th spot for logs
  1933. if Errorlevel = 1
  1934. GoTo, Recovered(Up3345677645454532)
  1935. else
  1936. mousemove X9123, Y9123
  1937. Send {Shift Down}
  1938. click
  1939. Send {Shift Up}
  1940. sleep 50
  1941. Recovered(Up3345677645454532):
  1942. PixelSearch, X91234, Y91234, 688, 355, 725, 386, 0x0E323A, 1, Fast ; checking 13th spot for logs
  1943. if Errorlevel = 1
  1944. GoTo, Recovered(Up3354345673222712)
  1945. else
  1946. mousemove X91234, Y91234
  1947. Send {Shift Down}
  1948. click
  1949. Send {Shift Up}
  1950. sleep 50
  1951. Recovered(Up3354345673222712):
  1952. PixelSearch, X912345, Y912345, 561, 390, 600, 422, 0x0E323A, 1, Fast ; checking 12th spot for logs
  1953. if Errorlevel = 1
  1954. GoTo, Recovered(Up33418224111176974325345234523452)
  1955. else
  1956. mousemove X912345, Y912345
  1957. Send {Shift Down}
  1958. click
  1959. Send {Shift Up}
  1960. sleep 50
  1961. Recovered(Up33418224111176974325345234523452):
  1962. PixelSearch, X9123456, Y9123456, 602, 390, 643, 422, 0x0E323A, 1, Fast ; checking 11th spot for logs
  1963. if Errorlevel = 1
  1964. GoTo, Recovered(Up33434565675865733369712)
  1965. else
  1966. mousemove X9123456, Y9123456
  1967. Send {Shift Down}
  1968. click
  1969. Send {Shift Up}
  1970. sleep 50
  1971. Recovered(Up33434565675865733369712):
  1972. PixelSearch, X91234567, Y91234567, 646, 390, 685, 422, 0x0E323A, 1, Fast ; checking 10th spot for logs
  1973. if Errorlevel = 1
  1974. GoTo, Recovered(Up3341822345634564354334532)
  1975. else
  1976. mousemove X91234567, Y91234567
  1977. Send {Shift Down}
  1978. click
  1979. Send {Shift Up}
  1980. sleep 50
  1981. Recovered(Up3341822345634564354334532):
  1982. PixelSearch, X912345678, Y912345678, 687, 390, 728, 422, 0x0E323A, 1, Fast ; checking 9th spot for logs
  1983. if Errorlevel = 1
  1984. GoTo, Recovered(Up3446578443524545312)
  1985. else
  1986. mousemove X912345678, Y912345678
  1987. Send {Shift Down}
  1988. click
  1989. Send {Shift Up}
  1990. sleep 50
  1991. Recovered(Up3446578443524545312):
  1992. PixelSearch, XF1, YF1, 560, 425, 600, 460, 0x0E323A, 1, Fast ; checking 8th spot for logs
  1993. if Errorlevel = 1
  1994. GoTo, Recovered(Up4567678654233231769712)
  1995. else
  1996. mousemove XF1, YF1
  1997. Send {Shift Down}
  1998. click
  1999. Send {Shift Up}
  2000. sleep 50
  2001. Recovered(Up4567678654233231769712):
  2002. PixelSearch, XF11, YF11, 603, 425, 642, 460, 0x0E323A, 1, Fast ; checking 7th spot for logs
  2003. if Errorlevel = 1
  2004. GoTo, Recovered(Up334182243432423545324545341111769712)
  2005. else
  2006. mousemove XF11, YF11
  2007. Send {Shift Down}
  2008. click
  2009. Send {Shift Up}
  2010. sleep 50
  2011. Recovered(Up334182243432423545324545341111769712):
  2012. PixelSearch, XF112, YF112, 646, 425, 684, 460, 0x0E323A, 1, Fast ; checking 6th spot for logs
  2013. if Errorlevel = 1
  2014. GoTo, Recovered(Up3341822411112131231231243435769712)
  2015. else
  2016. mousemove XF112, YF112
  2017. Send {Shift Down}
  2018. click
  2019. Send {Shift Up}
  2020. sleep 50
  2021. Recovered(Up3341822411112131231231243435769712):
  2022. PixelSearch, XF1123, YF1123, 687, 425, 728, 460, 0x0E323A, 1, Fast ; checking 5th spot for logs
  2023. if Errorlevel = 1
  2024. GoTo, Recovered(Up334182232223324545324641111769712)
  2025. else
  2026. mousemove XF1123, YF1123
  2027. Send {Shift Down}
  2028. click
  2029. Send {Shift Up}
  2030. sleep 50
  2031. Recovered(Up334182232223324545324641111769712):
  2032. PixelSearch, XF11234, YF11234, 560, 463, 601, 494, 0x0E323A, 1, Fast ; checking 4th spot for logs
  2033. if Errorlevel = 1
  2034. GoTo, Recovered(Up33418223423465767864343241111769712)
  2035. else
  2036. mousemove XF11234, YF11234
  2037. Send {Shift Down}
  2038. click
  2039. Send {Shift Up}
  2040. sleep 50
  2041. Recovered(Up33418223423465767864343241111769712):
  2042. PixelSearch, XF112345, YF112345, 602, 463, 643, 494, 0x0E323A, 1, Fast ; checking 3rd spot for logs
  2043. if Errorlevel = 1
  2044. GoTo, Recovered(Up334563442342342765764543556456)
  2045. else
  2046. mousemove XF112345, YF112345
  2047. Send {Shift Down}
  2048. click
  2049. Send {Shift Up}
  2050. sleep 50
  2051. Recovered(Up334563442342342765764543556456):
  2052. PixelSearch, XF1123456, YF1123456, 647, 463, 685, 494, 0x0E323A, 1, Fast ; checking 2nd spot for logs
  2053. if Errorlevel = 1
  2054. GoTo, Recovered(Up334182423424556788912)
  2055. else
  2056. mousemove XF1123456, YF1123456
  2057. Send {Shift Down}
  2058. click
  2059. Send {Shift Up}
  2060. sleep 50
  2061. Recovered(Up334182423424556788912):
  2062. PixelSearch, XF11234567, YF11234567, 687, 463, 728, 494, 0x0E323A, 1, Fast ; checking 1st spot for logs
  2063. if Errorlevel = 1
  2064. GoTo, Recovered(Up32342342342)
  2065. else
  2066. mousemove XF11234567, YF11234567
  2067. Send {Shift Down}
  2068. click
  2069. Send {Shift Up}
  2070. sleep 50
  2071. Recovered(Up32342342342):
  2072. PixelSearch, X3223, Y3223, 560, 246, 598, 280, 0x0E313A, 1, Fast ; checking 28th spot for logs
  2073. if Errorlevel = 1
  2074. GoTo, Recovered(Up8975434354312)
  2075. else
  2076. mousemove X3223, Y3223
  2077. Send {Shift Down}
  2078. click
  2079. Send {Shift Up}
  2080. sleep 50
  2081. Recovered(Up8975434354312):
  2082. PixelSearch, X32231, Y32231, 605, 245, 641, 279, 0x0E313A, 1, Fast ; checking 27th spot for logs
  2083. if Errorlevel = 1
  2084. GoTo, Recovered(Up345653634563435436)
  2085. else
  2086. mousemove X32231, Y32231
  2087. Send {Shift Down}
  2088. click
  2089. Send {Shift Up}
  2090. sleep 50
  2091. Recovered(Up345653634563435436):
  2092. PixelSearch, X322313, Y322313, 646, 245, 685, 280, 0x0E313A, 1, Fast ; checking 26th spot for logs
  2093. if Errorlevel = 1
  2094. GoTo, Recovered(Up3341823443542342342241111769712)
  2095. else
  2096. mousemove X322313, Y322313
  2097. Send {Shift Down}
  2098. click
  2099. Send {Shift Up}
  2100. sleep 50
  2101. Recovered(Up3341823443542342342241111769712):
  2102. PixelSearch, X3223133, Y3223133, 688, 245, 728, 280, 0x0E313A, 1, Fast ; checking 25th spot for logs
  2103. if Errorlevel = 1
  2104. GoTo, Recovered(Up333456735673335467)
  2105. else
  2106. mousemove X3223133, Y3223133
  2107. Send {Shift Down}
  2108. click
  2109. Send {Shift Up}
  2110. sleep 50
  2111. Recovered(Up333456735673335467):
  2112. PixelSearch, X3789, Y3789, 561, 279, 600, 315, 0x0E313A, 1, Fast ; checking 24th spot for logs
  2113. if Errorlevel = 1
  2114. GoTo, Recovered(Up343243325233443224343243562234534)
  2115. else
  2116. mousemove X3789, Y3789
  2117. Send {Shift Down}
  2118. click
  2119. Send {Shift Up}
  2120. sleep 50
  2121. Recovered(Up343243325233443224343243562234534):
  2122. PixelSearch, X37891, Y37891, 603, 279, 642, 315, 0x0E313A, 1, Fast ; checking 23th spot for logs
  2123. if Errorlevel = 1
  2124. GoTo, Recovered(Up11111334182241111769712)
  2125. else
  2126. mousemove X37891, Y37891
  2127. Send {Shift Down}
  2128. click
  2129. Send {Shift Up}
  2130. sleep 50
  2131. Recovered(Up11111334182241111769712):
  2132. PixelSearch, X378912, Y378912, 646, 279, 684, 315, 0x0E313A, 1, Fast ; checking 22th spot for logs
  2133. if Errorlevel = 1
  2134. GoTo, Recovered(Up22222334182241111769712)
  2135. else
  2136. mousemove X378912, Y378912
  2137. Send {Shift Down}
  2138. click
  2139. Send {Shift Up}
  2140. sleep 50
  2141. Recovered(Up22222334182241111769712):
  2142. PixelSearch, X3789123, Y3789123, 688, 279, 729, 315, 0x0E313A, 1, Fast ; checking 21th spot for logs
  2143. if Errorlevel = 1
  2144. GoTo, Recovered(Up33333334182241111769712)
  2145. else
  2146. mousemove X3789123, Y3789123
  2147. Send {Shift Down}
  2148. click
  2149. Send {Shift Up}
  2150. sleep 50
  2151. Recovered(Up33333334182241111769712):
  2152. PixelSearch, X37891234, Y37891234, 560, 320, 600, 350, 0x0E313A, 1, Fast ; checking 20th spot for logs
  2153. if Errorlevel = 1
  2154. GoTo, Recovered(Up3444434182241111769712)
  2155. else
  2156. mousemove X37891234, Y37891234
  2157. Send {Shift Down}
  2158. click
  2159. Send {Shift Up}
  2160. sleep 50
  2161. Recovered(Up3444434182241111769712):
  2162. PixelSearch, X378912345, Y378912345, 604, 320, 641, 350, 0x0E313A, 1, Fast ; checking 19th spot for logs
  2163. if Errorlevel = 1
  2164. GoTo, Recovered(Up444444334182241111769712)
  2165. else
  2166. mousemove X378912345, Y378912345
  2167. Send {Shift Down}
  2168. click
  2169. Send {Shift Up}
  2170. sleep 50
  2171. Recovered(Up444444334182241111769712):
  2172. PixelSearch, X3789123456, Y3789123456, 645, 320, 685, 350, 0x0E313A, 1, Fast ; checking 18th spot for logs
  2173. if Errorlevel = 1
  2174. GoTo, Recovered(Up3555534182241111769712)
  2175. else
  2176. mousemove X3789123456, Y3789123456
  2177. Send {Shift Down}
  2178. click
  2179. Send {Shift Up}
  2180. sleep 50
  2181. Recovered(Up3555534182241111769712):
  2182. PixelSearch, X37891234567, Y37891234567, 688, 320, 727, 350, 0x0E313A, 1, Fast ; checking 17th spot for logs
  2183. if Errorlevel = 1
  2184. GoTo, Recovered(Up55555555334182241111769712)
  2185. else
  2186. mousemove X37891234567, Y37891234567
  2187. Send {Shift Down}
  2188. click
  2189. Send {Shift Up}
  2190. sleep 50
  2191. Recovered(Up55555555334182241111769712):
  2192. PixelSearch, X91, Y91, 561, 355, 600, 386, 0x0E313A, 1, Fast ; checking 16th spot for logs
  2193. if Errorlevel = 1
  2194. GoTo, Recovered(Up66666334182241111769712)
  2195. else
  2196. mousemove X91, Y91
  2197. Send {Shift Down}
  2198. click
  2199. Send {Shift Up}
  2200. sleep 50
  2201. Recovered(Up66666334182241111769712):
  2202. PixelSearch, X912, Y912, 604, 355, 642, 386, 0x0E313A, 1, Fast ; checking 15th spot for logs
  2203. if Errorlevel = 1
  2204. GoTo, Recovered(Up777777334182241111769712)
  2205. else
  2206. mousemove X912, Y912
  2207. Send {Shift Down}
  2208. click
  2209. Send {Shift Up}
  2210. sleep 50
  2211. Recovered(Up777777334182241111769712):
  2212. PixelSearch, X9123, Y9123, 645, 355, 685, 386, 0x0E313A, 1, Fast ; checking 14th spot for logs
  2213. if Errorlevel = 1
  2214. GoTo, Recovered(Up888888334182241111769712)
  2215. else
  2216. mousemove X9123, Y9123
  2217. Send {Shift Down}
  2218. click
  2219. Send {Shift Up}
  2220. sleep 50
  2221. Recovered(Up888888334182241111769712):
  2222. PixelSearch, X91234, Y91234, 688, 355, 725, 386, 0x0E313A, 1, Fast ; checking 13th spot for logs
  2223. if Errorlevel = 1
  2224. GoTo, Recovered(Up999999334182241111769712)
  2225. else
  2226. mousemove X91234, Y91234
  2227. Send {Shift Down}
  2228. click
  2229. Send {Shift Up}
  2230. sleep 50
  2231. Recovered(Up999999334182241111769712):
  2232. PixelSearch, X912345, Y912345, 561, 390, 600, 422, 0x0E313A, 1, Fast ; checking 12th spot for logs
  2233. if Errorlevel = 1
  2234. GoTo, Recovered(Up2834324334182241111769712)
  2235. else
  2236. mousemove X912345, Y912345
  2237. Send {Shift Down}
  2238. click
  2239. Send {Shift Up}
  2240. sleep 50
  2241. Recovered(Up2834324334182241111769712):
  2242. PixelSearch, X9123456, Y9123456, 602, 390, 643, 422, 0x0E313A, 1, Fast ; checking 11th spot for logs
  2243. if Errorlevel = 1
  2244. GoTo, Recovered(Up3423456756434334182241111769712)
  2245. else
  2246. mousemove X9123456, Y9123456
  2247. Send {Shift Down}
  2248. click
  2249. Send {Shift Up}
  2250. sleep 50
  2251. Recovered(Up3423456756434334182241111769712):
  2252. PixelSearch, X91234567, Y91234567, 646, 390, 685, 422, 0x0E313A, 1, Fast ; checking 10th spot for logs
  2253. if Errorlevel = 1
  2254. GoTo, Recovered(Up3234234564341822556641111769712)
  2255. else
  2256. mousemove X91234567, Y91234567
  2257. Send {Shift Down}
  2258. click
  2259. Send {Shift Up}
  2260. sleep 50
  2261. Recovered(Up3234234564341822556641111769712):
  2262. PixelSearch, X912345678, Y912345678, 687, 390, 728, 422, 0x0E313A, 1, Fast ; checking 9th spot for logs
  2263. if Errorlevel = 1
  2264. GoTo, Recovered(Up334182241111769712544565432423)
  2265. else
  2266. mousemove X912345678, Y912345678
  2267. Send {Shift Down}
  2268. click
  2269. Send {Shift Up}
  2270. sleep 50
  2271. Recovered(Up334182241111769712544565432423):
  2272. PixelSearch, XF1, YF1, 560, 425, 600, 460, 0x0E313A, 1, Fast ; checking 8th spot for logs
  2273. if Errorlevel = 1
  2274. GoTo, Recovered(Up4343334182234434111176971232143)
  2275. else
  2276. mousemove XF1, YF1
  2277. Send {Shift Down}
  2278. click
  2279. Send {Shift Up}
  2280. sleep 50
  2281. Recovered(Up4343334182234434111176971232143):
  2282. PixelSearch, XF11, YF11, 603, 425, 642, 460, 0x0E313A, 1, Fast ; checking 7th spot for logs
  2283. if Errorlevel = 1
  2284. GoTo, Recovered(Up234235667556334182241111769712)
  2285. else
  2286. mousemove XF11, YF11
  2287. Send {Shift Down}
  2288. click
  2289. Send {Shift Up}
  2290. sleep 50
  2291. Recovered(Up234235667556334182241111769712):
  2292. PixelSearch, XF112, YF112, 646, 425, 684, 460, 0x0E313A, 1, Fast ; checking 6th spot for logs
  2293. if Errorlevel = 1
  2294. GoTo, Recovered(Up85647344343334182241111769712)
  2295. else
  2296. mousemove XF112, YF112
  2297. Send {Shift Down}
  2298. click
  2299. Send {Shift Up}
  2300. sleep 50
  2301. Recovered(Up85647344343334182241111769712):
  2302. PixelSearch, XF1123, YF1123, 687, 425, 728, 460, 0x0E313A, 1, Fast ; checking 5th spot for logs
  2303. if Errorlevel = 1
  2304. GoTo, Recovered(Up434354665767686776334182241111769712)
  2305. else
  2306. mousemove XF1123, YF1123
  2307. Send {Shift Down}
  2308. click
  2309. Send {Shift Up}
  2310. sleep 50
  2311. Recovered(Up434354665767686776334182241111769712):
  2312. PixelSearch, XF11234, YF11234, 560, 463, 601, 494, 0x0E313A, 1, Fast ; checking 4th spot for logs
  2313. if Errorlevel = 1
  2314. GoTo, Recovered(Up93456743567334182241111769712)
  2315. else
  2316. mousemove XF11234, YF11234
  2317. Send {Shift Down}
  2318. click
  2319. Send {Shift Up}
  2320. sleep 50
  2321. Recovered(Up93456743567334182241111769712):
  2322. PixelSearch, XF112345, YF112345, 602, 463, 643, 494, 0x0E313A, 1, Fast ; checking 3rd spot for logs
  2323. if Errorlevel = 1
  2324. GoTo, Recovered(Up33895768934567)
  2325. else
  2326. mousemove XF112345, YF112345
  2327. Send {Shift Down}
  2328. click
  2329. Send {Shift Up}
  2330. sleep 50
  2331. Recovered(Up33895768934567):
  2332. PixelSearch, XF1123456, YF1123456, 647, 463, 685, 494, 0x0E313A, 1, Fast ; checking 2nd spot for logs
  2333. if Errorlevel = 1
  2334. GoTo, Recovered(Up332343423456677643434182241111769712)
  2335. else
  2336. mousemove XF1123456, YF1123456
  2337. Send {Shift Down}
  2338. click
  2339. Send {Shift Up}
  2340. sleep 50
  2341. Recovered(Up332343423456677643434182241111769712):
  2342. PixelSearch, XF11234567, YF11234567, 687, 463, 728, 494, 0x0E313A, 1, Fast ; checking 1st spot for logs
  2343. if Errorlevel = 1
  2344. GoTo, Recovered(Up3341822334237657678434312)
  2345. else
  2346. mousemove XF11234567, YF11234567
  2347. Send {Shift Down}
  2348. click
  2349. Send {Shift Up}
  2350. sleep 50
  2351. Recovered(Up3341822334237657678434312):
  2352. PixelSearch, X3223, Y3223, 560, 246, 598, 280, 0x0D3038, 1, Fast ; checking 28th spot for logs
  2353. if Errorlevel = 1
  2354. GoTo, Recovered(Up3341823454356454576712)
  2355. else
  2356. mousemove X3223, Y3223
  2357. Send {Shift Down}
  2358. click
  2359. Send {Shift Up}
  2360. sleep 50
  2361. Recovered(Up3341823454356454576712):
  2362. PixelSearch, X32231, Y32231, 605, 245, 641, 279, 0x0D3038, 1, Fast ; checking 27th spot for logs
  2363. if Errorlevel = 1
  2364. GoTo, Recovered(Up12345645764334182241111769712)
  2365. else
  2366. mousemove X32231, Y32231
  2367. Send {Shift Down}
  2368. click
  2369. Send {Shift Up}
  2370. sleep 50
  2371. Recovered(Up12345645764334182241111769712):
  2372. PixelSearch, X322313, Y322313, 646, 245, 685, 280, 0x0D3038, 1, Fast ; checking 26th spot for logs
  2373. if Errorlevel = 1
  2374. GoTo, Recovered(Up3334222222413453453453)
  2375. else
  2376. mousemove X322313, Y322313
  2377. Send {Shift Down}
  2378. click
  2379. Send {Shift Up}
  2380. sleep 50
  2381. Recovered(Up3334222222413453453453):
  2382. PixelSearch, X3223133, Y3223133, 688, 245, 728, 280, 0x0D3038, 1, Fast ; checking 25th spot for logs
  2383. if Errorlevel = 1
  2384. GoTo, Recovered(Up943345345334182241111769712)
  2385. else
  2386. mousemove X3223133, Y3223133
  2387. Send {Shift Down}
  2388. click
  2389. Send {Shift Up}
  2390. sleep 50
  2391. Recovered(Up943345345334182241111769712):
  2392. PixelSearch, X3789, Y3789, 561, 279, 600, 315, 0x0D3038, 1, Fast ; checking 24th spot for logs
  2393. if Errorlevel = 1
  2394. GoTo, Recovered(Up456433223334182241111769712)
  2395. else
  2396. mousemove X3789, Y3789
  2397. Send {Shift Down}
  2398. click
  2399. Send {Shift Up}
  2400. sleep 50
  2401. Recovered(Up456433223334182241111769712):
  2402. PixelSearch, X37891, Y37891, 603, 279, 642, 315, 0x0D3038, 1, Fast ; checking 23th spot for logs
  2403. if Errorlevel = 1
  2404. GoTo, Recovered(Up32346575643434334182241111769712)
  2405. else
  2406. mousemove X37891, Y37891
  2407. Send {Shift Down}
  2408. click
  2409. Send {Shift Up}
  2410. sleep 50
  2411. Recovered(Up32346575643434334182241111769712):
  2412. PixelSearch, X378912, Y378912, 646, 279, 684, 315, 0x0D3038, 1, Fast ; checking 22th spot for logs
  2413. if Errorlevel = 1
  2414. GoTo, Recovered(Up9245643256334182241111769712)
  2415. else
  2416. mousemove X378912, Y378912
  2417. Send {Shift Down}
  2418. click
  2419. Send {Shift Up}
  2420. sleep 50
  2421. Recovered(Up9245643256334182241111769712):
  2422. PixelSearch, X3789123, Y3789123, 688, 279, 729, 315, 0x0D3038, 1, Fast ; checking 21th spot for logs
  2423. if Errorlevel = 1
  2424. GoTo, Recovered(Up23423456456334182241111769712)
  2425. else
  2426. mousemove X3789123, Y3789123
  2427. Send {Shift Down}
  2428. click
  2429. Send {Shift Up}
  2430. sleep 50
  2431. Recovered(Up23423456456334182241111769712):
  2432. PixelSearch, X37891234, Y37891234, 560, 320, 600, 350, 0x0D3038, 1, Fast ; checking 20th spot for logs
  2433. if Errorlevel = 1
  2434. GoTo, Recovered(Up452345645376567546334182241111769712)
  2435. else
  2436. mousemove X37891234, Y37891234
  2437. Send {Shift Down}
  2438. click
  2439. Send {Shift Up}
  2440. sleep 50
  2441. Recovered(Up452345645376567546334182241111769712):
  2442. PixelSearch, X378912345, Y378912345, 604, 320, 641, 350, 0x0D3038, 1, Fast ; checking 19th spot for logs
  2443. if Errorlevel = 1
  2444. GoTo, Recovered(Up365463245353342)
  2445. else
  2446. mousemove X378912345, Y378912345
  2447. Send {Shift Down}
  2448. click
  2449. Send {Shift Up}
  2450. sleep 50
  2451. Recovered(Up365463245353342):
  2452. PixelSearch, X3789123456, Y3789123456, 645, 320, 685, 350, 0x0D3038, 1, Fast ; checking 18th spot for logs
  2453. if Errorlevel = 1
  2454. GoTo, Recovered(Up324234655643431111769712)
  2455. else
  2456. mousemove X3789123456, Y3789123456
  2457. Send {Shift Down}
  2458. click
  2459. Send {Shift Up}
  2460. sleep 50
  2461. Recovered(Up324234655643431111769712):
  2462. PixelSearch, X37891234567, Y37891234567, 688, 320, 727, 350, 0x0D3038, 1, Fast ; checking 17th spot for logs
  2463. if Errorlevel = 1
  2464. GoTo, Recovered(Up54436786734334182241111769712)
  2465. else
  2466. mousemove X37891234567, Y37891234567
  2467. Send {Shift Down}
  2468. click
  2469. Send {Shift Up}
  2470. sleep 50
  2471. Recovered(Up54436786734334182241111769712):
  2472. PixelSearch, X91, Y91, 561, 355, 600, 386, 0x0D3038, 1, Fast ; checking 16th spot for logs
  2473. if Errorlevel = 1
  2474. GoTo, Recovered(Up78787894545334182241111769712)
  2475. else
  2476. mousemove X91, Y91
  2477. Send {Shift Down}
  2478. click
  2479. Send {Shift Up}
  2480. sleep 50
  2481. Recovered(Up78787894545334182241111769712):
  2482. PixelSearch, X912, Y912, 604, 355, 642, 386, 0x0D3038, 1, Fast ; checking 15th spot for logs
  2483. if Errorlevel = 1
  2484. GoTo, Recovered(Up8970785464564334182241111769712)
  2485. else
  2486. mousemove X912, Y912
  2487. Send {Shift Down}
  2488. click
  2489. Send {Shift Up}
  2490. sleep 50
  2491. Recovered(Up8970785464564334182241111769712):
  2492. PixelSearch, X9123, Y9123, 645, 355, 685, 386, 0x0D3038, 1, Fast ; checking 14th spot for logs
  2493. if Errorlevel = 1
  2494. GoTo, Recovered(Up7894563456334182241111769712)
  2495. else
  2496. mousemove X9123, Y9123
  2497. Send {Shift Down}
  2498. click
  2499. Send {Shift Up}
  2500. sleep 50
  2501. Recovered(Up7894563456334182241111769712):
  2502. PixelSearch, X91234, Y91234, 688, 355, 725, 386, 0x0D3038, 1, Fast ; checking 13th spot for logs
  2503. if Errorlevel = 1
  2504. GoTo, Recovered(Up874524356456334182241111769712)
  2505. else
  2506. mousemove X91234, Y91234
  2507. Send {Shift Down}
  2508. click
  2509. Send {Shift Up}
  2510. sleep 50
  2511. Recovered(Up874524356456334182241111769712):
  2512. PixelSearch, X912345, Y912345, 561, 390, 600, 422, 0x0D3038, 1, Fast ; checking 12th spot for logs
  2513. if Errorlevel = 1
  2514. GoTo, Recovered(Up76857423563456334182241111769712)
  2515. else
  2516. mousemove X912345, Y912345
  2517. Send {Shift Down}
  2518. click
  2519. Send {Shift Up}
  2520. sleep 50
  2521. Recovered(Up76857423563456334182241111769712):
  2522. PixelSearch, X9123456, Y9123456, 602, 390, 643, 422, 0x0D3038, 1, Fast ; checking 11th spot for logs
  2523. if Errorlevel = 1
  2524. GoTo, Recovered(Up9068453634563456334182241111769712)
  2525. else
  2526. mousemove X9123456, Y9123456
  2527. Send {Shift Down}
  2528. click
  2529. Send {Shift Up}
  2530. sleep 50
  2531. Recovered(Up9068453634563456334182241111769712):
  2532. PixelSearch, X91234567, Y91234567, 646, 390, 685, 422, 0x0D3038, 1, Fast ; checking 10th spot for logs
  2533. if Errorlevel = 1
  2534. GoTo, Recovered(Up987345643564353334182241111769712)
  2535. else
  2536. mousemove X91234567, Y91234567
  2537. Send {Shift Down}
  2538. click
  2539. Send {Shift Up}
  2540. sleep 50
  2541. Recovered(Up987345643564353334182241111769712):
  2542. PixelSearch, X912345678, Y912345678, 687, 390, 728, 422, 0x0D3038, 1, Fast ; checking 9th spot for logs
  2543. if Errorlevel = 1
  2544. GoTo, Recovered(Up33418224111764543543321567878655641769712)
  2545. else
  2546. mousemove X912345678, Y912345678
  2547. Send {Shift Down}
  2548. click
  2549. Send {Shift Up}
  2550. sleep 50
  2551. Recovered(Up33418224111764543543321567878655641769712):
  2552. PixelSearch, XF1, YF1, 560, 425, 600, 460, 0x0D3038, 1, Fast ; checking 8th spot for logs
  2553. if Errorlevel = 1
  2554. GoTo, Recovered(Up334184353453422222234444442241111769712)
  2555. else
  2556. mousemove XF1, YF1
  2557. Send {Shift Down}
  2558. click
  2559. Send {Shift Up}
  2560. sleep 50
  2561. Recovered(Up334184353453422222234444442241111769712):
  2562. PixelSearch, XF11, YF11, 603, 425, 642, 460, 0x0D3038, 1, Fast ; checking 7th spot for logs
  2563. if Errorlevel = 1
  2564. GoTo, Recovered(Up3345435435433433333334182241111769712)
  2565. else
  2566. mousemove XF11, YF11
  2567. Send {Shift Down}
  2568. click
  2569. Send {Shift Up}
  2570. sleep 50
  2571. Recovered(Up3345435435433433333334182241111769712):
  2572. PixelSearch, XF112, YF112, 646, 425, 684, 460, 0x0D3038, 1, Fast ; checking 6th spot for logs
  2573. if Errorlevel = 1
  2574. GoTo, Recovered(Up9874543563456334182241111769712)
  2575. else
  2576. mousemove XF112, YF112
  2577. Send {Shift Down}
  2578. click
  2579. Send {Shift Up}
  2580. sleep 50
  2581. Recovered(Up9874543563456334182241111769712):
  2582. PixelSearch, XF1123, YF1123, 687, 425, 728, 460, 0x0D3038, 1, Fast ; checking 5th spot for logs
  2583. if Errorlevel = 1
  2584. GoTo, Recovered(Up33345367867856456434182241111769712)
  2585. else
  2586. mousemove XF1123, YF1123
  2587. Send {Shift Down}
  2588. click
  2589. Send {Shift Up}
  2590. sleep 50
  2591. Recovered(Up33345367867856456434182241111769712):
  2592. PixelSearch, XF11234, YF11234, 560, 463, 601, 494, 0x0D3038, 1, Fast ; checking 4th spot for logs
  2593. if Errorlevel = 1
  2594. GoTo, Recovered(Up334182241324322343423432432432432423111769712)
  2595. else
  2596. mousemove XF11234, YF11234
  2597. Send {Shift Down}
  2598. click
  2599. Send {Shift Up}
  2600. sleep 50
  2601. Recovered(Up334182241324322343423432432432432423111769712):
  2602. PixelSearch, XF112345, YF112345, 602, 463, 643, 494, 0x0D3038, 1, Fast ; checking 3rd spot for logs
  2603. if Errorlevel = 1
  2604. GoTo, Recovered(Up389755434545345334182241111769712)
  2605. else
  2606. mousemove XF112345, YF112345
  2607. Send {Shift Down}
  2608. click
  2609. Send {Shift Up}
  2610. sleep 50
  2611. Recovered(Up389755434545345334182241111769712):
  2612. PixelSearch, XF1123456, YF1123456, 647, 463, 685, 494, 0x0D3038, 1, Fast ; checking 2nd spot for logs
  2613. if Errorlevel = 1
  2614. GoTo, Recovered(Up312312312312312312312312334182241111769712)
  2615. else
  2616. mousemove XF1123456, YF1123456
  2617. Send {Shift Down}
  2618. click
  2619. Send {Shift Up}
  2620. sleep 50
  2621. Recovered(Up312312312312312312312312334182241111769712):
  2622. PixelSearch, XF11234567, YF11234567, 687, 463, 728, 494, 0x0D3038, 1, Fast ; checking 1st spot for logs
  2623. if Errorlevel = 1
  2624. GoTo, Recovered(Up334182241111769712)
  2625. else
  2626. mousemove XF11234567, YF11234567
  2627. Send {Shift Down}
  2628. click
  2629. Send {Shift Up}
  2630. sleep 50
  2631. Recovered(Up334182241111769712):
  2632. PixelSearch, XB, YB, 4, 100, 510, 367, 0x1B2726, 1, Fast ; Checking for WILLOW Trees
  2633. if Errorlevel = 1
  2634. GoTo, Recover(Up300002342341352613111769712)
  2635. else
  2636. mousemove XB, YB
  2637. sleep 500
  2638. click left
  2639. sleep 2000
  2640. mousemove XB, YB
  2641. sleep 3000
  2642. Recovered(Up33418411143243243512431769712):
  2643. PixelSearch, XB2, YB2, 90, 58, 121, 75, 0x009CFF, 1, Fast ; Checking for "IDLE" text
  2644. if Errorlevel = 1
  2645. GoTo, Recover(Up300002342341352613111769712)
  2646. else
  2647. Goto, Recovered(Up3341841111769712)
  2648. Recover(Up300002342341352613111769712):
  2649. PixelSearch, DXU, DYU, 159, 50, 207, 118, 0xCBBAB9, 1, Fast ; search for login screen
  2650. if Errorlevel = 1
  2651. Goto, Recovered(Up33418411143243243512431769712)
  2652. else
  2653. click 402, 312
  2654. sleep 100
  2655. Recover(Down30000234235464541645352613111769712):
  2656. PixelSearch, XX, YY, 225, 361, 246, 381, 0x0B0B0B, 1, Fast
  2657. if Errorlevel = 1
  2658. Goto, Recover(Down300002342341352613111769712)
  2659. else
  2660. PixelSearch, XXX, YYY, 250, 244, 521, 262, 0x00FFFF, 1, Fast
  2661. if Errorlevel = 1
  2662. Goto, Recover(Down300002342341352613111769712)
  2663. else
  2664. click 315, 292
  2665. send %accname%{enter}
  2666. send %accpass%{enter}
  2667. sleep 7000
  2668. click 384, 367
  2669. sleep 7000
  2670. GoTo, Recovered(Up334184132456768344392111769712)
  2671. Recover(Down3000023423412343242352613111769712):
  2672. click 316, 289
  2673. send {backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}
  2674. click 346, 307
  2675. send {backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}{backspace}
  2676. Goto, Recover(Up300002342341352613111769712)
  2677. Recover(Down300002342341352613111769712):
  2678. GoTo, Recovered(Up3341841111769712)
  2679. }
  2680. Return
  2681.  
  2682. Buttonhighalchemy:
  2683. IfWinExist, ahk_class SunAwtFrame
  2684. WinActivate, ahk_class SunAwtFrame
  2685. BlockInput, MouseMove
  2686. WinActivate, ahk_class SunAwtFrame
  2687. click 743, 217
  2688. Recovered(Up3312):
  2689. PixelSearch, X, Y, 701, 345, 730, 373, 0x09D2D2, 1, Fast ; Check for High alch
  2690. if Errorlevel = 1
  2691. GoTo, Recover(Down200112)
  2692. else
  2693. mousemove X, Y
  2694. click left
  2695. sleep 100
  2696. GoTo, Recover(Down2001122)
  2697. Recover(Down2001122):
  2698. click 706, 478
  2699. sleep 2300
  2700. GoTo, Recovered(Up3312)
  2701. Return
RAW Paste Data