매크로

DEVICE:
SCREEN_SIZE:
//-----------------------개인설정



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

var #inven 4



// 친구 선택 사용 안할시 좌표 0 0 으로 수정 //
// 사냥터 입장시 친구 선택 부분 좌표 96 577 //

var #friendx 0
var #friendy 0



//사냥중 동료소환시간 설정 - 30초기본설정 (최소 5초부터 5초간격으로만 설정가능)

var #count 5



//동료 가득차면 매크로 종료 0 0
//동료 가득차도 계속 진행 142 464

var #okx 142
var #oky 464



//장비와 창고 모두 가득차면 매크로 종료 0 0
//장비와 창고 모두 가득차도 계속 진행 142 464
// (장비와 창고 모두 가득차도 계속 진행하면
//? 장비와 창고가 가득찬 후에 동료가득찬건 확인 불가)

var #ok1x 142
var #ok1y 464



//장비정리 하려면 153 254
//장비정리 안하려면 142 464

var #ok2x 153
var #ok2y 254

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

var #color 0
var #colorexit 0
var #color1 0
var #color2 0
var #color3 0
var #color4 0

var #second 0

//9번방좌표
var #roomx 350
var #roomy 648

//장비 확인
var #shopx 152
var #shopy 256
var #shopc 6251

//장비판매 입장
var #shopgx 365
var #shopgy 844

//친구 선택 창
var #ax 441
var #ay 252
var #ac 15527148

//사냥터
var #enterx 421
var #entery 334
var #enterc 9493741

//사냥확인
var #huntx 46
var #hunty 29
var #huntc 6710886


//----장비판매관련------------------------------------------
//아이템색깔
var #red 794579
var #yellow 2332159
var #puple 16725918
var #blue 16748826
var #green 6148644
var #white 16777215

//장비판매
var #sellx 458
var #selly 424
var #sellc 6928861

//장비판매 안
var #inshopx 23
var #inshopy 753
var #inshopc 1780059
var #bag 1

//장비칸
var #11x 355
var #11y 450
var #12x 355
var #12y 530
var #13x 355
var #13y 615
var #14x 355
var #14y 700
var #21x 267
var #21y 450
var #22x 267
var #22y 530
var #23x 267
var #23y 615
var #24x 267
var #24y 700
var #31x 178
var #31y 450
var #32x 178
var #32y 530
var #33x 178
var #33y 615
var #34x 178
var #34y 700
var #41x 91
var #41y 450
var #42x 91
var #42y 530
var #43x 91
var #43y 615
var #44x 91
var #44y 700
var #xx 0
var #full 0

//장비체크
var #checkx 0
var #checky 0
//---------------------------


//매크로 시작
:start

//----------------------------------루프
:loop



//사냥터 입장
:go
sleep 2000
getcolor #color #enterx #entery
sleep 100
if #color == #enterc
toast 사냥 시작
sleep 1000
touchpress 0 #roomx #roomy
sleep 2000
endif



//사냥터 입장 라벨
:gogo
sleep 500

getcolor #color1 283 348
getcolor #color2 320 190
getcolor #color3 159 187
getcolor #color4 153 254
sleep 100

if #color1 == 16777215 and #color2 == 923941 and #color3 == 16514043 and #color4 == 5736
toast 동료가 가득찼습니다
sleep 100
goto :finish1
:back1
touchpress 0 #okx #oky
sleep 2000
endif

if #color1 == 16777215 and #color2 == 923941 and #color3 == 16514043 and #color4 != 5736
toast 신발이 부족합니다
sleep 100
touchpress 0 142 464
sleep 1000
endif

if #color1 != 16777215 and #color2 == 923941 and #color3 == 16514043 and #color4 == 5736 and #full == 0
toast 가방이 가득찼습니다
sleep 100
touchpress 0 #ok2x #ok2y
sleep 4000
goto :shopgo
elseif #color1 != 16777215 and #color2 == 923941 and #color3 == 16514043 and #color4 == 5736 and #full == 1
toast 창고와 가방이 모두 가득참
sleep 100
goto :finish2
:back2
touchpress 0 #ok1x #ok1y
sleep 2000
endif



//사냥터 입장전 친구선택 라벨
sleep 500
getcolor #color #ax #ay
sleep 50
if #color == #ac
toast 사냥 입장 친구 선택
sleep 500
touchpress 0 #friendx #friendy
sleep 500
touchpress 0 33 448
sleep 500
touchpress 0 169 410
sleep 8000
toast 던전에입장하였습니다
endif



//---------------------------------------상점 판매 라벨
:shopgo
getcolor #color #inshopx #inshopy
sleep 50
if #color == #inshopc
sleep 100
#bag = 1
goto :bag2
:bag1
toast 장비 판매 시작
#xx = 11
sleep 2000
goto :check
endif
//----------------------------------
?



//사냥중인지 확인
:gogo1
getcolor #color4 #huntx #hunty
if #color4 == 16777215
sleep 5000
#second = #second + 5
toast #사냥 중.... #second 초
goto :second
else
sleep 100
toast 사냥이끝났습니다
#second = 0

//모험종료확인버튼
touchpress 0 52 457
sleep 500

//동료획득 확인버튼
touchpress 0 169 410
sleep 500

//모험종료 확인버튼
touchpress 0 52 457
sleep 3000
endif


goto :loop
//----------------------------------루프



//---------------------------------------상점 판매
//아이템 좌표값 설정 순서대로
:check
sleep 100
if #xx == 11
#checkx = #11x
#checky = #11y
elseif #xx == 12
#checkx = #12x
#checky = #12y
elseif #xx == 13
#checkx = #13x
#checky = #13y
elseif #xx == 14
#checkx = #14x
#checky = #14y
elseif #xx == 15
#checkx = #21x
#checky = #21y
elseif #xx == 16
#checkx = #22x
#checky = #22y
elseif #xx == 17
#checkx = #23x
#checky = #23y
elseif #xx == 18
#checkx = #24x
#checky = #24y
elseif #xx == 19
#checkx = #31x
#checky = #31y
elseif #xx == 20
#checkx = #32x
#checky = #32y
elseif #xx == 21
#checkx = #33x
#checky = #33y
elseif #xx == 22
#checkx = #34x
#checky = #34y
elseif #xx == 23
#checkx = #41x
#checky = #41y
elseif #xx == 24
#checkx = #42x
#checky = #42y
elseif #xx == 25
#checkx = #43x
#checky = #43y
elseif #xx == 26
#checkx = #44x
#checky = #44y
elseif #xx == 27
sleep 5000
goto :warehouse
endif

//아이템의 등급색 확인
sleep 100
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 3000
goto :sell
else
#xx = #xx + 1
goto :check
endif

//아이템 세부정보창 판매
:sell
sleep 1000
getcolor #color #sellx #selly
sleep 50

if #color == #sellc
toast 아이템을 파는 중입니다

//-------------------------물약이면 판매
getcolor #color1 386 464
sleep 50
if #color1 == 2061723 or #color1 == 2313338 or #color1 == 4160675
sleep 1000
toast 물약을 발견
touchpress 0 48 530
sleep 3000

//확인을 클릭
touchpress 0 161 527
sleep 1000

// 엑스를 눌르자
sleep 50
touchpress 0 431 722
sleep 2000
#xx = #xx + 1
goto :check
endif
//----------------------------------------

//판매 클릭
sleep 3000
touchpress 0 48 530
sleep 3000
//등급판매 클릭
touchpress 0 169 250
sleep 3000
goto :check4

:check3
// 나가기
sleep 10000
touchpress 0 67 31
sleep 1000
endif
goto :go

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

//등급판매 안되는 아이템 확인
getcolor #color #sellx #selly
sleep 50
if #color == #sellc
toast 등급판매 안되는 아이템
sleep 50
touchpress 0 431 722
sleep 2000
#xx = #xx + 1
goto :check
else
goto :check3
endif


// 창고로 이동
:warehouse
getcolor #color #inshopx #inshopy
sleep 50
if #color == #inshopc and #xx == 27
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 :storecheck2

:storecheck1
//나가기
sleep 5000
touchpress 0 67 31
sleep 5000
touchpress 0 67 31
#xx = 11
endif

goto :go


//창고가 가득찼는지 확인
:storecheck2
sleep 3000
getcolor #color #11x #11y
if #color != 6327459
sleep 50
toast 창고가 가득찼습니다.
#full = 1
endif
goto :storecheck1

//인벤 오픈 페이지
:bag2
if #bag == #inven
goto :bag1
else
touchpress 0 60 652
sleep 1000
#bag = #bag + 1
goto :bag2
endif
//------------------------------------



//------------------동료소환시간
:second
if #second == #count
sleep 100
touchpress 0 459 374
sleep 1000
endif
goto :gogo1
//------------------



//종료
:end

//----------------------종료설정
:finish1
if #okx != 0 and #oky != 0
goto :back1
else
goto :end
endif

:finish2
if #ok1x != 0 and #ok1y != 0
goto :back2
else
goto :end
endif
//-------------------------------



//종료라벨
:end


  • 임이라고불러 2014.11.27 15:11

    장비창까지 들어가고난뒤 아이템판매에서 가만히 서있습니다...

  • 격구 2014.11.27 15:12

    고생이 많으시네요

  • 샤키 2014.11.27 15:21

    이번 업뎃 되면서 인벤이나 창고 안에 모양 색깔이 바뀌어서 그런듯 한데요? 그부분 수정을 봐야 작동할듯

  • 신뺑이 2014.11.27 15:32

    그렇군요~~수고많으세영


  • 일망이 2014.11.27 15:51

    //장비판매 안
    var #inshopx 23
    var #inshopy 753
    var #inshopc 1780059
    var #bag 1

    전 여기서 #inshopc 1780315 로 바꿔주니 잘되네요;

  • profile
    우왕zz 2014.11.27 22:37
    감사합니다 저도 그걸로 바꾸니 되네요 죄송한데 바꾼값 어떻게 찾으신건가요?
  • 열왕 2014.11.27 22:48
    히로 매크로 디버그를 확인하시면 해당좌표의 색값이 나옵니다
  • 은풍이 2014.11.27 16:09

    일망이님 말씀되로 1780315 바꿔주니 정상 작동하네여 감사함니다.

  • 까칠한명이 2014.11.27 19:34

    저는 색값바꺼바도 안되내요..ㅡ.ㅜ


    한참멍때리다가 창고루 가버리내요


    아학 머가문제지..

  • 킴네브님 2014.11.27 20:30

    1780315 요걸로 바꿔도 흰템만 찍고 멍때리네요...ㅇ ㅏ효..


List of Articles
분류 제목 글쓴이 최근변경 추천
질문 레이드 장비정리 스크립트 좀알려주실수있으신가요? 운영자님감사 2014.11.27 0/0
질문 히로 초보입니다 도움좀 주세요.. 룡이 2014.11.27 0/0
자유 방금 패치전까지 잘사용하고있었는데요, 장비설정을위... 6 lectea 2014.11.28 0/0
정보 별이되어라] 업뎃 이후 장비판매 오작동 해결방법(수정... 13 로기리 2014.11.30 1/0
자유 장비판매 오류나시는분들 참고하세요. 16 미역 2014.11.30 2/0
자유 라이안님 스스스작 쓰는분중에 가방정리 해결하신분 있... 쭤풔쭤풔 2014.11.27 0/0
자유 별되하는사람님. 통합 스크립트 보내주실수없나요? 24 김세현님 2015.06.10 0/0
질문 혹시 업데이트 후 미궁 스크립트 있으신 분 없나요? 1 김세현님 2015.06.10 0/0
정보 1일 ㅅㅅㅅ작 사막지대인식. 15 아르셀린 2014.12.07 1/0
질문 히로 매크로 색값이 꼭 필요 한가요? 1 르마르딘 2014.11.29 0/0
질문 업데이트후 장비판매 4 곰돌이옹 2014.11.29 0/0
질문 랜덤하게 sleep 시간을 정하고 싶은데 어떻게 하면 좋... 5 하늘만큼 2015.06.05 0/0
정보 27일 업데이트 이후 9번방반복 스크립트입니다. 20 임이라고불러 2014.12.09 2/0
정보 별이되어라 아레나 스크립트 수정해봤어요. 8 Koco 2014.12.02 1/0
질문 동일맵반복 스크립트인데... 수정을해도 판매부분에서 ... 10 임이라고불러 2014.11.27 0/0
자유 오늘 업뎃이후... 1 qkekdid 2014.11.27 0/0
자유 오늘패치로 UI변경된게 3가지정도 보이네요 5 epox 2014.11.27 0/0
자유 별되 아이템 판매 관련 수정사항 17 zkflsk 2014.11.28 4/0
자유 지니모션이 안되서..... 3 네이아이디 2014.11.27 0/0
질문 패치후 태완님 스스스작 템파는게 안되네요. 6 샤샤 2014.11.27 0/0
Board Pagination Prev 1 ... 9293949596979899100 ... 123 Next
/ 123

전체 최신 인기글

전체 주간 인기글