Hi,
Ive been trying to get the bot proceed down to lvl 3, and it works but i cant get the darn thing to turn on the bot again
To be honest, my programming skills are not sufficient
I'm running the bot with "Z" enabled to that the bot can see texts on doorways etc, and i've created a bmp image for "Lunaris Temple Level 3"
The script pauses the bot, enters the door and its supposed to turn on the bot again, but it does not work
Help me out here
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;Let's make a tray icon
Menu, Tray, Icon, 3.bmp
;Activate game window
IfWinExist, Path of Exile ahk_class Direct3DWindowClass
WinActivate
Else
Loop
{
ImageSearch, posx, posy, 1, 1, 800, 600, *60 lunaris.bmp
If Errorlevel = 1
Sleep 200
Else
{
Send {F12}
Click, %posx%, %posy%
ImageSearch, posx, posy, 1, 1, 800, 600, *60 lunaris.bmp
If Errorlevel = 0
Click, %posx%, %posy%
Else
Sleep 2000
Send {F12}
}
}