매크로

조회 수 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
분류 제목 글쓴이 최근변경 추천
질문 gdip 다중 이미지서치에 관해서 여쭤봅니다 a1237694 2023.02.24 0/0
질문 bkvcqr 님 오토핫키 질문있습니다. [ ClassNN값 ] 3 최키라웃 2023.02.24 0/0
질문 이런거 짤려면 뭐 이용해야하나요?? skkcx 2023.02.24 0/0
질문 녹스 이미지서치 오류 때문에 여쭤봅니다! 12 a1237694 2023.02.24 0/0
자유 메이플 채집,채광 매크로 구합니다 차니90 2023.02.24 0/0
질문 블루스택5 postmessage 성공하신분계신가요? 침묵의고요 2023.02.24 0/0
질문 하드인증 풀 수 있으신분 계신가요? 2 spuo 2023.02.24 0/0
자유 이 곳도 예전에는 실력자분들이 되게 많으셨는데.. bkvcqr 2023.02.24 0/0
질문 간단한 오토핫키 사용 질문입니다 1 그게그거 2023.02.24 0/0
질문 군주온라인 오토 구합니다~! 복덩대디 2022.05.16 0/0
자유 스타크레프트 땅파기2 메크로 외주 구합니다 1 혀니 2023.02.24 0/0
자유 오핫 뚫었습니다 4 ysw720 2023.03.19 0/0
질문 리니지 2.0 버젼 오토핫키 공부중입니다. 5 강냉이ekd 2023.03.06 0/0
질문 녹스 앱플레이어 프로세스 명 관련 앝텀 2023.02.24 0/0
질문 오토핫키 랜덤 실행 어떻게 할까요? 4 도지운 2023.02.24 0/0
질문 리스트뷰 저장관련 질문드립니다 2 바벌퀴레 2023.02.24 0/0
자유 바람의나라 프리서버 오토핫키 제작 구매합니다 졍38 2023.02.24 0/0
질문 메이플 해볼려고 하는데요 3 11도 2023.02.24 0/0
질문 선배님들 매크로를 처음 배워보려하는데요 6 자꾸만궁금해 2022.04.23 0/0
질문 와이로님의 오토핫키플러스는 더이상 구할 수 없는 건... 3 pimelo 2023.02.24 0/0
Board Pagination Prev 1 ... 456789101112 ... 209 Next
/ 209

전체 최신 인기글

전체 주간 인기글