Noob needs help Topic is solved

Ask gaming related questions
NoobGuest

Noob needs help

03 Jan 2018, 17:33

Hi everyone,
I started using AHK for gaming a few days ago and found it amazing, and have learned quite a bit by myself, at least enough to do what I want.
Eventually, though, I stumbled on a problem that I think I might need help, because of either underlining defects on my coding or just wrongdoing on my part :sick:
I can´t get this script to display MsgBox for line 294.
Any general tips would be greatly appreciated.
Thanks for the attention.

Code: Select all

{
SetDefaultMouseSpeed, 3
SetKeyDelay, 40, 40
SetMouseDelay, 40
CoordMode, Mouse
SetWorkingDir c:\Users\FX-8120\My Documents\My Games\Path of Exile\Screenshots
{
^h::
MouseGetPos, Xpos, Ypos
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
^q::
MouseGetPos, Xpos, Ypos
MouseClick, left, 1660, 1048 ; t
; Lightning Trap
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
MouseClick, left, VaalLightningTrapX, VaalLightningTrapY
MouseMove, Xpos, Ypos
Send, {t}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
^w::
MouseGetPos, Xpos, Ypos
MouseClick, left, 1660, 1048 ; t
; Summon Skeletons
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
MouseClick, left, VaalSummonSkeletonsX, VaalSummonSkeletonsY
MouseMove, Xpos, Ypos
Send, {t}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
Numpad1::
MouseGetPos, Xpos, Ypos
Send, {i}
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1825, 615 ; Inventory ring 1
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1690, 305 ; Left Finger
MouseClick, left, 1875, 615 ; Inventory ring 2
MouseClick, left, 1690, 305 ; Left Finger
MouseClick, left, 1880, 670 ; Inventory Gem 1,1
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1820, 670 ; Inventory Gem 1,2
MouseClick, left, 1690, 305 ; Left Finger
Send, {i}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
{
ImageSearch, PurityOfLightningX, PurityOfLightningY, 1412, 480, 1604, 933, *10 PurityOfLightningR5.png
{
if ErrorLevel = 1
ImageSearch, PurityOfLightningX, PurityOfLightningY, 1412, 480, 1604, 933, *10 PurityOfLightningM4.png
}
if ErrorLevel = 0
{
MouseClick, left, PurityOfLightningX, PurityOfLightningY
Send, {t}
MouseClick, left, 1660, 1048 ; t
}
if ErrorLevel = 1
MsgBox PurityOfLightning could not be found on the screen.
}
Sleep,900
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
{
ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsL4.png
{
if ErrorLevel = 1
ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsM3.png
{
if ErrorLevel = 1
MsgBox PurityOfElements could not be found on the screen.
}
}
if ErrorLevel = 0
{
MouseClick, left, PurityOfElementsX, PurityOfElementsY
Send, {t}
MouseClick, left, 1660, 1048 ; t
}
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
Numpad0 & Numpad1::
MouseGetPos, Xpos, Ypos
Send, {i}
MouseClick, right, 1485, 305 ; Right Finger
MouseClick, left, 1880, 670 ; Inventory Gem 1,1
MouseClick, left, 1825, 615 ; Inventory ring 1
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1825, 615 ; Inventory ring 1
MouseClick, right, 1690, 305 ; Left Finger
MouseClick, left, 1820, 670 ; Inventory Gem 1,2
MouseClick, left, 1875, 615 ; Inventory ring 2
MouseClick, left, 1690, 305 ; Left Finger
MouseClick, left, 1875, 615 ; Inventory ring 2
Send, {i}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
}
nadjibSoft
Posts: 9
Joined: 29 Dec 2017, 14:57
Facebook: 100011403841640

Re: Noob needs help

03 Jan 2018, 17:50

No one can understand your code :shock: ... use indentations
Guest

Re: Noob needs help

03 Jan 2018, 17:52

Here is the file online just in case
https://file.io/2dOyeU
Thanks
Guest

Re: Noob needs help

03 Jan 2018, 17:55

Thanks you for the reply, I´m going to see how that works and repost it as soon as possible.
Guest

Re: Noob needs help

03 Jan 2018, 18:30

I hope that is how Indentation is done

{
SetDefaultMouseSpeed, 3
SetKeyDelay, 40, 40
SetMouseDelay, 40
CoordMode, Mouse
SetWorkingDir c:\Users\FX-8120\My Documents\My Games\Path of Exile\Screenshots
{
^h::
MouseGetPos, Xpos, Ypos
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
^q::
MouseGetPos, Xpos, Ypos
MouseClick, left, 1660, 1048 ; t
; Lightning Trap
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
MouseClick, left, VaalLightningTrapX, VaalLightningTrapY
MouseMove, Xpos, Ypos
Send, {t}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
^w::
MouseGetPos, Xpos, Ypos
MouseClick, left, 1660, 1048 ; t
; Summon Skeletons
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
MouseClick, left, VaalSummonSkeletonsX, VaalSummonSkeletonsY
MouseMove, Xpos, Ypos
Send, {t}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
Numpad1::
MouseGetPos, Xpos, Ypos
Send, {i}
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1825, 615 ; Inventory ring 1
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1690, 305 ; Left Finger
MouseClick, left, 1875, 615 ; Inventory ring 2
MouseClick, left, 1690, 305 ; Left Finger
MouseClick, left, 1880, 670 ; Inventory Gem 1,1
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1820, 670 ; Inventory Gem 1,2
MouseClick, left, 1690, 305 ; Left Finger
Send, {i}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
{
ImageSearch, PurityOfLightningX, PurityOfLightningY, 1412, 480, 1604, 933, *10 PurityOfLightningR5.png
{
if ErrorLevel = 1
ImageSearch, PurityOfLightningX, PurityOfLightningY, 1412, 480, 1604, 933, *10 PurityOfLightningM4.png
}
if ErrorLevel = 0
{
MouseClick, left, PurityOfLightningX, PurityOfLightningY
Send, {t}
MouseClick, left, 1660, 1048 ; t
}
if ErrorLevel = 1
MsgBox PurityOfLightning could not be found on the screen.
}
Sleep,900
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
{
ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsL4.png
{
if ErrorLevel = 1
ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsM3.png
{
if ErrorLevel = 1
MsgBox PurityOfElements could not be found on the screen. ; <----This line
}
}
if ErrorLevel = 0
{
MouseClick, left, PurityOfElementsX, PurityOfElementsY
Send, {t}
MouseClick, left, 1660, 1048 ; t
}
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
Numpad0 & Numpad1::
MouseGetPos, Xpos, Ypos
Send, {i}
MouseClick, right, 1485, 305 ; Right Finger
MouseClick, left, 1880, 670 ; Inventory Gem 1,1
MouseClick, left, 1825, 615 ; Inventory ring 1
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1825, 615 ; Inventory ring 1
MouseClick, right, 1690, 305 ; Left Finger
MouseClick, left, 1820, 670 ; Inventory Gem 1,2
MouseClick, left, 1875, 615 ; Inventory ring 2
MouseClick, left, 1690, 305 ; Left Finger
MouseClick, left, 1875, 615 ; Inventory ring 2
Send, {i}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
}
Guest

Re: Noob needs help

03 Jan 2018, 18:41

This one.

{
SetDefaultMouseSpeed, 3
SetKeyDelay, 40, 40
SetMouseDelay, 40
CoordMode, Mouse
SetWorkingDir c:\Users\FX-8120\My Documents\My Games\Path of Exile\Screenshots
{
^h::
MouseGetPos, Xpos, Ypos
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
^q::
MouseGetPos, Xpos, Ypos
MouseClick, left, 1660, 1048 ; t
; Lightning Trap
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
MouseClick, left, VaalLightningTrapX, VaalLightningTrapY
MouseMove, Xpos, Ypos
Send, {t}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
^w::
MouseGetPos, Xpos, Ypos
MouseClick, left, 1660, 1048 ; t
; Summon Skeletons
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
MouseClick, left, VaalSummonSkeletonsX, VaalSummonSkeletonsY
MouseMove, Xpos, Ypos
Send, {t}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
Numpad1::
MouseGetPos, Xpos, Ypos
Send, {i}
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1825, 615 ; Inventory ring 1
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1690, 305 ; Left Finger
MouseClick, left, 1875, 615 ; Inventory ring 2
MouseClick, left, 1690, 305 ; Left Finger
MouseClick, left, 1880, 670 ; Inventory Gem 1,1
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1820, 670 ; Inventory Gem 1,2
MouseClick, left, 1690, 305 ; Left Finger
Send, {i}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
{
ImageSearch, PurityOfLightningX, PurityOfLightningY, 1412, 480, 1604, 933, *10 PurityOfLightningR5.png
{
if ErrorLevel = 1
ImageSearch, PurityOfLightningX, PurityOfLightningY, 1412, 480, 1604, 933, *10 PurityOfLightningM4.png
}
if ErrorLevel = 0
{
MouseClick, left, PurityOfLightningX, PurityOfLightningY
Send, {t}
MouseClick, left, 1660, 1048 ; t
}
if ErrorLevel = 1
MsgBox PurityOfLightning could not be found on the screen.
}
Sleep,900
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
{
ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsL4.png
{
if ErrorLevel = 1
ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsM3.png
{
if ErrorLevel = 1
MsgBox PurityOfElements could not be found on the screen. ; <----This line
}
}
if ErrorLevel = 0
{
MouseClick, left, PurityOfElementsX, PurityOfElementsY
Send, {t}
MouseClick, left, 1660, 1048 ; t
}
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
Numpad0 & Numpad1::
MouseGetPos, Xpos, Ypos
Send, {i}
MouseClick, right, 1485, 305 ; Right Finger
MouseClick, left, 1880, 670 ; Inventory Gem 1,1
MouseClick, left, 1825, 615 ; Inventory ring 1
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1825, 615 ; Inventory ring 1
MouseClick, right, 1690, 305 ; Left Finger
MouseClick, left, 1820, 670 ; Inventory Gem 1,2
MouseClick, left, 1875, 615 ; Inventory ring 2
MouseClick, left, 1690, 305 ; Left Finger
MouseClick, left, 1875, 615 ; Inventory ring 2
Send, {i}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
}
BoBo
Posts: 2688
Joined: 13 May 2014, 17:15

Re: Noob needs help

03 Jan 2018, 18:48

If you won't use [/color]-tags within your postings any indentation gets ignored by the forum (software).
Guest

Re: Noob needs help

03 Jan 2018, 18:55

Both my anterior posts are the same and indented, the indentation isn´t showing, not sure why. I used Tab for indentation. {
SetDefaultMouseSpeed, 3
SetKeyDelay, 40, 40
SetMouseDelay, 40
CoordMode, Mouse
SetWorkingDir c:\Users\FX-8120\My Documents\My Games\Path of Exile\Screenshots
{
^h::
MouseGetPos, Xpos, Ypos
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
^q::
MouseGetPos, Xpos, Ypos
MouseClick, left, 1660, 1048 ; t
; Lightning Trap
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
MouseClick, left, VaalLightningTrapX, VaalLightningTrapY
MouseMove, Xpos, Ypos
Send, {t}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
^w::
MouseGetPos, Xpos, Ypos
MouseClick, left, 1660, 1048 ; t
; Summon Skeletons
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
MouseClick, left, VaalSummonSkeletonsX, VaalSummonSkeletonsY
MouseMove, Xpos, Ypos
Send, {t}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
Numpad1::
MouseGetPos, Xpos, Ypos
Send, {i}
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1825, 615 ; Inventory ring 1
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1690, 305 ; Left Finger
MouseClick, left, 1875, 615 ; Inventory ring 2
MouseClick, left, 1690, 305 ; Left Finger
MouseClick, left, 1880, 670 ; Inventory Gem 1,1
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1820, 670 ; Inventory Gem 1,2
MouseClick, left, 1690, 305 ; Left Finger
Send, {i}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
{
ImageSearch, PurityOfLightningX, PurityOfLightningY, 1412, 480, 1604, 933, *10 PurityOfLightningR5.png
{
if ErrorLevel = 1
ImageSearch, PurityOfLightningX, PurityOfLightningY, 1412, 480, 1604, 933, *10 PurityOfLightningM4.png
}
if ErrorLevel = 0
{
MouseClick, left, PurityOfLightningX, PurityOfLightningY
Send, {t}
MouseClick, left, 1660, 1048 ; t
}
if ErrorLevel = 1
MsgBox PurityOfLightning could not be found on the screen.
}
Sleep,900
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
{
ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsL4.png
{
if ErrorLevel = 1
ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsM3.png
{
if ErrorLevel = 1
MsgBox PurityOfElements could not be found on the screen. ; <----This line
}
}
if ErrorLevel = 0
{
MouseClick, left, PurityOfElementsX, PurityOfElementsY
Send, {t}
MouseClick, left, 1660, 1048 ; t
}
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
{
Numpad0 & Numpad1::
MouseGetPos, Xpos, Ypos
Send, {i}
MouseClick, right, 1485, 305 ; Right Finger
MouseClick, left, 1880, 670 ; Inventory Gem 1,1
MouseClick, left, 1825, 615 ; Inventory ring 1
MouseClick, left, 1485, 305 ; Right Finger
MouseClick, left, 1825, 615 ; Inventory ring 1
MouseClick, right, 1690, 305 ; Left Finger
MouseClick, left, 1820, 670 ; Inventory Gem 1,2
MouseClick, left, 1875, 615 ; Inventory ring 2
MouseClick, left, 1690, 305 ; Left Finger
MouseClick, left, 1875, 615 ; Inventory ring 2
Send, {i}
MouseClick, left, 1660, 1048 ; t
{
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
{
if ErrorLevel = 1
ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
}
if ErrorLevel = 1
MsgBox Feet could not be found on the screen.
}
{
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
{
if ErrorLevel = 1
ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
}
}
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalLightningTrap could not be found on the screen.
}
{
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
{
if ErrorLevel = 1
ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
}
}
}
}
}
if ErrorLevel = 1
MsgBox VaalSummonSkeletons could not be found on the screen.
}
MouseClick, left, FeetX, FeetY
MouseMove, Xpos, Ypos
Return
}
} I hope that is how its done.
Guest

Re: Noob needs help  Topic is solved

03 Jan 2018, 19:05

Should the conde go between

Code: Select all

 and 
? I´m gonna try like this, this time.
I hope moderators could edit my noobings please. :offtopic:

Code: Select all

{
SetDefaultMouseSpeed, 3
SetKeyDelay, 40, 40
SetMouseDelay, 40
CoordMode, Mouse
SetWorkingDir c:\Users\FX-8120\My Documents\My Games\Path of Exile\Screenshots
	{
	^h::
	MouseGetPos, Xpos, Ypos
	MouseClick, left, 1660, 1048 ; t
	{
	ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
			{
			if ErrorLevel = 1
			ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
			}
	if ErrorLevel = 1
    	MsgBox Feet could not be found on the screen.
	}
	{
	ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
		{
		if ErrorLevel = 1
		ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
			{
			if ErrorLevel = 1
			ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
				{
				if ErrorLevel = 1
				ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
					{
					if ErrorLevel = 1
					ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
						{
						if ErrorLevel = 1
						ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
							{
							if ErrorLevel = 1
							ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
								{
								if ErrorLevel = 1
								ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
									{
									if ErrorLevel = 1
									ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
									}
								}
							}
						}
					}
				}
			}
		}
	if ErrorLevel = 1
	MsgBox VaalLightningTrap could not be found on the screen.
	}
	{
	ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
		{
		if ErrorLevel = 1
		ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
			{
			if ErrorLevel = 1
			ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
				{
				if ErrorLevel = 1
				ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
					{
					if ErrorLevel = 1
					ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
						{
						if ErrorLevel = 1
						ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
						}
					}
				}
			}
		}
	if ErrorLevel = 1
	MsgBox VaalSummonSkeletons could not be found on the screen.
	}
	MouseClick, left, FeetX, FeetY
	MouseMove, Xpos, Ypos
	Return
	}
	{
	^q::
	MouseGetPos, Xpos, Ypos
	MouseClick, left, 1660, 1048 ; t
	; Lightning Trap
	{
	ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
		{
		if ErrorLevel = 1
    		ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
			{
			if ErrorLevel = 1
			ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
				{
				if ErrorLevel = 1
				ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
					{
					if ErrorLevel = 1
					ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
						{
						if ErrorLevel = 1
						ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
							{
							if ErrorLevel = 1
							ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
								{
								if ErrorLevel = 1
								ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
								}
							}
						}
					}
				}
			}
		}
		if ErrorLevel = 1
		MsgBox VaalLightningTrap could not be found on the screen.
	}
	MouseClick, left, VaalLightningTrapX, VaalLightningTrapY
	MouseMove, Xpos, Ypos
	Send, {t}
	MouseClick, left, 1660, 1048 ; t
	{
	ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
		{
		if ErrorLevel = 1
		ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
		}
	if ErrorLevel = 1
	MsgBox Feet could not be found on the screen.
	}
	MouseClick, left, FeetX, FeetY
	MouseMove, Xpos, Ypos
	Return
	}
	{
	^w::
	MouseGetPos, Xpos, Ypos
	MouseClick, left, 1660, 1048 ; t
	; Summon Skeletons
	{
	ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
		{
		if ErrorLevel = 1
		ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
			{
			if ErrorLevel = 1
			ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
				{
				if ErrorLevel = 1
				ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
					{
					if ErrorLevel = 1
					ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
						{
						if ErrorLevel = 1
						ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
						}
					}
				}
			}
		}
	if ErrorLevel = 1
	MsgBox VaalSummonSkeletons could not be found on the screen.
	}
	MouseClick, left, VaalSummonSkeletonsX, VaalSummonSkeletonsY
	MouseMove, Xpos, Ypos
	Send, {t}
	MouseClick, left, 1660, 1048 ; t
	{
	ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
		{
		if ErrorLevel = 1
		ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
		}
	if ErrorLevel = 1
	MsgBox Feet could not be found on the screen.
	}
	MouseClick, left, FeetX, FeetY
	MouseMove, Xpos, Ypos
	Return
	}
	{
	Numpad1::
	MouseGetPos, Xpos, Ypos
	Send, {i}
	MouseClick, left, 1485, 305 ; Right Finger
	MouseClick, left, 1825, 615 ; Inventory ring 1
	MouseClick, left, 1485, 305 ; Right Finger
	MouseClick, left, 1690, 305 ; Left Finger
	MouseClick, left, 1875, 615 ; Inventory ring 2
	MouseClick, left, 1690, 305 ; Left Finger
	MouseClick, left, 1880, 670 ; Inventory Gem 1,1
	MouseClick, left, 1485, 305 ; Right Finger
	MouseClick, left, 1820, 670 ; Inventory Gem 1,2
	MouseClick, left, 1690, 305 ; Left Finger
	Send, {i}
	MouseClick, left, 1660, 1048 ; t
	{
	ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
		{
		if ErrorLevel = 1
		ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
		}
	if ErrorLevel = 1
	MsgBox Feet could not be found on the screen.
	}
	{
	ImageSearch, PurityOfLightningX, PurityOfLightningY, 1412, 480, 1604, 933, *10 PurityOfLightningR5.png
		{
		if ErrorLevel = 1
		ImageSearch, PurityOfLightningX, PurityOfLightningY, 1412, 480, 1604, 933, *10 PurityOfLightningM4.png
		}
	if ErrorLevel = 0
	{
	MouseClick, left, PurityOfLightningX, PurityOfLightningY
	Send, {t}
	MouseClick, left, 1660, 1048 ; t
	}
	if ErrorLevel = 1
	MsgBox PurityOfLightning could not be found on the screen.
	}
	Sleep,900
	{
	ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
		{
		if ErrorLevel = 1
		ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
			{
			if ErrorLevel = 1
			ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
				{
				if ErrorLevel = 1
				ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
					{
					if ErrorLevel = 1
					ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
						{
						if ErrorLevel = 1
						ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
							{
							if ErrorLevel = 1
							ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
								{
								if ErrorLevel = 1
								ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
								}
							}
						}
					}
				}
			}
		}
	if ErrorLevel = 1
	MsgBox VaalLightningTrap could not be found on the screen.
	}
	{
	ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
		{
		if ErrorLevel = 1
		ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
			{
			if ErrorLevel = 1
			ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
				{
				if ErrorLevel = 1
				ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
					{
					if ErrorLevel = 1
					ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
						{
						if ErrorLevel = 1
						ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
						}
					}
				}
			}
		}
	if ErrorLevel = 1
	MsgBox VaalSummonSkeletons could not be found on the screen.
	}
	{
	ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsL4.png
		{
		if ErrorLevel = 1
		ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsM3.png
			{
			if ErrorLevel = 1
    			MsgBox PurityOfElements could not be found on the screen. ; <----This line
			}
		}
	if ErrorLevel = 0
		{
		MouseClick, left, PurityOfElementsX, PurityOfElementsY
		Send, {t}
		MouseClick, left, 1660, 1048 ; t
		}
	}
	MouseClick, left, FeetX, FeetY
	MouseMove, Xpos, Ypos
	Return
	}
	{
	Numpad0 & Numpad1::
	MouseGetPos, Xpos, Ypos
	Send, {i}
	MouseClick, right, 1485, 305 ; Right Finger
	MouseClick, left, 1880, 670 ; Inventory Gem 1,1
	MouseClick, left, 1825, 615 ; Inventory ring 1
	MouseClick, left, 1485, 305 ; Right Finger
	MouseClick, left, 1825, 615 ; Inventory ring 1
	MouseClick, right, 1690, 305 ; Left Finger
	MouseClick, left, 1820, 670 ; Inventory Gem 1,2
	MouseClick, left, 1875, 615 ; Inventory ring 2
	MouseClick, left, 1690, 305 ; Left Finger
	MouseClick, left, 1875, 615 ; Inventory ring 2
	Send, {i}
	MouseClick, left, 1660, 1048 ; t
	{
	ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
		{
		if ErrorLevel = 1
		ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
		}
	if ErrorLevel = 1
	MsgBox Feet could not be found on the screen.
	}
	{
	ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
		{
		if ErrorLevel = 1
    		ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
			{
			if ErrorLevel = 1
			ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
				{
				if ErrorLevel = 1
				ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
					{
					if ErrorLevel = 1
					ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
						{
						if ErrorLevel = 1
						ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
							{
							if ErrorLevel = 1
							ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
								{
								if ErrorLevel = 1
								ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
								}
							}
						}
					}
				}
			}
		}
	if ErrorLevel = 1
	MsgBox VaalLightningTrap could not be found on the screen.
	}
	{
	ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
		{
		if ErrorLevel = 1
		ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
			{
			if ErrorLevel = 1
			ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
				{
				if ErrorLevel = 1
				ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
					{
					if ErrorLevel = 1
					ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
						{
						if ErrorLevel = 1
						ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
						}
					}
				}
			}
	}
	if ErrorLevel = 1
	MsgBox VaalSummonSkeletons could not be found on the screen.
	}
	MouseClick, left, FeetX, FeetY
	MouseMove, Xpos, Ypos
	Return
	}
}
One of them should work :mrgreen:
Guest

Re: Noob needs help

04 Jan 2018, 09:32

Hi,
I found the error myself, and it was not coding related.
It was a typo in the last filename before the line that would not display.
I also removed A lot of useless brackets and made a few other changes for playability.
Here´s what I will be posting to the players:

Code: Select all

{
SetDefaultMouseSpeed, 1
SetKeyDelay, 40, 40
SetMouseDelay, 40
CoordMode, Mouse
SetWorkingDir c:\Users\FX-8120\My Documents\My Games\Path of Exile\Screenshots
	{
	^h::
	MouseGetPos, Xpos, Ypos
	MouseClick, left, 1660, 1048 ; t
	ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
			if ErrorLevel = 1
			ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
	if ErrorLevel = 1
    	MsgBox Feet could not be found on the screen.
	ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
		if ErrorLevel = 1
		ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
			if ErrorLevel = 1
			ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
				if ErrorLevel = 1
				ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
					if ErrorLevel = 1
					ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
						if ErrorLevel = 1
						ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
							if ErrorLevel = 1
							ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
								if ErrorLevel = 1
								ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
									if ErrorLevel = 1
									ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
	if ErrorLevel = 1
	MsgBox VaalLightningTrap could not be found on the screen.
	ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
		if ErrorLevel = 1
		ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
			if ErrorLevel = 1
			ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
				if ErrorLevel = 1
				ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
					if ErrorLevel = 1
					ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
						if ErrorLevel = 1
						ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
	if ErrorLevel = 1
	MsgBox VaalSummonSkeletons could not be found on the screen.
	MouseClick, left, FeetX, FeetY
	MouseMove, Xpos, Ypos
	Return
	}
	{
	^q::
	MouseGetPos, Xpos, Ypos
	MouseClick, left, 1660, 1048 ; t
	ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
		if ErrorLevel = 1
    		ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
			if ErrorLevel = 1
			ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
				if ErrorLevel = 1
				ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
					if ErrorLevel = 1
					ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
						if ErrorLevel = 1
						ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
							if ErrorLevel = 1
							ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
								if ErrorLevel = 1
								ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
		if ErrorLevel = 1
		MsgBox VaalLightningTrap could not be found on the screen.
	MouseClick, left, VaalLightningTrapX, VaalLightningTrapY
	MouseMove, Xpos, Ypos
	Send, {t}
	MouseClick, left, 1660, 1048 ; t
	ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
		if ErrorLevel = 1
		ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
	if ErrorLevel = 1
	MsgBox Feet could not be found on the screen.
	MouseClick, left, FeetX, FeetY
	MouseMove, Xpos, Ypos
	Return
	}
	{
	^w::
	MouseGetPos, Xpos, Ypos
	MouseClick, left, 1660, 1048 ; t
	ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
		if ErrorLevel = 1
		ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
			if ErrorLevel = 1
			ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
				if ErrorLevel = 1
				ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
					if ErrorLevel = 1
					ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
						if ErrorLevel = 1
						ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
	if ErrorLevel = 1
	MsgBox VaalSummonSkeletons could not be found on the screen.
	MouseClick, left, VaalSummonSkeletonsX, VaalSummonSkeletonsY
	MouseMove, Xpos, Ypos
	Send, {t}
	MouseClick, left, 1660, 1048 ; t
	ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
		if ErrorLevel = 1
		ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
	if ErrorLevel = 1
	MsgBox Feet could not be found on the screen.
	MouseClick, left, FeetX, FeetY
	MouseMove, Xpos, Ypos
	Return
	}
	{
	Numpad1::
	MouseGetPos, Xpos, Ypos
	Send, {i}
	MouseClick, left, 1485, 305 ; Right Finger
	MouseClick, left, 1825, 615 ; Inventory ring 1
	MouseClick, left, 1485, 305 ; Right Finger
	MouseClick, left, 1690, 305 ; Left Finger
	MouseClick, left, 1875, 615 ; Inventory ring 2
	MouseClick, left, 1690, 305 ; Left Finger
	MouseClick, left, 1880, 670 ; Inventory Gem 1,1
	MouseClick, left, 1485, 305 ; Right Finger
	MouseClick, left, 1820, 670 ; Inventory Gem 1,2
	MouseClick, left, 1690, 305 ; Left Finger
	Send, {i}
	MouseClick, left, 1660, 1048 ; t
	ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
		if ErrorLevel = 1
		ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
	if ErrorLevel = 1
	MsgBox Feet could not be found on the screen.
	ImageSearch, PurityOfLightningX, PurityOfLightningY, 1412, 480, 1604, 933, *10 PurityOfLightningR5.png
		if ErrorLevel = 1
		ImageSearch, PurityOfLightningX, PurityOfLightningY, 1412, 480, 1604, 933, *10 PurityOfLightningM4.png
			if ErrorLevel = 1
			MsgBox PurityOfLightning could not be found on the screen.
	if ErrorLevel = 0
		{
		MouseClick, left, PurityOfLightningX, PurityOfLightningY
		Send, {t}
		MouseClick, left, 1660, 1048 ; t
		}
	Sleep, 900
	ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
		if ErrorLevel = 1
		ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
			if ErrorLevel = 1
			ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
				if ErrorLevel = 1
				ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
					if ErrorLevel = 1
					ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
						if ErrorLevel = 1
						ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
							if ErrorLevel = 1
							ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
								if ErrorLevel = 1
								ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
	if ErrorLevel = 1
	MsgBox VaalLightningTrap could not be found on the screen.
	ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
		if ErrorLevel = 1
		ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
			if ErrorLevel = 1
			ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
				if ErrorLevel = 1
				ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
					if ErrorLevel = 1
					ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
						if ErrorLevel = 1
						ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
	if ErrorLevel = 1
	MsgBox VaalSummonSkeletons could not be found on the screen.
	ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsL4.png
		if ErrorLevel = 1
		ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsM3.png	
			if ErrorLevel = 1
			ImageSearch, PurityOfElementsX, PurityOfElementsY, 1412, 480, 1604, 933, *10 PurityOfElementsR4.png	
				if ErrorLevel = 1
    				MsgBox PurityOfElements could not be found on the screen.
		if ErrorLevel = 0
			{
			MouseClick, left, PurityOfElementsX, PurityOfElementsY
			Send, {t}
			MouseClick, left, 1660, 1048 ; t
			}
	MouseClick, left, FeetX, FeetY
	MouseMove, Xpos, Ypos
	Return
	}
	{
	Numpad0 & Numpad1::
	MouseGetPos, Xpos, Ypos
	Send, {i}
	MouseClick, right, 1485, 305 ; Right Finger
	MouseClick, left, 1880, 670 ; Inventory Gem 1,1
	MouseClick, left, 1825, 615 ; Inventory ring 1
	MouseClick, left, 1485, 305 ; Right Finger
	MouseClick, left, 1825, 615 ; Inventory ring 1
	MouseClick, right, 1690, 305 ; Left Finger
	MouseClick, left, 1820, 670 ; Inventory Gem 1,2
	MouseClick, left, 1875, 615 ; Inventory ring 2
	MouseClick, left, 1690, 305 ; Left Finger
	MouseClick, left, 1875, 615 ; Inventory ring 2
	Send, {i}
	MouseClick, left, 1660, 1048 ; t
	ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetR2.png
		if ErrorLevel = 1
		ImageSearch, FeetX, FeetY, 1412, 480, 1604, 933, *100 FeetL1.png
	if ErrorLevel = 1
	MsgBox Feet could not be found on the screen.
	ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrap.png
		if ErrorLevel = 1
    		ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL6.png
			if ErrorLevel = 1
			ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR5.png
				if ErrorLevel = 1
				ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR6.png
					if ErrorLevel = 1
					ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL4.png
						if ErrorLevel = 1
						ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL3.png
							if ErrorLevel = 1
							ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapL2.png
								if ErrorLevel = 1
								ImageSearch, VaalLightningTrapX, VaalLightningTrapY, 1412, 480, 1604, 933, *10 VaalLightningTrapR4.png
	if ErrorLevel = 1
	MsgBox VaalLightningTrap could not be found on the screen.
	ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletons.png
		if ErrorLevel = 1
		ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsR4.png
			if ErrorLevel = 1
			ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsm5.png
				if ErrorLevel = 1
				ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsM6.png
					if ErrorLevel = 1
					ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL3.png
						if ErrorLevel = 1
						ImageSearch, VaalSummonSkeletonsX, VaalSummonSkeletonsY, 1412, 480, 1604, 933, *10 VaalSummonSkeletonsL2.png
	if ErrorLevel = 1
	MsgBox VaalSummonSkeletons could not be found on the screen.
	MouseClick, left, FeetX, FeetY
	MouseMove, Xpos, Ypos
	Return
	}
}
Thanks for the attention and tips and SS!

Return to “Gaming”

Who is online

Users browsing this forum: Auothokeysnoob, konafa100, Ugropuz and 25 guests