?
테일스타 가입후 강좌도 보고 질문도 하면서 사진처럼 메크로 만들고 있는데요
기본틀은 만들었는데 작동 안하는게 많네요?
설정저장도 그렇고... 좀더 공부해야하겠어요
?본론은 레이븐 메크로 만들어 테스트 하고 있는데요
너무 복잡하게 만들고 있는거 같기도 하고
이상하게 처음 몇판하고 나면 멈추더라고요
게임로딩이 길어지면 이미지를 못찾고 넘어가 버려서?Sleep을 많이 넣었는데도?멈추는거 같고
loop로 하려니 업적같은 이벤트 발생일때는 어떻게 해야하는지 도통모르겠네요
아래에 탐험소스 만들어둔거 올리니 고수님들 보시고 방향좀 잡아주세요 ㅜㅜ
?
-------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------
?? 탐험:
??? loop
??? {
???? formattime , nowtime,,MM-dd HH:mm:ss
???? guicontrol,,notice_2, %message_2%
???? listMessage =%nowtime% 탐험선택중 %message_2%|%listMessage%
???? guicontrol,,notice_list, |%listMessage%?
???? Sleep, 5000
???? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\탐험.bmp
???? if errorlevel = 0
???? {
???? MouseMove,%GetX%,%GetY%
???? Sleep, 5000
???? MouseClick, left
???? Sleep, 2000
???? break
???? }
??? }
탐험지역:
? LOOP
??? {
???? formattime , nowtime,,MM-dd HH:mm:ss
???? guicontrol,,notice_2, %message_2%
???? listMessage =%nowtime% 지역확인중 %message_2%|%listMessage%
???? guicontrol,,notice_list, |%listMessage%?
???? if c = 마테라
????? {
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight, *20 D:\gmc\bmp\raven\map\마테라.bmp
?????? if errorlevel = 0
?????? {
??????? MouseClick, left,? 728,? 454
??????? Sleep, 2000
??????? goto,탐험던전
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? goto,탐험던전
??????? break
?????? }
????? }
????? else if c = 해안절벽
????? {
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\해안절벽.bmp
?????? if errorlevel = 0
?????? {
??????? MouseClick, left,? 728,? 454
??????? Sleep, 2000
??????? goto,탐험던전
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? goto,탐험던전
??????? break
?????? }
????? }
??? }
?? 탐험던전:
???? formattime , nowtime,,MM-dd HH:mm:ss
???? guicontrol,,notice_2, %message_2%
???? listMessage =%nowtime% 던전 선택중 %message_2%|%listMessage%
???? guicontrol,,notice_list, |%listMessage%??
?? loop
??? {??
???? if A = 1.적막한 노스데일
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 적막한 노스데일던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%?
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\1.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-5
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 2.말라가는 데저트이스트
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 말라가는 데저트이스트던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%?
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\2.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-5
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 3.냉기의 아이스일루전
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 냉기의 아이스일루전던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%?
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\3.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-5
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 4.타오르는 플레임이터니티
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 타오르는 플레임이터니티던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%?
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\4.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-5
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 5.균열의 헤븐홀
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 균열의 헤븐홀던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%?
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\5.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-5
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 6.회색빛의 노스데일
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 회색빛의 노스데일던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%?
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\6.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-8
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 7.메마른 테저트이스트
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 메마른 테저트이스트던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%?
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\7.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-8
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 8.차가운 아이스일루전
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 차가운 아이스일루전던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%?
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\8.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-8
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 9.용암의 플레임이터니티
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 용암의 플레임이터니티던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%?
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\9.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-8
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
???? else if A = 10.어두운 헤븐홀
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 어두운 헤븐홀던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%?
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\9.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-8
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 11.통곡의 노스데일
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 통곡의 노스데일 던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%?
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\11.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-10
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 12.불타는 데저트이스트
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 불타는 데저트이스트 던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%??
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\12.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-10
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 13.얼어붙은 아이스이루전
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 얼어붙은 아이스이루전 던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\13.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-10
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 14.폭발의 플레임이터니티
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 폭발의 플레임이터니티 던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\14.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-10
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 15.빛 잃은 헤븐홀
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 빛 잃은 헤븐홀 던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\15.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-10
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 1.안개낀 해안 절벽
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 안개낀 해안 절벽 던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\16.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-5
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 2.삭막한 해안 절벽
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 삭막한 해안 절벽 던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\17.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-5
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
????? else if A = 3.버려진 해안절벽
????? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 버려진 해안절벽 던전 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
?????? Sleep, 2000
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\map\18.bmp
?????? if errorlevel = 0
?????? {
??????? goto,탐험맵-5
??????? break
?????? }
??????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 60,? 260
??????? Sleep, 1000
?????? }
????? }
??? }
?? 탐험맵-10:
??? {
???? gui,submit,nohide?
???? if B = 1
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 1맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 121,? 343
????? goto,탐험준비
???? }
??? else if B = 2
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 2맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 121,? 208
????? goto,탐험준비
???? }
??? else if B = 3
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 3맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 260,? 208
????? goto,탐험준비
???? }
??? else if B = 4
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 4맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 260,? 343
????? goto,탐험준비
???? }
??? else if B = 5
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 5맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 400,? 343
????? goto,탐험준비
???? }
??? else if B = 6
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 6맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 400,? 208
????? goto,탐험준비
???? }
??? else if B = 7
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 7맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 542,? 208
????? goto,탐험준비
???? }
??? else if B = 8
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 8맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 542,? 343
????? goto,탐험준비
???? }
??? else if B = 9
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 9맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 680,? 343
????? goto,탐험준비
???? }
??? else if B = 10
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 10맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 680,? 208
????? goto,탐험준비
???? }
??? }
?? 탐험맵-8:
??? {
???? gui,submit,nohide?
???? if B = 1
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 1맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 121,? 208
????? goto,탐험준비
???? }
??? else if B = 2
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 2맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 260,? 208
????? goto,탐험준비
???? }
??? else if B = 3
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 3맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 260,? 343
????? goto,탐험준비
???? }
??? else if B = 4
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 4맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 400,? 343
????? goto,탐험준비
???? }
??? else if B = 5
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 5맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 400,? 208
????? goto,탐험준비
???? }
??? else if B = 6
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 6맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 542,? 208
????? goto,탐험준비
???? }
??? else if B = 7
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 7맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 542,? 343
????? goto,탐험준비
???? }
??? else if B = 8
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 8맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 680,? 343
????? goto,탐험준비
???? }
??? }
?? 탐험맵-5:
??? {??
???? gui,submit,nohide
???? if B = 1
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 1맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 185,? 208
????? goto,탐험준비
???? }
??? else if B = 2
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 2맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 185,? 343
????? goto,탐험준비
???? }
??? else if B = 3
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 3맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 400,? 343
????? goto,탐험준비
???? }
??? else if B = 4
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 4맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 400,? 208
????? goto,탐험준비
???? }
??? else if B = 5
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 5맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 606,? 208
????? goto,탐험준비
???? }
??? else if B = 6
???? {
??????? Sleep, 1000
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 6맵 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? MouseClick, left,? 606,? 345
????? goto,탐험준비
???? }
??? }
?? 탐험준비:
??? loop
??? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 탐험준비 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
???? Sleep, 2000
???? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\탐험준비.bmp
???? if errorlevel = 0
???? {
???? MouseMove,%GetX%,%GetY%
???? Sleep, 5000
???? MouseClick, left
???? Sleep, 2000
???? break
???? }
??? }
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 대기중 %message_2%|%listMessage%
???? Sleep, 2000
?? 버프1:
??? {?
??? Sleep, 5000?
???? gui,submit,nohide
???? if CHECK D = 1
???? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 공격버프 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\BUFF1.bmp
????? if errorlevel = 0
????? {
????? Sleep, 1000
????? MouseMove,%GetX%,%GetY%
????? Sleep, 500
????? MouseClick, left
????? }
???? }
???? if CHECK D = 0
???? {
???? }
??? }
?? 버프2:
??? {??
???? gui,submit,nohide
???? if CHECK E = 1
???? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 방어버프 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\BUFF2.bmp
????? if errorlevel = 0
????? {
????? Sleep, 1000
????? MouseMove,%GetX%,%GetY%
????? Sleep, 500
????? MouseClick, left
????? }
???? }
???? if CHECK E = 0
???? {
???? }
??? }
?? 버프3:
??? {?
???? gui,submit,nohide
???? if CHECK F = 1
???? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 체력버프 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\BUFF3.bmp
????? if errorlevel = 0
????? {
????? Sleep, 1000
????? MouseMove,%GetX%,%GetY%
????? Sleep, 500
????? MouseClick, left
????? }
???? }
???? if CHECK F = 0
???? {
???? }
??? }
?? 버프4:
??? {
???? gui,submit,nohide
???? if CHECK G = 1
???? {
?????? formattime , nowtime,,MM-dd HH:mm:ss
?????? guicontrol,,notice_2, %message_2%
?????? listMessage =%nowtime% 자동스킬 선택중 %message_2%|%listMessage%
?????? guicontrol,,notice_list, |%listMessage%???
????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\BUFF4.bmp
????? if errorlevel = 0
????? {
????? Sleep, 1000
????? MouseMove,%GetX%,%GetY%
????? Sleep, 500
????? MouseClick, left
????? }
???? }
???? if CHECK G = 0
???? {
???? }
??? }
????? Sleep, 2000
?? 탐험업적:
??? {
????? Sleep,3000
????? formattime , nowtime,,MM-dd HH:mm:ss
????? guicontrol,,notice_2, %message_2%
????? listMessage =%nowtime% 탐험업적 검색중 %message_2%|%listMessage%
????? guicontrol,,notice_list, |%listMessage%???
????? Sleep, 1000
????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\업적확인.bmp
????? if errorlevel = 0
????? {
????? Sleep, 1000
????? MouseClick, left,? 752,? 410
????? Sleep, 2000
????? 업적발생++
????? Guicontrol,,업적발생,업적발생 : %업적발생%회
????? goto,업적상품2
????? }
????? if errorlevel = 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, 1000
????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\raid\레이드확인하기.bmp
????? if errorlevel = 0
????? {
????? MouseMove,%GetX%,%GetY%
????? Sleep, 2000
????? MouseClick, left
????? Sleep, 2000
????? goto,레이드2
????? }
????? if errorlevel = 1
????? {
?
????? }
??? }
?? 탐험보상:
??? {
????? formattime , nowtime,,MM-dd HH:mm:ss
????? guicontrol,,notice_2, %message_2%
????? listMessage =%nowtime% 탐험보상 검색중 %message_2%|%listMessage%
????? guicontrol,,notice_list, |%listMessage%???
????? Sleep, 1000
????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\bonus00.bmp
????? if errorlevel = 0
????? {
????? GetX:=GetX+180
????? MouseMove,%GetX%,%GetY%
????? Sleep, 5000
????? MouseClick, left
????? Sleep, 5000
????? }
????? if errorlevel = 1
????? {
????? }
??? }
?? 탐험보상1:
??? {
????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\bonus1.bmp
????? if errorlevel = 0
????? {
????? GetX:=GetX+180
????? MouseMove,%GetX%,%GetY%
????? Sleep, 5000
????? MouseClick, left
????? Sleep, 5000
????? }
????? if errorlevel = 1
????? {
????? }
??? }
?? 탐험시작:
??? loop
??? {
???? formattime , nowtime,,MM-dd HH:mm:ss
???? guicontrol,,notice_2, %message_2%
???? listMessage =%nowtime% 탐험시작 선택중 %message_2%|%listMessage%
???? guicontrol,,notice_list, |%listMessage%???
???? Sleep, 1000
???? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\캐릭터교체.bmp
???? if errorlevel = 0
???? {
???? Sleep, 1000
???? MouseClick, left,? 572,? 450
???? Sleep, 1000
???? MouseClick, left,? 572,? 450
???? break
???? }
??? }
?? 행동물약:
??? {
???? Sleep, 5000
???? formattime , nowtime,,MM-dd HH:mm:ss
???? guicontrol,,notice_2, %message_2%
???? listMessage =%nowtime% 행동물약 체크중 %message_2%|%listMessage%
???? guicontrol,,notice_list, |%listMessage%???
???? Sleep, 1000
???? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\행동력.bmp
???? if errorlevel = 0
???? {
???? MouseMove,%GetX%,%GetY%
???? Sleep, 5000
???? MouseClick, left,? 490,? 391
???? Sleep, 5000
???? formattime , nowtime,,MM-dd HH:mm:ss
???? guicontrol,,notice_2, %message_2%
???? listMessage =%nowtime% 행동물약 사용 %message_2%|%listMessage%
???? guicontrol,,notice_list, |%listMessage%
???? 행동물약++
???? Guicontrol,,행동물약,행동물약 : %행동물약%회
???? goto,탐험나가기
???? }
???? if errorlevel = 1
???? {
???? }
??? }
???? formattime , nowtime,,MM-dd HH:mm:ss
???? guicontrol,,notice_2, %message_2%
???? listMessage =%nowtime% 탐험중 %message_2%|%listMessage%
???? guicontrol,,notice_list, |%listMessage%
탐험보스:
?? {
???? gui,submit,nohide
???? PixelSearch,VX,VY, 284,49, 300, 71, 0x0F0F3F ,4,fast
???? if errorlevel=0
???? {
????? if CHECK 탐험구르기 = 1
????? {
????? MouseClick, left,? 760,? 430
????? MouseClick, left,? 760,? 430
????? }
????? if CHECK 탐험구르기 = 0
????? {
????? }
???? }
?? }
? 탐험체력물약:
?? {
????? gui,submit,nohide
????? if CHECK 체력물약 = 1
????? {
?????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\체력확인.bmp
?????? if errorlevel=0
?????? {
?????? MouseMove,%GetX%,%GetY%
?????? Sleep, 500
?????? MouseClick, left
?????? }
?????? if errorlevel = 1
?????? {
??????? MouseClick, left,? 760,? 186
??????? MouseClick, left,? 760,? 186
?????? }
????? }
????? if CHECK 체력물약 = 0
????? {
????? }
?? }
?? 탐험실패:
??? {??
???? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\탐험실패.bmp
???? if errorlevel = 0
???? {
???? MouseMove,%GetX%,%GetY%
???? Sleep, 5000
???? MouseClick, left
???? Sleep, 5000
???? formattime , nowtime,,MM-dd HH:mm:ss
???? guicontrol,,notice_2, %message_2%
???? listMessage =%nowtime% 탐험실패 %message_2%|%listMessage%
???? guicontrol,,notice_list, |%listMessage%
???? 탐험실패++
???? Guicontrol,,탐험실패,탐험실패 : %탐험실패%회
???? }
???? if errorlevel = 1
???? {
????? goto,탐험앤드
???? }
??? }
?? 탐험앤드:
??? {?
???? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\탐험다시하기.bmp
???? if errorlevel = 0
???? {
???? MouseMove,%GetX%,%GetY%
???? Sleep, 5000
???? MouseClick, left
???? Sleep, 5000
???? formattime , nowtime,,MM-dd HH:mm:ss
???? guicontrol,,notice_2, %message_2%
???? listMessage =%nowtime% 탐험완료 %message_2%|%listMessage%
???? guicontrol,,notice_list, |%listMessage%
???? 탐험성공++
???? Guicontrol,,탐험성공,탐험성공 : %탐험성공%회
???? goto,탐험업적
???? }
???? if errorlevel = 1
???? {
????? goto,탐험보스?
???? }
??? }
? 탐험나가기:
?? loop
??? {
????? formattime , nowtime,,MM-dd HH:mm:ss
????? guicontrol,,notice_2, %message_2%
????? listMessage =%nowtime% 탐험나가기 실행중 %message_2%|%listMessage%
????? guicontrol,,notice_list, |%listMessage%???
????? Sleep, 1000
????? ImageSearch , GetX, GetY, 1, 1, A_ScreenWidth, A_ScreenHeight,? *20 D:\gmc\bmp\raven\나가기.bmp
????? if errorlevel = 0
????? {
????? MouseMove,%GetX%,%GetY%
????? Sleep, 500
????? MouseClick, left
????? Sleep, 2000
????? MouseMove,? 15,? 48
????? Sleep, 1000
????? }
????? if errorlevel = 1
????? {
????? goto,결투
????? Sleep, 2000
????? break
????? }
??? }
이런식으로 소스코드를 전부 올리시는것보다는
본인만의 순서도를 작성해보세요.