오토핫키 커뮤니티

조회 수 263 추천 0 댓글 4

오토핫키 커뮤니티보다 여기서 많이 배워서 요즘도 유용하게 사용하고있네요~


이런식으로 A1부터 A16까지 16개를 만들어서 썼었는데..


시간이 없어서 메뉴 쪼갤시간이 없었던지라..?


지금보니 가관이네요ㅎㅎ?


if(A1=1) ?; 7-9 루비작

{

모험A1:

{

loop

{



imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 모험시작.bmp

if errorlevel = 0

{

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 해피1성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 3000

gosub, 1팀쫄교체A1

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 해피2성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 3000

gosub, 1팀쫄교체A1

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 해피3성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 3000

gosub, 1팀쫄교체A1

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 모험시작.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 2000

}

}


imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 모험눌러진상태.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 모험뒤로.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

}

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 레이드.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 5000

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 30레벨달성확인.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 5000

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 뒤로.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

}

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 레이드글씨.bmp

if errorlevel = 0

{

sleep, 1000

send,{ESC}

sleep, 3000

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 7-9.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 모험준비.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 10000

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 자동스킬.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 모험다시하기.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 5000

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 열쇠부족.bmp

if errorlevel = 0

{

sleep, 1000

send,{ESC}

sleep, 3000

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 열쇠구매버튼.bmp

if errorlevel = 0

{

sleep, 1000

Mouseclick,left,vX,vY

sleep, 1000

goto, 1번A1


}

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 1번스킬.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

goto, 두번째스킬A1

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 30레벨달성확인.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 5000

}





}

}


두번째스킬A1:

loop

{

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 두칸.bmp

if errorlevel = 0

{

sleep, 1000

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 2번스킬.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

goto, 세번째스킬A1

}

}

}


세번째스킬A1:

loop

{

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 세칸.bmp

if errorlevel = 0

{

sleep, 1000

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 3번스킬.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

}

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 모험다시하기.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 5000

goto, 모험A1

}

}


모험1A1:

{

sleep, 5000

loop

{



imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %B1%2성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 3000

gosub, 2팀쫄교체A1

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %B2%2성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 3000

gosub, 2팀쫄교체A1

}


imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %B1%3성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 3000

gosub, 2팀쫄교체A1

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %B2%3성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 3000

gosub, 2팀쫄교체A1

}

else

{

sleep, 1000

gosub, 모험A1

sleep, 1000

}



}

}


모험2A1:

{

sleep, 5000

loop

{

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %C1%1성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 5000



gosub, 3팀쫄교체A1

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %C1%2성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 5000


gosub, 3팀쫄교체A1

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %C1%3성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 5000



gosub, 3팀쫄교체A1

}


imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %C2%1성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 5000



gosub, 3팀쫄교체A1

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %C2%2성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 5000


gosub, 3팀쫄교체A1

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %C2%3성30렙.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

Mouseclick,left,306,474

sleep, 5000



gosub, 3팀쫄교체A1

}

else

{

sleep, 1000

gosub, 모험A1

sleep, 1000

}





}

}


1팀쫄교체A1:

{


a=0

loop

{


imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 해피1성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 1팀배치A1

sleep, 1000

}



imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 해피2성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 1팀배치A1

sleep, 1000

}


imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 해피3성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 1팀배치A1

sleep, 1000

}


gosub, 스크롤A1

a:=a+1

sleep, 3000

if (a >10 )

{

sleep, 1000

send,{ESC}

sleep, 1000

gosub, 모험1A1

}

}

}


2팀쫄교체A1:

{

a=0

loop

{



imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %B1%2성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 2팀배치A1

sleep, 1000

}



imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %B2%2성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 2팀배치A1

sleep, 1000

}



imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %B1%3성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 2팀배치A1

sleep, 1000

}



imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %B2%3성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 2팀배치A1

sleep, 1000

}



gosub, 스크롤A1

a:=a+1

sleep, 3000

if (a >10 )

{

sleep, 1000

send,{ESC}

sleep, 1000

gosub, 모험2A1

}


}

}


3팀쫄교체A1:

{

a=0

loop

{



imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %C1%1성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 3팀배치A1

sleep, 1000

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %C1%2성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 3팀배치A1

sleep, 1000

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %C1%3성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 3팀배치A1

sleep, 1000

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %C2%1성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 3팀배치A1

sleep, 1000

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %C2%2성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 3팀배치A1

sleep, 1000

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 %C2%3성1렙.bmp

if errorlevel = 0

{

sleep, 1000


Mouseclick,left,vX,vY-10


gosub, 3팀배치A1

sleep, 1000

}




gosub, 스크롤A1

a:=a+1

sleep, 3000

if (a >10 )

{

sleep, 1000

send,{ESC}

sleep, 1000

gosub, 모험A1

}

}

}


1팀배치A1:

loop

{

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 팀배치.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 3000

Mouseclick,left,172,165

sleep, 5000

send,{ESC}

sleep, 5000

gosub, 모험1A1

}

}

2팀배치A1:

loop

{

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 팀배치.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 3000

Mouseclick,left,172,243

sleep, 5000

send,{ESC}

sleep, 5000

gosub, 모험2A1

}

}

3팀배치A1:

loop

{

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *99 팀배치.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 3000

Mouseclick,left,172,331

sleep, 5000

send,{ESC}

sleep, 5000

gosub, 모험A1

}

}

1번A1:

loop

{

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 상점광고.bmp

if errorlevel = 0

{

sleep, 1000

send, {ESC}

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 열쇠6개.bmp

if errorlevel = 0

{

sleep, 1000

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 상점뒤로.bmp

if errorlevel = 0

{

sleep, 1000

Mouseclick,left,vX,vY

sleep, 1000

goto, 모험A1

}

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 열쇠7개.bmp

if errorlevel = 0

{

sleep, 1000

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 상점뒤로.bmp

if errorlevel = 0

{

sleep, 1000

Mouseclick,left,vX,vY

sleep, 1000

goto, 모험A1

}

}


imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 명예10사용.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

goto, 2번A1

}

}

2번A1:

loop

{

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 구매하기.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

goto, 3번A1

}

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 상점명예부족.bmp

if errorlevel = 0

{

sleep, 1000

goto, 명예A1

}


}

명예A1:

loop

{

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 구매완료확인.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 2000

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 상점뒤로.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

goto, 모험A1

}

}


}


3번A1:

loop

{

imagesearch, vX, vY, 1,1, A_ScreenWidth, A_ScreenHeight, *30 구매완료확인.bmp

if errorlevel = 0

{

Mouseclick,left,vX,vY

sleep, 1000

goto, 1번A1

}


}

스크롤A1:

{

mousemove,392,489 ;이동을 시작한 지점까지 마우스 이동후

send,{LButton down}

mousemove,392,250,20 ;speed 조절을 통해서 무브 속도 조절 가능합니다.

send,{LButton up}

sleep, 1000

return

}


}

}


  • profile
    외치기 2015.06.23 09:38

    예전에 작성한코드 다시보면 흑역사 투성이죠.

    오핫사는 많이 죽어버렸고 원래부터 게임쪽 질문은 잘 안받아줘서

    이쪽이 그나마 살아남아있는거죠.

  • 칼시이나 2015.06.25 15:38
    외치기님께 도움받아서 실력향상이 된거같습니다 감사합니다 (--)(__)(--)

    아직 배울게 많은데 생업에 종사하다보니.. 점점 시간이 없어지네요
  • profile
    외치기 2015.06.25 15:54
    저는 단지 흥미로운 질문에 대답할뿐이랍니다 ㅎㅎ
  • 모바게 2015.06.25 16:30

    뒤돌아보지 않는겁니다!


List of Articles
분류 제목 글쓴이 최근변경 추천
질문 윈타이틀이 바뀌면 바로바로 변수에저장하는방법이 궁... 4 우후훅 2015.07.03 0/0
질문 웹상의 있는 변수를 클릭하게 할수 있나요? 1 최임원 2015.06.26 0/0
질문 오토핫키 패킹하면 서든같은게임에서도 이용가능한가요? 3 세나블텍 2016.07.15 0/0
질문 com.AHK 질문좀 드리겠습니다. 1 제발등업좀2 2015.06.30 0/0
질문 질문좀 드려요 콤보박스가 제대로 작동을 왜 안하는걸... 8 바유무 2015.06.29 0/0
질문 루프문 질문 ㅠㅠ 10 라미첼 2015.06.27 0/0
질문 리스트뷰 행 부분에 색상입힐수는 없을까요? 우후훅 2015.06.24 0/0
자유 젤 처음에 오핫키로 짠 소스보니 추억이 살포시 나네요~ㅎ 4 칼시이나 2015.06.27 0/0
질문 DDL을 통해 Winget으로 지니모션 창을 따올때.. 5 아잉뿌잉 2015.06.24 0/0
질문 postmessage 드래그 질문드립니다. 3 칼시이나 2015.06.30 0/0
정보 항상위에있는 메모장 스크립트 성지순례왔다 2015.06.21 0/0
질문 구이 좌표 따는법 1 _Crash 2015.06.21 2/0
질문 AHK를 배울수 있는 책을 없을까요? 5 블루조이 2015.06.26 0/0
질문 노트북 이미지서칭만 안되요! 제발 도와주세요(사례) 12 세macro 2015.06.27 0/0
질문 adb 이용 블루스택 화면 캡쳐... 열감기 2015.06.20 0/0
질문 ListView 에 대해 또 질문드립니다.ㅠ 3 우후훅 2015.06.26 0/0
질문 edit 할때 보이던 active window info 아이콘이 안보... 2 푸른호수 2015.06.20 0/0
질문 오핫 잘 사용되다.. 문제가 생겻습니다.. 흠 7 궁금증호야 2015.06.20 0/0
질문 이미지서치 정확도질문 3 컴팩 2015.06.20 0/0
질문 마우스 HOVER 방법을 아직 못찾았네요. 4 우후훅 2015.06.22 0/0
Board Pagination Prev 1 ... 160161162163164165166167168 ... 209 Next
/ 209

전체 최신 인기글

전체 주간 인기글