매크로

조회 수 241 추천 0 댓글 1

바람의나라 미국서버를 하는 유저입니다.


며칠전부터 계속 여기저기 검색해서 공부해가며 노가다용 매크로를 만들고 있는데요.


도저히 제대로 작동하지를 않습니다..


1. 캐릭터가 랜덤함수를 통해 랜덤으로 이동한다.

2. 이미지서치를 통해 몬스터를 죽이고, 아이템을 루팅을 한다.

3. 몬스터와 루팅할 아이템이 없다면 계속해서 또 이동을 한다.

4. 인벤토리의 아이템이 꽉 차면 창고가 있는곳으로 귀환한다.

5. 아이템을 맡기고 사냥터가 있는 곳으로 되돌아간다.

6. 위에것들을 반복한다.


이게 제가 원하는 모양새인데... ㅠㅠㅠ 뭐가 문제인지를 모르겠네요. 도와주십셔... ㅠㅠ


F7::


이동:

{

Loop

{

ImageSearch, vx, vy, 0, 0, 1024, 768, *50 양털이오.png

If ErrorLevel = 0

{

sleep, 360000

}

If ErrorLevel = 1

{

Random, A, 1,4

if ( A = 1)

{

loop, 6

{

Send, {Left}

sleep, 150

}

}

else if ( A = 2)

{

loop, 6

{

Send, {up}

sleep, 150

}

}

else if ( A = 3)

{

loop, 6

{

Send, {right}

sleep, 150

}

}

else if ( A = 4)

{

loop, 6

{

Send, {Down}

sleep, 150

}

}

}

}

}


사냥:

{

Loop

{

ImageSearch, vx, vy, 0, 0, 1024, 768, *40 %A_Scriptdir%C:\Users\r\Desktop\g매크로\이미지캡처\가.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

sleep, 150

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *40 %A_Scriptdir%C:\Users\r\Desktop\g매크로\이미지캡처\나.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *40 %A_Scriptdir%C:\Users\r\Desktop\g매크로\이미지캡처\다.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *40 %A_Scriptdir%C:\Users\r\Desktop\g매크로\이미지캡처\라.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *40 %A_Scriptdir%C:\Users\r\Desktop\g매크로\이미지캡처\마.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

IF ErrorLevel = 1

{

}


ImageSearch, vx, vy, 0, 0, 1024, 768, *40 %A_Scriptdir%C:\Users\r\Desktop\g매크로\이미지캡처\바.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *40 %A_Scriptdir%C:\Users\r\Desktop\g매크로\이미지캡처\사.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *40 %A_Scriptdir%C:\Users\r\Desktop\g매크로\이미지캡처\아.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *40 %A_Scriptdir%C:\Users\r\Desktop\g매크로\이미지캡처\자.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *40 %A_Scriptdir%C:\Users\r\Desktop\g매크로\이미지캡처\차.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *40 %A_Scriptdir%C:\Users\r\Desktop\g매크로\이미지캡처\카.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

if ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *40 %A_Scriptdir%C:\Users\r\Desktop\g매크로\이미지캡처\타.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *40 파.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

Send, {5}

Mouseclick, left, %vx%,%vy%

sleep, 350

loop

{

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 350

send, {5}

sleep, 350

send, {enter}

sleep, 3500

}

}

IF ErrorLevel = 1

{

}

}

}


루팅:

{

Loop

{

ImageSearch, vx, vy, 0, 0, 1024, 768, *50 거.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

sleep, 250

Mouseclick, left, %vx%,%vy%

sleep, 5000

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *50 너.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

sleep, 250

Mouseclick, left, %vx%,%vy%

sleep, 5000

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *50 더.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

sleep, 250

Mouseclick, left, %vx%,%vy%

sleep, 5000

}

IF ErrorLevel = 1

{

}

ImageSearch, vx, vy, 0, 0, 1024, 768, *50 러.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

sleep, 250

Mouseclick, left, %vx%,%vy%

sleep, 5000

}

IF ErrorLevel = 1

{

}

}

}


귀환:

{

loop

{

ImageSearch, vx, vy, 0, 0, 1024, 768, *50 양털이오.png

if ErrorLevel = 0

{

vx:=vx+10

vy:=vy+10

sleep, 250

Send, {CtrlDown}c{d}

sleep, 360000

}

IF ErrorLevel = 1

{

}

}

}


창고:

{

Loop

{

ImageSearch, vx, vy, 0, 0, 1024, 768, *50 창고.png

If ErrorLevel = 0

{

Sleep, 4000

send, {down}

sleep, 150

send, {down}

sleep, 150

send, {down}

sleep, 150

send, {down}

sleep, 150

send, {down}

sleep, 150

send, {down}

sleep, 150

send, {down}

sleep, 150

send, {down}

sleep, 150

send, {down}

sleep, 150

send, {Left}

sleep, 150

send, {Left}

sleep, 150

send, {left}

sleep, 150

Send, {ENTER}

sleep, 150

Send, I will deposit all wool

sleep, 150

Send, {ENTER}

sleep, 150

Send, {ENTER}

sleep, 150

Send, Kugnae

sleep, 1500

Send, {ENTER}

sleep, 1500

Send, {ENTER}

sleep, 1500

Send, {down}

sleep, 1500

Send, {ENTER}

sleep, 550

Send, {CtrlDown}c{4}

sleep, 250

Send, n

sleep, 250

Send, {enter}

sleep, 250

}

IF ErrorLevel = 1

{

}

}

}



Alt::Pause

Esc::ExitApp


  • 달리니닷 2018.11.15 11:48

    어디서 어떻게 안되는지를 적어주셔야 도와드릴수 있지 않을까요 ㅠㅠ


List of Articles
분류 제목 글쓴이 최근변경 추천
질문 메이플 소스 제작좀 해보고싶은데 입구컷을 당하네요 딴규 2018.11.16 0/0
질문 혹시 움직이는 대상 이미지서치를 쉽게 하는방법있을까요 1 쿠쿠다스4 2018.11.15 0/0
질문 초보입니다 도움좀 구할게요.. loop 또는 while 2 쿠쿠다스4 2018.11.15 0/0
질문 비활성 이미지 범위지정 오류?? 2 달리니닷 2018.11.24 0/0
자유 후.. 검은거 한번 만들어 볼까 합니다 쟈브 2018.11.14 0/0
질문 오토핫키 스크립트 두개를 한번에 실행하는 법이 있나... 4 호놀룰로 2019.01.22 0/0
질문 작동을 안하네요 ㅠㅠ 도와주세요.. 1 제작의뢰 2018.11.15 0/0
질문 오토핫키 초보인데 알려주실분 4 흐르는강물처럼 2018.12.26 0/0
질문 초보 질문 입니다. 랜덤함수. 3 제작의뢰 2018.11.11 0/0
질문 오토핫키 비활성 매크로 질문 있습니다. 1 무거움 2018.11.11 0/0
질문 이 파일의 패킹 방법을 알고싶습니다 2 cho9161 2018.11.09 0/0
질문 오토핫키 이미지 검색 결과 텔레그램으로 결과 보내기 ... 난달린다 2018.11.08 0/0
질문 초보 질문입니다 1 완전멋지다 2018.11.17 0/0
질문 오토핫키질문입니다 1 dlfwo 2018.11.17 0/0
질문 자동 인터넷검색 질문 영창이염 2018.11.07 0/0
질문 카카오토보다 오토핫키가 이미지인식이 쉽나요? 5 이소룡102 2018.11.23 0/0
질문 이미지서치 후 좌표 값을 구할 수 있나요? 2 크퀘 2018.11.04 0/0
질문 매크로 제작 의뢰를 하고 싶습니다. 제작의뢰 2018.11.03 0/0
질문 녹스에서 치트엔진 포인터 구해서 오토핫키로 2 보경이 2018.10.31 0/0
질문 픽셀서치 도움좀 주세요 1 콜드보석 2018.10.31 0/0
Board Pagination Prev 1 ... 454647484950515253 ... 209 Next
/ 209

전체 최신 인기글

전체 주간 인기글