Advertisement
munsking

eve mining bot

Nov 25th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. begin
  2. // Mouse.Click at coordinate("1722", "184", "left")
  3. // Macro.Pause("10000")
  4. Variable.Set("locListStartX", "188")
  5. Variable.Set("locListStartY", "150")
  6. Variable.Set("locListHeight", "20")
  7. Variable.Set("locListWidth", "80")
  8. Variable.Set("curLocStartX", "0")
  9. Variable.Set("curLocStartY", "0")
  10. Variable.Set("curLocStopX", "0")
  11. Variable.Set("curLocStopY", "0")
  12. Variable.Set("locListCount", "0")
  13. Variable.Set("curLocStartX", "{locListStartX}")
  14. Variable.Set("curLocStartY", "{locListStartY}")
  15. Variable.Set("curLocStopX", "{locListStartX}")
  16. Variable.Set("curLocStopY", "{locListStartY}")
  17. Variable.Set("warpX", "{curLocStartX}")
  18. Variable.Set("warpY", "{curLocStartY}")
  19. Variable.Add (Math)("curLocStopX", "{locListWidth}")
  20. Variable.Add (Math)("curLocStopY", "{locListHeight}")
  21. Plugins.OCR (Simple)("{curLocStartX}", "{curLocStartY}", "{curLocStopX}", "{curLocStopY}", "curLoc")
  22. if Variable.Contains text("curLoc", "roid")
  23. begin
  24. Mouse.Click at coordinate("1727", "183", "left")
  25. Macro.Pause("15000")
  26. end
  27. while Variable.Contains text("curLoc", "roid")
  28. begin
  29. Mouse.Click at coordinate("{curLocStartX}", "{curLocStartY}", "right")
  30. Variable.Add (Math)("warpX", "10")
  31. Variable.Add (Math)("warpY", "5")
  32. Macro.Pause("1000")
  33. Mouse.Click at coordinate("{warpX}", "{warpY}", "left")
  34. Macro.Pause("5000")
  35. Plugins.OCR (Simple)("860", "810", "1060", "830", "warping")
  36. while Variable.Contains text("warping", "drive")
  37. begin
  38. Macro.Pause("2000")
  39. end
  40. Variable.Add (Math)("curLocStartY", "{locListHeight}")
  41. Variable.Add (Math)("curLocStopY", "{locListHeight}")
  42. Variable.Add (Math)("locListCount", "1")
  43. Plugins.OCR (Simple)("{curLocStartX}", "{curLocStartY}", "{curLocStopX}", "{curLocStopY}", "curLoc")
  44. end
  45. Window.Display message box("{locListCount} locations done", "true")
  46. end
  47.  
  48. function("mineAll")
  49. function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement