Advertisement
rivenslayer

Untitled

Feb 17th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. ; <COMPILER: v1.0.48.5>
  2. #SingleInstance, force
  3. #NoEnv
  4.  
  5. SendMode Input
  6. SetWorkingDir %A_ScriptDir%
  7. FileRead, Password, password.txt
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14. IfWinExist, Path of Exile ahk_class Direct3DWindowClass
  15. WinActivate
  16. amountran = 0
  17. status = 0
  18. Gui, Show, w120 h130, [3.5] New Location Login Fix
  19. Gui, Add, Text, cGreen vamounttext, Amount Ran: %amountran%.
  20. Gui, Add, Text, cBlue vstatustext, Status: %status%.
  21. Gui, Add, Text, cPurple, 0 = Idle, 1 = Running.
  22. Gui, Add, Text, cRed, Panic Button: Ctrl + q
  23. Gui, Add, Text, cRed, Terminates the script.
  24.  
  25. Loop
  26. {
  27.  
  28. login:
  29. ImageSearch, posx, posy, 535, 590, 605, 610, *100 exit.bmp
  30. If Errorlevel = 1
  31. {
  32. Sleep 200
  33. }
  34.  
  35. Else
  36. {
  37. Goto, sequence
  38. }
  39.  
  40. ImageSearch, posx, posy, 498, 337, 566, 355, *100 ok.bmp
  41. If Errorlevel = 1
  42. {
  43. Sleep 200
  44. }
  45.  
  46. Else
  47. {
  48. Goto, sequence
  49. }
  50.  
  51. Goto, login
  52.  
  53. sequence:
  54. amountran := amountran + 1
  55. GuiControl,, amounttext, Amount Ran: %amountran%.
  56. status := status + 1
  57. GuiControl,, statustext, Status: %status%.
  58. SendMessage, 0xB774,,,, Exiled Bot
  59. sleep 5000
  60. Click 530, 345
  61. sleep 1000
  62. Click 305, 450
  63. Sleep 1000
  64. Send %Password%
  65. Sleep 1000
  66. Send {ENTER}
  67. sleep 5000
  68. Send {ENTER}
  69. sleep 5000
  70. SendMessage, 0xB775,,,, Exiled Bot
  71. sleep 3000
  72. status := status - 1
  73. GuiControl,, statustext, Status: %status%.
  74. Goto, login
  75. }
  76.  
  77. ^q::ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement