매크로

조회 수 240 추천 0 댓글 1

패치전에쓰던건데 ,,머가문제져


DEVICE:?

SCREEN_SIZE:?

//=======================================================

//=======================개인설정========================

//=======================================================

// 자신이 연 인벤의 끝페이지 (3페이지까지면 3으로 수정)

var #inven 3


// 검은마루 절벽 진행시에 아래 좌표를 231 761 으로 수정

// 찢겨진 폐허 진행시에는 아래 좌표를 277 539 으로 수정

// 벨무트 입장시 ?좌표 337 165 으로 수정

// 레이드 입장 부분

var #go1x 337

var #go1y 165

//=======================================================

//=======================================================

//=======================================================


var #color 0

var #colorexit 0

var #color1 0

var #color2 0

var #color3 0

var #color4 0

var #ticket 0

//-------------------------------------------------------

//----------------------팝업창관련-----------------------

//-------------------------------------------------------

//자정매크로1

var clock1x 447

var clock1y 333

var clock1c 5555170

var clock2x 65

var clock2y 138

var clock2c 955375


//자정 메크로2

var #clockx 362

var #clocky 311

var #clockc 3978718


//55000원 팝업

var #popx 340

var #popy 157

var #popc 2134479


//110000원 팝업

var #pop1x 351

var #pop1y 160

var #pop1c 4334262

//-------------------------------------------------------

//-------------------------------------------------------

//-------------------------------------------------------


//-------------------------------------------------------

//---------------------사냥터 입장관련-------------------

//-------------------------------------------------------

//모험 여관 화면 확인

var #mainx 464

var #mainy 387

var #mainc 4260169

?

//월드맵 화면 확인

var #worldx 457

var #worldy 269

var #worldc 16777215

//-------------------------------------------------------

//-------------------------------------------------------

//-------------------------------------------------------


//-------------------------------------------------------

//-------------------레이드 관련-------------------------

//-------------------------------------------------------

//레이드 대기 화면 확인

var #main1x 419

var #main1y 331

var #main1c 9689578


//사냥중 확인

var #huntx 46

var #hunty 29

var #huntc 16777215


//죽었다

var #diex 399

var #diey 25

var #diec 0


//레이드 실패

var #failx 302

var #faily 270

var #failc 3362254


//도전한 기록 취소

var #canclex 321

var #cancley 175

var #canclec 923941

?

//레이드 거절

var #goxxx 116

var #goxxy 749

var #goxxc 3622224

//사냥터에서 멈춤

var #exitx 265

var #exity 720

var #exitc 3622224

?

//초대 수락 확인

var #okx 158

var #oky 517

?

//초대 거절 취소

var #nox 155

var #noy 356

?

//나가기

var #exit1x 155

var #exit1y 356

//-------------------------------------------------------

//-------------------------------------------------------

//-------------------------------------------------------


?

//-------------------------------------------------------

//-------------------장비판매관련------------------------

//-------------------------------------------------------

//장비창 화면 확인 값

var #inshopx 23

var #inshopy 753

var #inshopc 7900555


//아이템 세부정보창 화면 확인 값

var #sellx 458

var #selly 424

var #sellc 6928861


//아이템색깔

var #red 794579

var #yellow 2332159

var #puple 16725918

var #blue 16748826

var #green 6148644

var #white 16777215


//장비칸

var #11x 393

var #11y 491

var #12x 391

var #12y 573

var #13x 393

var #13y 655

var #14x 392

var #14y 737

var #21x 304

var #21y 491

var #22x 322

var #22y 571

var #23x 308

var #23y 655

var #24x 304

var #24y 736

var #31x 215

var #31y 491

var #32x 221

var #32y 572

var #33x 221

var #33y 654

var #34x 219

var #34y 737

var #41x 130

var #41y 491

var #42x 129

var #42y 573

var #43x 133

var #43y 655

var #44x 131

var #44y 737

var #xx 0

var #full 0?

var #bag 1


//장비체크

var #checkx 0

var #checky 0?

//-------------------------------------------------------

//-------------------------------------------------------

//-------------------------------------------------------



//----------------------매크로 시작----------------------

:start

//-------------------------------------------------------

//-------------------------루프--------------------------

//-------------------------------------------------------

:loop

sleep 3000


//=====================팝업관련==========================

//--------------------자정팝업1--------------------------

:clock1

sleep 100

getcolor #color #clock1x #clock1y

getcolor #color1 #clock2x #clock2y

if #color == clock1c and #color1 == clock2c

sleep 1000

touchpress 0 94 439

sleep 500

touchpress 0 169 409

sleep 500

touchpress 0 53 429

sleep 500

touchpress 0 53 429

sleep 500

touchpress 0 53 429

sleep 500

endif

//-------------------------------------------------------


//----------------------자정팝업2------------------------

:clock

sleep 100

getcolor #color #clockx #clocky

sleep 50

if #color == #clockc

toast 자정

sleep 1000

touchpress 0 94 439

sleep 500

touchpress 0 133 415

sleep 500

touchpress 0 169 409

sleep 500

touchpress 0 53 429

sleep 500

touchpress 0 53 429

sleep 500

touchpress 0 53 429

sleep 500

endif

//-------------------------------------------------------


//-------------------55000원 팝업 확인-------------------

:pop

sleep 100

getcolor #color #popx #popy

sleep 50

if #color == #popc

toast 팝업 취소

sleep 1000

touchpress 0 50 312

sleep 1000

touchpress 0 158 483

sleep 300

goto :main

endif

//-------------------------------------------------------


//------------------110000원 팝업 확인-------------------

:pop1

sleep 100

getcolor #color #pop1x #pop1y

sleep 50

if #color == #pop1c

toast 팝업 취소

sleep 1000

touchpress 0 50 312

sleep 1000

touchpress 0 158 483

sleep 300

goto :main

endif

//-------------------------------------------------------

//=======================================================


//====================사냥터 입장 관련===================

//---------------------모험 여관 확인--------------------

:main

sleep 500

getcolor #color #mainx #mainy?

sleep 50

if #color == #mainc

toast 모험 하기

sleep 1000

touchpress 0 50 758

sleep 3000

endif

//-------------------------------------------------------


//---월드맵화면 확인,레이드 입장,장비가득 메시지확인-----

:world

sleep 500

getcolor #color #worldx #worldy

sleep 100

if #color == #worldc

toast 레이드 시작

goto :k0

:k1

sleep 3000

getcolor #color1 230 180

getcolor #color2 152 176

getcolor #color3 259 268

getcolor #color4 271 314

sleep 100

if #color1 == 923941 and #color2 == 16579836 and #color3 == 16777215

sleep 100

toast 가방이 가득 찼습니다

sleep 100

touchpress 0 153 468

sleep 1000

touchpress 0 59 30

sleep 1000

touchpress 0 47 118

toast 장비창에 들어왔습니다.

sleep 5000

goto :shop

endif

if #color1 == 923941 and #color2 == 16579836 and #color3 != 16777215 and #color4 != 16777215

goto :ticket

endif

if #color1 == 923941 and #color2 == 16579836 and #color3 != 16777215 and #color4 == 16777215

toast 레이드 초대를 받았습니다

touchpress 0 153 468

sleep 2000

goto :goxx

endif

endif

//-------------------------------------------------------

//=======================================================


//====================레이드 관련========================

//----------------레이드 메인화면 확인-------------------

:riadmain

sleep 500

getcolor #color #main1x #main1y

sleep 100

if #color == #main1c

toast 레이드 대기 화면

sleep 1000

toast 레이드 시작

sleep 100

touchpress 0 49 726

sleep 1000

touchpress 0 162 411

sleep 1000

endif

//-------------------------------------------------------


//---------------레이드 중 확인, 부활--------------------

:hunting

sleep 500

getcolor #color #huntx #hunty

sleep 100

if #color == #huntc

toast 레이드중...

sleep 100

getcolor #color1 #diex #diey

sleep 100

if #color1 == #diec

toast 죽었다 부활하자

sleep 500

touchpress 0 51 640

sleep 500

touchpress 0 51 711

sleep 500

touchpress 0 51 788

endif

endif

//-------------------------------------------------------


//-------------------레이드 실패 확인--------------------

:fail

sleep 50

getcolor #color #failx #faily

sleep 50

if #color == #failc

sleep 50

toast 레이드 실패

sleep 1000

touchpress 0 #nox #noy

sleep 1000

endif

//-------------------------------------------------------


//-------------------도전한 기록 취소--------------------

:cancle

sleep 50

getcolor #color #canclex #cancley

sleep 50

if #color == #canclec

sleep 50

toast 결성된 파티 도전 취소

sleep 1000

touchpress 0 #nox #noy

sleep 2000

endif

//-------------------------------------------------------


//-------------------레이드 초대 거절--------------------

:goxx

sleep 50

getcolor #color #goxxx #goxxy

sleep 50

if #color == #goxxc

sleep 50

toast 레이드 거절하기

sleep 1000

touchpress 0 #goxxx #goxxy

sleep 1000

touchpress 0 #nox #noy

sleep 1000

touchpress 0 #nox #noy

sleep 1000

endif

//-------------------------------------------------------


//--------------------사냥터에서 멈춤--------------------

:exit

sleep 50

getcolor #color #exitx #exity

sleep 50

if #color == #exitc

toast 사냥터에서 멈춰서 돌아감

touchpress 0 62 34

sleep 1000

endif

//-------------------------------------------------------

//=======================================================


//=================장비창 화면 확인======================

:shop

sleep 500

getcolor #color #inshopx #inshopy

sleep 100

if #color == #inshopc

#bag = 1

goto :bag

:bag1

toast 장비 판매 시작

#xx = 1

sleep 2000

goto :check

endif

//=======================================================

touchpress 0 451 777

sleep 500

touchpress 0 21 691?

goto :loop

//-------------------------------------------------------

//-------------------------루프종료----------------------

//-------------------------------------------------------


//=======================================================

//====================상점 판매==========================

//=======================================================

//--------------아이템 좌표값 설정 순서대로--------------

:check

if #xx == 1

#checkx = #11x

#checky = #11y

elseif #xx == 2

#checkx = #12x

#checky = #12y

elseif #xx == 3

#checkx = #13x

#checky = #13y

elseif #xx == 4

#checkx = #14x

#checky = #14y

elseif #xx == 5

#checkx = #21x

#checky = #21y

elseif #xx == 6

#checkx = #22x

#checky = #22y

elseif #xx == 7

#checkx = #23x

#checky = #23y

elseif #xx == 8

#checkx = #24x

#checky = #24y

elseif #xx == 9

#checkx = #31x

#checky = #31y

elseif #xx == 10

#checkx = #32x

#checky = #32y

elseif #xx == 11

#checkx = #33x

#checky = #33y

elseif #xx == 12

#checkx = #34x

#checky = #34y

elseif #xx == 13

#checkx = #41x

#checky = #41y

elseif #xx == 14

#checkx = #42x

#checky = #42y

elseif #xx == 15

#checkx = #43x

#checky = #43y

elseif #xx == 16

#checkx = #44x

#checky = #44y

elseif #xx == 17

sleep 5000

goto :warehouse

endif

//-------------------------------------------------------


//--------------------아이템의 등급색 확인---------------

getcolor #color #checkx #checky

sleep 100

if #color == #puple or #color == #blue or #color == #green or #color == #white

sleep 100

toast 아이템 검색완료

touchpress 0 #checkx #checky

sleep 4000

goto :sell

else

#xx = #xx + 1

goto :check

endif

//-------------------------------------------------------


//----------아이템 세부정보창에서 아이템 판매------------

:sell

getcolor #color #sellx #selly

sleep 50

if #color == #sellc

toast 아이템을 파는 중입니다

goto :potion

:potion1

//판매 클릭

touchpress 0 48 530

sleep 3000

//등급판매 클릭

touchpress 0 169 250

sleep 3000

goto :nosell

:nosell1

// 나가기

sleep #sellwait

touchpress 0 67 31

sleep 1000

endif

goto :start

//-------------------------------------------------------


//--------------------물약이면 판매----------------------

:potion

getcolor #color1 386 464

sleep 100

if #color1 == 2061723 or #color1 == 2313338 or #color1 == 4160675

toast 물약을 발견

//판매 클릭

touchpress 0 48 530

sleep 2000

//확인을 클릭

touchpress 0 161 527

sleep 1000

// 엑스를 눌르자

touchpress 0 431 722

sleep 2000

#xx = #xx + 1

goto :check

endif

goto :potion1

//-------------------------------------------------------


//------------등급판매 안되는템(보석 등) 확인------------

:nosell

getcolor #color #sellx #selly

sleep 100

if #color == #sellc

toast 등급판매 안되는 아이템

touchpress 0 431 722

sleep 2000

#xx = #xx + 1

goto :check

endif

goto :nosell1

//-------------------------------------------------------


//-----------------창고로 아이템 이동--------------------

:warehouse

getcolor #color #inshopx #inshopy

sleep 100

if #color == #inshopc

toast 창고로 이동합니다

touchpress 0 61 730

sleep 7000

touchdown 0 #11x #11y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #12x #12y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #13x #13y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #14x #14y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #21x #21y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #22x #22y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #23x #23y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #24x #24y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #31x #31y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #32x #32y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #33x #33y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #34x #34y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #41x #41y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #42x #42y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #43x #43y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

sleep 1000

touchdown 0 #44x #44y

sleep 100

touchmove 0 365 244

sleep 100

touchup 0

goto :storecheck

:storecheck1

//나가기

sleep 5000

touchpress 0 67 31

sleep 5000

touchpress 0 67 31

#xx = 11

endif

goto :start

//-------------------------------------------------------


//-----------------창고가 가득찼는지 확인-----------------

:storecheck

sleep 3000

getcolor #color #34x #34y

if #color != 5342110

sleep 50

toast 창고가 가득찼습니다.

#full = 1

endif

goto :storecheck1

//-------------------------------------------------------


//------------------인벤 오픈 페이지---------------------

:bag

if #bag == #inven

goto :bag1

else

touchpress 0 60 652

sleep 1000

#bag = #bag + 1

goto :bag

endif

//-------------------------------------------------------

//=======================================================

//====================상점 판매 끝=======================

//=======================================================


//==================티켓없을시 대기======================

:ticket

sleep 1000

touchpress 0 153 468

sleep 1000

touchpress 0 59 30

sleep 1000

toast 티켓이 없어 30초간 대기합니다

sleep 1000

#ticket = 0

//30초 대기 (5초간격으로 수정할수 있습니다)

:count1

#ticket = #ticket + 5

sleep 5000

toast 기다리는 중..( #ticket 초)

if #ticket == 30

goto :start

else

goto :count1

endif

//=======================================================


//====================레이드 찾아가기====================

:k0

//----------------각자 수정 가능-------------------------

touchpress 0 #go1x #go1y

//----------------각자 수정 가능-------------------------

goto :k1

//=======================================================


:end



  • 미역 2014.11.28 10:42

    장비판매는 스스스꺼 올라온거 참고하시면 되고 벨무트 좌표는 메인화면에서 처음 모험하기 들어갔을때 벨무트 좌표 찍으시면 됩니다. 디버깅 기능 사용하세요


List of Articles
분류 제목 글쓴이 최근변경 추천
질문 메크로의 문제점을 지적해주세요 7 하늘만큼 2014.11.30 0/0
질문 히로 매크로 공부중인데 질문이요! 1 시아입니다 2014.11.28 0/0
질문 왜 태환은린님것만 되고 나머진 안될까요? 9 로맨틱맨 2014.11.28 0/0
질문 11.27 업뎃이후로 동료창 가득 차면 종료 안먹는 것 같... 2 세르니안 2014.11.28 0/0
질문 터치이벤트가 안먹어요 ㅜ kity88 2014.11.28 0/0
질문 지금 왜 지니모션에서 별이되어라 업데이트할때 오류가... 6 갈수있을거다 2014.11.28 0/0
질문 혹시 오토핫키에 보면 공유 올라오는 스크립트요 baly77 2014.11.28 0/0
질문 도와주세요~ㅠㅠ 예랑하랑 2014.11.28 0/0
질문 공개 스크립 사용시 질문드립니다. 흰수염루피 2014.11.28 0/0
질문 패치후 ,,벨무트 장비 판매 스크렙좀 ,, 1 히로별되 2014.11.28 0/0
질문 몬길 악마님 S2 용 받아서 사용중 질문.. 울하찔 2014.11.28 0/0
질문 장비판매 관련 질문입니다. 1 국보급존슨 2014.11.28 1/0
질문 태환은린님 기존 작은지역으로 나눈 스크립트.. 3 뚜뚜삐 2014.11.28 0/0
질문 장비 판매 문의~ 5 써니인되 2014.11.28 0/0
질문 정해진 횟수만큼 반복하는 소스를 짜볼려고 합니다 10 하늘만큼 2014.11.28 0/0
질문 태환은린님 1일 ㅅㅅㅅ 사용자분들 질문입니다 9 NOte 2014.11.28 0/0
질문 혹시 요일던전 월.수.금 스크립트가지고계신분있으면 ... 1 NNiko 2014.11.28 0/0
질문 미궁 스크립트 수정 방법 조언 좀 해주세요., 1 김세현님 2014.11.28 0/0
질문 히로 처음해보는데 이런식인지 맞나여 ..? 4 하나만파자 2014.11.28 0/0
질문 태환님꺼 스크립트 중 미궁 어떻게 수정해야됩니까 대... 김세현님 2014.11.28 0/0
Board Pagination Prev 1 ... 565758596061626364 ... 80 Next
/ 80

전체 최신 인기글

전체 주간 인기글