;========================================요일레이드============================================
요일레이드:
Gui, Submit, Nohide
if Y = 0
{
sleep, 500
goto, 탐험
}
if Y = 1 ;레이드 체크됐다면 확인
{
sleep, 500
goto, 요일레이드1
}
return
요일레이드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
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\레이드1번입장.bmp")
sleep, 1000
sendClick2( 220, 400)
sleep, 500
goto, 요일레이드2
return
요일레이드2:
sleep, 1000
waitImage("\Image\레이드기록.bmp")
sleep, 1000
goto, 요일레이드3
return
요일레이드3:
waitImage("\Image\레이드기록.bmp")
sleep, 500
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 요일레이드체크 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 1500
sendClick2(583,425)
sleep, 1000
if(list3 = "25Lv")
{
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 요일레이드선택 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 2000
sendClick2(679,405)
sleep, 2000
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 자동스킬체크 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
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
}
goto 요일레이드4
return
요일레이드4:
sleep, 500
waitImage("\Image\레이드시작1.bmp")
sleep, 500
goto, 요일레이드5
return
요일레이드5:
sleep, 500
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, 3000
waitImageClick("\Image\레이드시작1.bmp")
sleep, 2000
if(imageSearcher(x,y, "\Image\요일레이드행동물약.bmp")=1)
{
sleep, 300
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 행동물약체크 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 300
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")
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
imageSearcher(x,y, "\Image\레이드뒤로.bmp")=1
sleep, 2000
sendClick2(78,48)
sleep, 2000
sendClick2(78,48)
sleep, 2000
sendClick2(78,48)
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%
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,,요일레이드,요일레이드 : %요일레이드%회
waitImage("\Image\대기실로.bmp")
waitImageClick("\Image\대기실로.bmp")
goto, 요일레이드2
}
else
{
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%
요일레이드++
Guicontrol,,요일레이드,요일레이드 : %요일레이드%회
goto, 요일레이드2
}
}
if(list3 = "30Lv")
{
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 요일레이드선택 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 2000
sendClick2(450,405)
sleep, 1000
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 자동스킬체크 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
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
}
goto, 요일레이드6
return
요일레이드6:
sleep, 500
waitImage("\Image\레이드시작1.bmp")
sleep, 500
goto 요일레이드7
return
요일레이드7:
sleep, 500
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, 3000
waitImageClick("\Image\레이드시작1.bmp")
sleep, 2000
if(imageSearcher(x,y, "\Image\요일레이드행동물약.bmp")=1)
{
sleep, 300
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 행동물약체크 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 300
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")
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
imageSearcher(x,y, "\Image\레이드뒤로.bmp")=1
sleep, 1500
sendClick2(78,48)
sleep, 1500
sendClick2(78,48)
sleep, 1500
sendClick2(78,48)
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%
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")
goto, 요일레이드2
}
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,,요일레이드,요일레이드 : %요일레이드%회
goto, 요일레이드2
}
}
if(list3 = "35Lv")
{
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 요일레이드선택 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 2000
sendClick2(170,405)
sleep, 1000
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 자동스킬체크 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
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
}
goto, 요일레이드8
return
요일레이드8:
sleep, 500
waitImage("\Image\레이드시작1.bmp")
sleep, 500
goto, 요일레이드9
return
요일레이드9:
sleep, 500
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, 3000
waitImageClick("\Image\레이드시작1.bmp")
sleep, 2000
if(imageSearcher(x,y, "\Image\요일레이드행동물약.bmp")=1)
{
sleep, 300
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 행동물약체크 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 300
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")
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
imageSearcher(x,y, "\Image\레이드뒤로.bmp")=1
sleep, 1500
sendClick2(78,48)
sleep, 1500
sendClick2(78,48)
sleep, 1500
sendClick2(78,48)
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%
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")
goto, 요일레이드2
}
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,,요일레이드,요일레이드 : %요일레이드%회
goto, 요일레이드2
}
}
return