이번에 인터페이스에 변화가있어서 매크로를 수정해서 만들어보았습니다~
itema~k는 아이탬을 인식해서 수뽑을하는기능이고요.
아직미숙해서 itema~k아이탬을 그냥뽑기에서 먹어도 수뽑을합니다..
문제가 발견되어 수정합니다...
사용법은 모험시작과 입장을 눌러서 던젼을 도는 중에 사용하셔야됩니다...
; test
f1::
loop
{
gosub, S
}
return
A:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 start2.png
IF ErrorLevel = 0
{
?vx:=vx+50
?vy:=vy+20
?MouseClick, left, %vx%,%vy%
?sleep 2000
}
return
B:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 box.png
IF ErrorLevel = 0
{
?vx:=vx+50
?vy:=vy+50
?MouseClick, left, %vx%,%vy%
?sleep 5000
}
return
C:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 selected.png
IF ErrorLevel = 0
{
?vx:=vx+10
?vy:=vy+10
?MouseClick, left, %vx%,%vy%
?sleep 2000
}
return
D:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 re.png
IF ErrorLevel = 0
{
?vx:=vx+10
?vy:=vy+10
?MouseClick, left, %vx%,%vy%
}
return
E:
Sleep 600000
return
G:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 crystal.png
IF ErrorLevel = 0
{
?vx:=vx+10
?vy:=vy+10
?MouseClick, left, %vx%,%vy%
?sleep 2000
}
return
H:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 che.png
IF ErrorLevel = 0
{
?vx:=vx+10
?vy:=vy+10
?MouseClick, left, %vx%,%vy%
?sleep 2000
}
return
K:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 K.png
IF ErrorLevel = 0
{
?vx:=vx+10
?vy:=vy+10
?MouseClick, left, %vx%,%vy%
?sleep 2000
}
return
I:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 openbox.png
IF ErrorLevel = 0
{
?SLEEP 1000
?gosub, itema
?gosub, itemb
?gosub, itemc
?gosub, itemd
?gosub, itemg
?gosub, itemh
?gosub, itemi
?gosub, itemj
?gosub, itemk
?gosub, C
}
IF ErrorLevel = 1
{
?Sleep 10000
}
return
J:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 start.png
IF ErrorLevel = 0
{
?vx:=vx+100
?vy:=vy+50
?MouseClick, left, %vx%,%vy%
?sleep 2000
}
return
S:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 S.png
IF ErrorLevel = 0
{
?gosub, E
?gosub, K
?gosub, J
?gosub, A
?gosub, I
?gosub, D
}
IF ErrorLevel = 1
{
?gosub, I
?gosub, D
}
return
itema:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *80 itema.png
IF ErrorLevel = 0
{
?gosub, G
?gosub, B
?goto, H
}
IF ErrorLevel = 1
{
?sleep 1000
}
return
itemb:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *80 itemb.png
IF ErrorLevel = 0
{
?gosub, G
?gosub, B
?goto, H
}
IF ErrorLevel = 1
{
?sleep 1000
}
return
itemc:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 itemc.png
IF ErrorLevel = 0
{
?gosub, G
?gosub, B
?goto, H
}
IF ErrorLevel = 1
{
?sleep 1000
}
return
itemd:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 itemd.png
IF ErrorLevel = 0
{
?gosub, G
?gosub, B
?goto, H
}
IF ErrorLevel = 1
{
?sleep 1000
}
return
iteme:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 iteme.png
IF ErrorLevel = 0
{
?gosub, G
?gosub, B
?goto, H
}
IF ErrorLevel = 1
{
?sleep 1000
}
return
itemf:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 itemf.png
IF ErrorLevel = 0
{
?gosub, G
?gosub, B
?goto, H
}
IF ErrorLevel = 1
{
?sleep 1000
}
return
itemg:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *80 itemg.png
IF ErrorLevel = 0
{
?gosub, G
?gosub, B
?goto, H
}
IF ErrorLevel = 1
{
?sleep 1000
}
return
itemh:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *80 itemh.png
IF ErrorLevel = 0
{
?gosub, G
?gosub, B
?goto, H
}
IF ErrorLevel = 1
{
?sleep 1000
}
return
itemi:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 itemi.png
IF ErrorLevel = 0
{
?gosub, G
?gosub, B
?goto, H
}
IF ErrorLevel = 1
{
?sleep 1000
}
return
itemj:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *50 itemj.png
IF ErrorLevel = 0
{
?gosub, G
?gosub, B
?goto, H
}
IF ErrorLevel = 1
{
?sleep 1000
}
return
itemk:
ImageSearch,vx,vy, 0,0, A_ScreenWidth, A_ScreenHeight, *80 itemk.png
IF ErrorLevel = 0
{
?gosub, G
?gosub, B
?goto, H
}
IF ErrorLevel = 1
{
?sleep 1000
}
return
f4::
exit=1
count=0
Reload
이미지파일
start2
box
selected
re
crystal
che
k
openbox
start
s
이미지파일은 800x480에서찍은거니 다른해상도에 하실려면 바꾸셔야됩니다
어떻게 사용하는건가요???