;=============================================길드전======================================
길드전:
Gui, Submit, Nohide
if 길드전 = 0
{
sleep, 500
goto,요일레이드
}
if 길드전=1 ;길드전 체크됐다면 확인
{
sleep, 1000
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%
goto, 길드전확인
return
길드전확인:
sleep, 1000
if(imageSearcher(x,y, "\Image\마을길드전확인.bmp")=1)
{
sleep, 500
goto, 길드전입장
}
else
{
sleep, 500
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 길드전종료 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
goto, 요일레이드
}
return
길드전입장:
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 길드전입장 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep,2000
waitImage("\Image\길드.bmp")
sleep,2000
waitImageClick("\Image\길드.bmp")
sleep, 1000
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 길드대전입장 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep,1500
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
waitImageClick("\Image\대전준비1.bmp")
goto, 길드대전준비
return
길드대전준비:
gui, submit, nohide
sleep, 3000
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)
{
sleep,1000
imageSearchClick("\Image\길드원추가닫기.bmp")
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 길드원팝업닫기 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
}
else
{
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
Gui, Submit, Nohide
sleep, 3000
if L=1 ;자동스킬 체크됐다면 확인
{
sleep, 1000
if(imageSearchClick("\Image\길드전공격스킬.bmp"))
{
sleep, 200
}
else
{
sleep, 500
}
}
if L=0
{
sleep, 500
}
Gui, Submit, Nohide
if M=1 ;자동스킬 체크됐다면 확인
{
;sleep, 1000
if(imageSearchClick("\Image\길드전방어스킬.bmp"))
{
sleep, 200
}
else
{
sleep, 500
}
}
if M=0
{
sleep, 500
}
Gui, Submit, Nohide
if N=1 ;자동스킬 체크됐다면 확인
{
;sleep, 1000
if(imageSearchClick("\Image\길드전체력스킬.bmp"))
{
sleep, 200
}
else
{
sleep, 500
}
}
if N=0
{
sleep, 500
}
goto, 열쇠확인
return
열쇠확인:
Gui, Submit, Nohide
sleep, 2000
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 업적확인 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 1500
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
}
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, 700
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 길드전보상확인 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 700
if(imageSearcher(x,y, "\Image\길드전보상.bmp")=1)
{
sendClick2( 666, 325)
sleep,500
}
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,3000
if(imageSearcher(x,y, "\Image\길드전열쇠확인.bmp")=1)
{
sleep,2000
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 길드전종료 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
sleep, 2000
waitImageClick("\Image\길드전뒤로.bmp")
sleep, 2000
waitImageClick("\Image\길드전뒤로.bmp")
sleep, 2000
waitImageClick("\Image\길드전뒤로.bmp")
sleep,2000
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, 요일레이드
}
else
{
sleep, 2000
}
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%
waitImageClick("\Image\길드전대전시작.bmp")
waitImageClick("\Image\길드전로딩.bmp")
sleep, 3000
Gui, Submit, Nohide
if(list1 = "공격력상승")
{
if(imageSearcher(x,y, "\Image\공격력상승.bmp")=1)
{
sendClick(x,y)
sleep, 1500
}
else
{
sleep, 500
}
if(imageSearcher(x,y, "\Image\공격력상승.bmp")=1)
{
sendClick(x,y)
sleep, 1500
}
else
{
sleep, 500
}
}
Gui, Submit, Nohide
if(list1 = "피해량감소")
{
if(imageSearcher(x,y, "\Image\피해량감소.bmp")=1)
{
sendClick(x,y)
sleep, 1500
}
else
{
sleep, 500
}
if(imageSearcher(x,y, "\Image\피해량감소.bmp")=1)
{
sendClick(x,y)
sleep, 1500
}
else
{
sleep, 500
}
}
Gui, Submit, Nohide
if(list1 = "치명타확률증가")
{
if(imageSearcher(x,y, "\Image\치명타확률증가.bmp")=1)
{
sendClick(x,y)
sleep, 1500
}
else
{
sleep, 1000
}
if(imageSearcher(x,y, "\Image\치명타확률증가.bmp")=1)
{
sendClick(x,y)
sleep, 1500
}
else
{
sleep, 1000
}
}
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, 2500
if(imageSearcher(x,y, "\Image\길드전승리.bmp")=1)
{
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 길드전승리 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
길드전승리++
Guicontrol,,길드전승리,길드전승리 : %길드전승리%회
sleep, 500
waitImage("\Image\길드전확인.bmp")
sleep, 500
waitImageClick("\Image\길드전확인.bmp")
sleep , 500
goto, 길드대전준비
}
else
{
sleep, 2000
imageSearcher(x,y, "\Image\길드전패배.bmp")=1
sleep, 2000
formattime , nowtime,,MM-dd HH:mm:ss
guicontrol,,notice_2, %message_2%
listMessage =%nowtime% 길드전패배 %message_2%|%listMessage%
guicontrol,,notice_list, |%listMessage%
길드전패배++
Guicontrol,,길드전패배,길드전패배 : %길드전패배%회
sleep, 500
waitImage("\Image\길드전확인.bmp")
sleep, 500
waitImageClick("\Image\길드전확인.bmp")
sleep , 500
goto, 길드대전준비
}
}
return
카카오톡 SH1517 톡좀주시면 감사하겠습니다