매크로

조회 수 238 추천 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
분류 제목 글쓴이 최근변경 추천
자유 심심해서 메이플 중결 노가다 매크로 만들어봤습니다. 3 압살맨블로그 2022.12.28 0/0
자유 히트2는 오토핫키 없을까요 1 매매매핫키 2022.12.07 0/0
질문 키 동시입력 관련 문의 드립니다. hwan1 2022.11.23 0/0
질문 역카운트 질문드립니다. 라나미비 2022.11.20 0/0
질문 Scite4Autohotkey에서 명령어 입력시 뒤에 커맨드 뜨지... 2 우후훅 2022.11.09 0/0
자유 오토핫키로 간단한 매크로 만들어주실분계신가요(사례o) 1 Genesi 2022.11.07 0/0
질문 크롬 엣지에서 뜨는 툴팁의 텍스트 가져올 수 있나요? ... 2 우후훅 2023.01.28 0/0
질문 ComObjCreate 괄호안의 따옴표에 변수 넣을때 도움좀 ... 3 우후훅 2022.11.07 0/0
질문 매크로 입문자 인데요 질문이 있습니다. 5 골마 2022.11.05 0/0
질문 안녕하세요 오딘 매크로 검색하다가 첨왔는데요 8 노베이스 2022.11.14 0/0
질문 sleep 시간 질문 1 응애제니 2022.11.01 0/0
정보 title 이 없는 프로세스 id 값 따기 압살맨블로그 2022.12.14 0/0
자유 오토핫키 이미지서치 제작해주실분(사례o) 2 모시모시 2022.10.30 0/0
질문 Gdip 관련 질문있습니다 고수님들 3 메이크모델 2022.11.24 0/0
질문 명령키 하나로 여러 명령을 순서대로 어떻게 실행하죠? 1 스니핑 2022.10.25 0/0
질문 오토핫키 속도관련 질문드립니다 무스키토 2022.10.23 0/0
공유 롤 자동레디, 선픽 - lol first pick 압살맨블로그 2022.10.24 0/0
자유 영어로 되어있을 경우 한/영을 눌러 한글로 전환 압살맨블로그 2022.10.13 0/0
자유 아직도 오핫으로 매크로 많이 만들죠?? 2 네임네임닉네 2022.12.20 0/0
질문 오토핫키 이미지서치 두개를 해서 두 개 중 아무거나 ... 2 cis105 2022.10.06 0/0
Board Pagination Prev 1 2345678910 ... 208 Next
/ 208

전체 최신 인기글

전체 주간 인기글