;=====================================레이드=================================
레이드입장:
Gui, Submit, Nohide
if 레이드 = 0
{
sleep, 500
goto, 결투장
}
if 레이드 = 1 ;레이드 체크됐다면 확인
{
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 마을대기 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 2500
waitImage("\Image\마을대기.bmp")
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 레이드 입장 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep,1000
imageSearcher(x,y, "\Image\레이드.bmp")=1
sleep, 500
sendClick(x,y)
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% 레이드1차확인 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 1000
goto, 레이드입장1
return
레이드입장1:
sleep, 2500
if(imageSearcher(x,y, "\Image\레이드확인.bmp")=1)
{
sleep, 300
goto, 일반레이드
}
else
{
sleep, 300
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 레이드종료 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
imageSearcher(x,y, "\Image\레이드뒤로.bmp")=1
sleep, 1500
sendClick2(78,48)
goto, 결투장
}
return
일반레이드:
sleep, 2000
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 일반레이드입장 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
waitImage("\Image\레이드1번입장.bmp")
sleep, 1000
sendClick2( 220, 400)
sleep, 1000
goto, 레이드재공격
}
return
레이드재공격:
gui, submit, nohide
sleep, 1500
waitImage("\Image\레이드기록.bmp")
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 레이드2차확인 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 1500
sendClick2(583,425)
sleep, 1500
sendDrag30( 450, 350)
sendDrag31( 70, 350)
sendDrag32( 70, 350)
sleep, 100
sendDrag30( 450, 350)
sendDrag31( 70, 350)
sendDrag32( 70, 350)
sleep, 100
sendDrag30( 450, 350)
sendDrag31( 70, 350)
sendDrag32( 70, 350)
sleep, 100
sendDrag30( 450, 350)
sendDrag31( 70, 350)
sendDrag32( 70, 350)
sleep, 100
sendDrag30( 450, 350)
sendDrag31( 70, 350)
sendDrag32( 70, 350)
sleep, 100
sendDrag30( 450, 350)
sendDrag31( 70, 350)
sendDrag32( 70, 350)
sleep, 100
sendDrag30( 450, 350)
sendDrag31( 70, 350)
sendDrag32( 70, 350)
sleep, 100
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 일반레이드확인 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 3000
if(imageSearcher(x,y, "\Image\일반레이드.bmp")=1)
{
sleep, 1000
sendClick2(600,400)
sleep, 1000
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 자동스킬확인중 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep,1000
Gui, Submit, Nohide
sleep,3000
if R=1 ;자동스킬 체크됐다면 확인
{
sleep, 1000
if(imageSearchClick("\Image\레이드공격스킬.bmp"))
{
sleep, 200
}
else
{
sleep,500
}
}
if R=0
{
sleep, 100
}
Gui, Submit, Nohide
if S=1 ;자동스킬 체크됐다면 확인
{
;sleep, 1000
if(imageSearchClick("\Image\레이드방어스킬.bmp"))
{
sleep, 200
}
else
{
sleep,500
}
}
if S=0
{
sleep,100
}
Gui, Submit, Nohide
if T=1 ;자동스킬 체크됐다면 확인
{
;sleep, 1000
if(imageSearchClick("\Image\레이드체력스킬.bmp"))
{
sleep, 200
}
else
{
sleep,500
}
}
if T=0
{
sleep, 100
}
Gui, Submit, Nohide
if U=1 ;자동스킬 체크됐다면 확인
{
;sleep, 1000
if(imageSearchClick("\Image\레이드자동스킬.bmp"))
{
;sendClick2(570,143)
sleep, 200
}
else
{
sleep,500
}
}
if U=0
{
sleep, 100
}
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 레이드시작 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
waitImage("\Image\레이드시작1.bmp")
waitImageClick("\Image\레이드시작1.bmp")
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 레이드전투중 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 30000
if(imageSearcher(x,y, "\Image\피.bmp")=1)
{
sleep, 1000
imageSearcher(x,y, "\Image\생명물약.bmp")=1
sleep, 500
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, 200
}
else
{
sleep, 200
}
sleep, 40000
if(imageSearcher(x,y, "\Image\피.bmp")=1)
{
sleep, 1000
imageSearcher(x,y, "\Image\생명물약.bmp")=1
sleep, 500
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, 200
}
else
{
sleep, 200
}
sleep, 40000
if(imageSearcher(x,y, "\Image\피.bmp")=1)
{
sleep, 1000
imageSearcher(x,y, "\Image\생명물약.bmp")=1
sleep, 500
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, 200
}
else
{
sleep, 200
}
sleep, 10000
if(imageSearcher(x,y, "\Image\피.bmp")=1)
{
sleep, 1000
imageSearcher(x,y, "\Image\생명물약.bmp")=1
sleep, 500
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, 200
}
else
{
sleep, 200
}
sleep, 30000
if(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%
레이드실패++
Guicontrol,,레이드실패,레이드실패 : %레이드실패%회
waitImageClick("\Image\대기실로.bmp")
}
else
{
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, 1000
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 업적대기 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 1000
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 업적확인 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 2000
if(imageSearcher(x,y, "\Image\업적.bmp")=1)
{
업적발생++
Guicontrol,,업적발생,업적발생 : %업적발생%회
sleep, 1000
imageSearcher(x,y, "\Image\업적닫기.bmp")=1
sleep, 500
sendClick(x,y)
sleep, 200
}
else
{
sleep, 500
}
if(imageSearcher(x,y, "\Image\업적.bmp")=1)
{
업적발생++
Guicontrol,,업적발생,업적발생 : %업적발생%회
sleep, 1000
imageSearcher(x,y, "\Image\업적닫기.bmp")=1
sleep, 500
sendClick(x,y)
sleep, 200
}
else
{
sleep, 500
}
if(imageSearcher(x,y, "\Image\업적.bmp")=1)
{
업적발생++
Guicontrol,,업적발생,업적발생 : %업적발생%회
sleep, 1000
imageSearcher(x,y, "\Image\업적닫기.bmp")=1
sleep, 500
sendClick(x,y)
sleep, 200
}
else
{
sleep, 500
}
sleep,2000
if(imageSearcher(x,y, "\Image\레이드발견.bmp")=1)
{
sleep, 1000
imageSearcher(x,y, "\Image\레이드닫기.bmp")=1
sleep, 1000
sendClick(x,y)
}
else
{
sleep, 200
}
goto, 레이드재공격
}
else
{
sleep,1000
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 레이드종료 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
imageSearcher(x,y, "\Image\레이드뒤로.bmp")=1
sleep, 1500
sendClick2(78,48)
sleep, 1500
sendClick2(78,48)
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