Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; <COMPILER: v1.0.48.5>
- #SingleInstance, force
- #NoEnv
- SendMode Input
- SetWorkingDir %A_ScriptDir%
- FileRead, Password, password.txt
- IfWinExist, Path of Exile ahk_class Direct3DWindowClass
- WinActivate
- amountran = 0
- status = 0
- Gui, Show, w120 h130, [3.5] New Location Login Fix
- Gui, Add, Text, cGreen vamounttext, Amount Ran: %amountran%.
- Gui, Add, Text, cBlue vstatustext, Status: %status%.
- Gui, Add, Text, cPurple, 0 = Idle, 1 = Running.
- Gui, Add, Text, cRed, Panic Button: Ctrl + q
- Gui, Add, Text, cRed, Terminates the script.
- Loop
- {
- login:
- ImageSearch, posx, posy, 535, 590, 605, 610, *100 exit.bmp
- If Errorlevel = 1
- {
- Sleep 200
- }
- Else
- {
- Goto, sequence
- }
- ImageSearch, posx, posy, 498, 337, 566, 355, *100 ok.bmp
- If Errorlevel = 1
- {
- Sleep 200
- }
- Else
- {
- Goto, sequence
- }
- Goto, login
- sequence:
- amountran := amountran + 1
- GuiControl,, amounttext, Amount Ran: %amountran%.
- status := status + 1
- GuiControl,, statustext, Status: %status%.
- SendMessage, 0xB774,,,, Exiled Bot
- sleep 5000
- Click 530, 345
- sleep 1000
- Click 305, 450
- Sleep 1000
- Send %Password%
- Sleep 1000
- Send {ENTER}
- sleep 5000
- Send {ENTER}
- sleep 5000
- SendMessage, 0xB775,,,, Exiled Bot
- sleep 3000
- status := status - 1
- GuiControl,, statustext, Status: %status%.
- Goto, login
- }
- ^q::ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement