
Untitled
By: a guest on
May 12th, 2012 | syntax:
None | size: 1.60 KB | hits: 36 | expires: Never
#include <ImageSearch.au3>
Global $Paused
MsgBox(0,"Bot starts in two seconds.","Set metallurgy for F1, location:Down the waterfall. Two blessed pans each slot.")
sleep(2000)
While 1
MouseClickDrag ("Right",246, 503,350, 503)
SLeep(2000)
Send("{ALTDOWN}")
$x1=0
$y1=0
SLeep(300)
$result = _ImageSearch("silver.BMP",1,$x1,$y1,75)
if $result=1 Then
$x3=0
$y3=0
Send("{ALTUP}")
SLeep(1000)
Send("{F1}")
Sleep(3000)
MouseClick("left",$x1,$y1+30,3)
Sleep(15000)
EndIf
$x2=0
$y2=0
Send("{ALTDOWN}")
SLeep(1000)
$result2 = _ImageSearch("ore.bmp",1,$x2,$y2,80)
If $result2=1 Then
SLeep(1000)
MouseClick("left",$x2,$y2)
SLeep(2000)
EndIf
$result8 = _ImageSearch("ore.bmp",1,$x2,$y2,80)
If $result8=1 Then
SLeep(1000)
MouseClick("left",$x2,$y2)
SLeep(2000)
EndIf
$result9 = _ImageSearch("ore.bmp",1,$x2,$y2,80)
If $result8=1 Then
SLeep(1000)
MouseClick("left",$x2,$y2)
SLeep(2000)
EndIf
$result3 = _ImageSearch("diamond.jpg",1,$x2,$y2,80)
If $result3=1 Then
SLeep(1000)
MouseClick("left",$x2,$y2)
SLeep(1000)
SLeep(300)
EndIf
$result4 = _ImageSearch("emerald.jpg",1,$x2,$y2,80)
If $result4=1 Then
SLeep(1000)
MouseClick("left",$x2,$y2)
SLeep(2000)
EndIf
$result5 = _ImageSearch("spinel.jpg",1,$x2,$y2,80)
If $result5=1 Then
SLeep(1000)
MouseClick("left",$x2,$y2)
SLeep(2000)
EndIf
$result6 = _ImageSearch("topaz.jpg",1,$x2,$y2,80)
If $result6=1 Then
SLeep(1000)
MouseClick("left",$x2,$y2)
SLeep(2000)
EndIf
$result7 = _ImageSearch("garnet.bmp",1,$x2,$y2,80)
If $result7=1 Then
SLeep(1000)
MouseClick("left",$x2,$y2)
SLeep(2000)
EndIf
WEnd