;==========================================자동반복============================================
여기부터시작: ; 자동반복
gui, submit, nohide
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 탐험준비 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
waitImageClick("\Image\탐험준비.bmp")
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 자동스킬확인중 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 2000
Gui, Submit, Nohide
sleep,3000
if D=1 ;자동스킬 체크됐다면 확인
{
sleep, 1000
if(imageSearchClick("\Image\탐험공격스킬.bmp"))
{
sleep, 200
}
else
{
sleep,500
}
}
if D=0
{
sleep, 100
}
Gui, Submit, Nohide
if E=1 ;자동스킬 체크됐다면 확인
{
;sleep, 1000
if(imageSearchClick("\Image\탐험방어스킬.bmp"))
{
;sendClick2(434,148)
sleep, 200
}
else
{
sleep,500
}
}
if E=0
{
sleep,100
}
Gui, Submit, Nohide
if F=1 ;자동스킬 체크됐다면 확인
{
;sleep, 1000
if(imageSearchClick("\Image\탐험체력스킬.bmp"))
{
sleep, 200
}
else
{
sleep,500
}
}
if F=0
{
sleep, 100
}
Gui, Submit, Nohide
if G=1 ;자동스킬 체크됐다면 확인
{
;sleep, 1000
if(imageSearchClick("\Image\탐험자동스킬.bmp"))
{
sleep, 200
}
else
{
sleep,500
}
}
if G=0
{
sleep, 100
}
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 탐험시작대기 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 연속탐험시작 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
waitImage("\Image\연속탐험.bmp")
waitImageClick("\Image\연속탐험.bmp")
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 연속탐험확인 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 연속탐험중 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
waitImage("\Image\연속탐험끝.bmp")
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 연속탐험종료 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
연속탐험++
Guicontrol,,연속탐험,연속탐험 : %연속탐험%회
waitImageClick("\Image\연속탐험끝확인.bmp")
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 행동물약사용 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
행동물약++
Guicontrol,,행동물약,행동물약 : %행동물약%회
sleep, 1500
sendClick2( 300, 45)
waitImageClick("\Image\행동물약사용.bmp")
sleep, 1000
sendClick2(500,370)
sleep, 1000
imageSearcher(x,y, "\Image\탐험뒤로.bmp")=1
sendClick(x,y)
sleep,1000
if(imageSearcher(x,y, "\Image\업적.bmp")=1)
{
업적발생++
Guicontrol,,업적발생,업적발생 : %업적발생%회
sleep, 500
imageSearcher(x,y, "\Image\업적닫기.bmp")=1
sleep, 500
sendClick(x,y)
sleep, 200
}
else
{
sleep, 500
}
sleep, 1000
if(imageSearcher(x,y, "\Image\업적.bmp")=1)
{
업적발생++
Guicontrol,,업적발생,업적발생 : %업적발생%회
sleep, 500
imageSearcher(x,y, "\Image\업적닫기.bmp")=1
sleep, 500
sendClick(x,y)
sleep, 200
}
else
{
sleep, 500
}
sleep,1000
if(imageSearcher(x,y, "\Image\업적.bmp")=1)
{
업적발생++
Guicontrol,,업적발생,업적발생 : %업적발생%회
sleep, 500
imageSearcher(x,y, "\Image\업적닫기.bmp")=1
sleep, 500
sendClick(x,y)
sleep, 200
}
else
{
sleep, 500
}
sleep,1000
if(imageSearcher(x,y, "\Image\업적.bmp")=1)
{
업적발생++
Guicontrol,,업적발생,업적발생 : %업적발생%회
sleep, 500
imageSearcher(x,y, "\Image\업적닫기.bmp")=1
sleep, 500
sendClick(x,y)
sleep, 200
}
else
{
sleep, 500
}
sleep, 1000
if(imageSearcher(x,y, "\Image\레이드발견.bmp")=1)
{
sleep, 500
imageSearcher(x,y, "\Image\레이드닫기.bmp")=1
sleep, 500
sendClick(x,y)
}
else
{
sleep, 200
}
sleep, 700
imageSearcher(x,y, "\Image\탐험뒤로.bmp")=1
sendClick(x,y)
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 탐험종료 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 500
IniWrite,%업적발생%, option.ini, LOG 기록,업적발생
IniWrite,%통신실패%, option.ini, LOG 기록,통신실패
IniWrite,%결투패배%, option.ini, LOG 기록,결투패배
IniWrite,%결투승리%, option.ini, LOG 기록,결투승리
IniWrite,%행동물약%, option.ini, LOG 기록,행동물약
IniWrite,%연속탐험%, option.ini, LOG 기록,연속탐험
IniWrite,%레이드성공%, option.ini, LOG 기록,레이드성공
IniWrite,%레이드실패%, option.ini, LOG 기록,레이드실패
IniWrite,%길드전승리%, option.ini, LOG 기록,길드전승리
IniWrite,%길드전패배%, option.ini, LOG 기록,길드전패배
IniWrite,%재시작발생%, option.ini, LOG 기록,재시작발생
IniWrite,%요일레이드%, option.ini, LOG 기록,요일레이드
IniWrite,%보상획득%, option.ini, LOG 기록,보상획득
sleep, 500
goto, 레이드입장
return
매크로 쓰면 정지먹나요?