F2::Pause
Home::ExitApp
F1::
SetDefaultMouseSpeed,0
SetKeyDelay,-1
SetControlDelay,-1
SetBatchLines, -1
SetWinDelay,-1
SetMouseDelay,-1
Loop
{
gosub,a 모험입장
gosub,b 7-1
gosub,c 준비
gosub,d?????? 모험시작 -
gosub,s1? 스킬1
gosub,s2? 스킬2
gosub,s3? 스킬3
gosub,e?? 업적
gosub,f?? 레이드
}
return
a:
imagesearch, vx, vy, 0, 0, A_screenWidth, A_ScreenHeight, *50 d:\hotkey\a.png
if ErrorLevel = 0
{
vx:=vx+20
vy:=vy+20
Mouseclick, left, %vx%,%vy%,1
Sleep,3000
return
}
b:
imagesearch, vx, vy, 0, 0, A_screenWidth, A_ScreenHeight, *50 d:\hotkey\b.png
if ErrorLevel = 0
{
vx:=vx+20
vy:=vy+20
Mouseclick, left, %vx%,%vy%,1
Sleep,2000
return
}
c:
imagesearch, vx, vy, 0, 0, A_screenWidth, A_ScreenHeight, *50 d:\hotkey\c.png
if ErrorLevel = 0
{
vx:=vx+20
vy:=vy+20
Mouseclick, left, %vx%,%vy%,1
Sleep,2000
return
}
d:
imagesearch, vx, vy, 0, 0, A_screenWidth, A_ScreenHeight, *50 d:\hotkey\d.png
if ErrorLevel = 0
{
vx:=vx+20
vy:=vy+20
Mouseclick, left, %vx%,%vy%,1
Sleep,1000
}
if ErrorLevel = 1
{
imagesearch, vx, vy, 0, 0, A_screenWidth, A_ScreenHeight, *50 d:\hotkey\d-1.png
vx:=vx+20
vy:=vy+20
Mouseclick, left, %vx%,%vy%,1
sleep,1000
}
return
s1:
imagesearch, vx, vy, 0, 0, A_screenWidth, A_ScreenHeight, *50 d:\hotkey\skill1.png
if ErrorLevel = 0
{
vx:=vx+10
vy:=vy+10
Mouseclick, left, %vx%,%vy%
Sleep, 2000
return
}
?
s2:?
imagesearch, vx, vy, 0, 0, A_screenWidth, A_ScreenHeight, *50 d:\hotkey\skill2.png
if ErrorLevel = 0
{
vx:=vx+10
vy:=vy+10
Mouseclick, left, %vx%,%vy%
Sleep, 2000
return
}
s3:
imagesearch, vx, vy, 0, 0, A_screenWidth, A_ScreenHeight, *50 d:\hotkey\skill3.png
if ErrorLevel = 0
{
vx:=vx+10
vy:=vy+10
Mouseclick, left, %vx%,%vy%
Sleep, 2000
return
}
e:
imagesearch, vx, vy, 0, 0, A_screenWidth, A_ScreenHeight, *50 d:\hotkey\e.png
if ErrorLevel = 0
{
vx:=vx+20
vy:=vy+20
Mouseclick, left, %vx%,%vy%,1
}
if ErrorLevel = 1
{
imagesearch, vx, vy, 0, 0, A_screenWidth, A_ScreenHeight, *50 d:\hotkey\e-1.png
vx:=vx+20
vy:=vy+20
Mouseclick, left, %vx%,%vy%,1
Sleep,2000
}
f:
imagesearch, vx, vy, 0, 0, A_screenWidth, A_ScreenHeight, *50 d:\hotkey\e-2.png
if ErrorLevel = 0
{
Sleep,2000
send, {esc}
return
}
if ErrorLevel = 1
{
return
}
return
오늘 처음보고 만들엇는데
너무 무거운거 같애요..ㅠㅠ
1시간동안 열씸히 만들엇는데..
돌아가긴 하는데...
명령어도 뭐가 잇는지 잘몰라서 블로그 보고만들엇어여..ㅠ
수정할부분이 엄청많을거 같네요..ㅠ
부탁 드릴께요! 한수 가르쳐 주세요!!
서치범위가 너무 큽니다.......