Advertisement
Guest User

Untitled

a guest
Nov 5th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #SingleInstance force
  2.  
  3. WinActivate, ahk_exe Dofus.exe
  4.  
  5. Esc::ExitApp
  6.  
  7. #IfWinActive, ahk_exe Dofus.exe
  8.  
  9. F5::
  10.     Mine()
  11. Return
  12.  
  13. #IfWinActive
  14.  
  15. Mine() {
  16.     CoordMode, Mouse, Client
  17.  
  18.     Irons1 := [ [610, 575], [650, 555], [831, 328], [880, 300], [917, 300], [1317, 454] ]
  19.  
  20.     Irons2 := [ [780, 475], [820, 450], [1040, 350], [1100, 328], [1142, 314] ]
  21.  
  22.     Move1 := [1295, 578]
  23.     Move2 := [500, 570]
  24.  
  25.     Sleep, 1000
  26.  
  27.     loop {
  28.         Send, {Shift down}
  29.         For i, iron in Irons1 {
  30.             MouseClick, left, iron[1], iron[2]
  31.             Sleep, 100
  32.         }
  33.         Send, {Shift up}
  34.  
  35.         Sleep, 25000
  36.         Send, {Enter}
  37.         MouseClick, left, Move1[1], Move1[2]
  38.         Sleep, 2000
  39.  
  40.         Send, {Shift down}
  41.         For i, iron in Irons2 {
  42.             MouseClick, left, iron[1], iron[2]
  43.         }
  44.         Send, {Shift up}
  45.  
  46.         Sleep, 23000
  47.         Send, {Enter}
  48.         MouseClick, left, Move2[1], Move2[2]
  49.         Sleep, 600000
  50.     }
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement