^Q::
loop
{imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\legend.png
?imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\legend2.png
?imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\legend3.png
?imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\legend4.png
?imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\sword.png
?imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\glove.png
if errorlevel = 0
?{gosub, 재뽑기
}
else
{gosub, 다시하기
}}
sleep 200000
return
다시하기:
{
imagesearch, x1, y1, 0, 0, 3200, 1034, *50 C:\Users\Administrator\Desktop\auto\restart.png
if(ErrorLevel = 0){
click, %x1%, %y1%
}
}
return
재뽑기:
{
imagesearch, x1, y1, 0, 0, 3200, 1034, *50 C:\Users\Administrator\Desktop\auto\re.png
if(ErrorLevel = 0){
click, %x1%, %y1%
}
}
return
--------------------------------------------------------------------------------------------------------------
이미지서치 저렇게 해놓으면 해당하는거 찾아가는지 궁금합니다..
loop
{imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\legend.png
?imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\legend2.png
?imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\legend3.png
?imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\legend4.png
?imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\sword.png
?imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\glove.png
if errorlevel = 0
?{gosub, 재뽑기
}?
이부분 그냥
loop
{ imagesearch, VX, VY, 1,1, A_ScreenWidth, A_ScreenHeight, *50 C:\Users\Administrator\Desktop\auto\glove.png
if errorlevel = 0
?{gosub, 재뽑기
}
이거한거랑 같은거 아닌가요?