매크로

조회 수 595 추천 2 댓글 13

기본 배이스는 태환은린님 꺼구요...


좌표 수정만 적어노면 해매는 분들이 계셔서... 통으로 올려보아요...


개인테스트로 20번가량 해봤는데 좌표 찾는데는 문제 없는데


혹시 몰라 두군대 찍어놓긴 했네요...


검은마루 절벽까지 다 클리어 한 상태에서 하셔야 해요 ㅎㅎ;;



DEVICE: star_3.2
SCREEN_SIZE: 480x800


//-----------------------개인설정

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

var #inven 4

// 심연 입장시 좌표 아래 수정
?????????????????????????? go1 268 745
?????????????????????????? go11 260 745

// 황천-벨무트 입장시? 좌표 go1? 좌표370 136 으로 수정
??????????????????????????????????? ?? go11 좌표360 136?
???????????????????
// 레이드 입장 부분
var #go1x 268
var #go1y 745
var #go11x 260
var #go11y 745
//--------------------------------


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

//자정 메크로
var #clockx 64
var #clocky 529
var #clockc 9553375
var #clock1x 114
var #clock1y 163
var #clock1c 726045

//모험자여관
var #mainx 109
var #mainy 779
var #mainc 5346447

//월드맵
var #worldx 457
var #worldy 269
var #worldc 16777215

//레이드 대기 화면
var #main1x 419
var #main1y 331
var #main1c 9689578

//모험하기
var #gox 33
var #goy 780

//레이드 신청
var #go2x 49
var #go2y 726

//레이드 입장 확인
var #go3x 162
var #go3y 411

//레이드 실패
var #goxx 321
var #goxy 175
var #goxc 923941

//죽었다
var #diex 399
var #diey 20
var #diec 0

//레이드 거절
var #goxxx 151
var #goxxy 767
var #goxxc 3356048

//사냥터에서 멈춤
var #exitx 265
var #exity 720
var #exitc 9615284

//수락 확인
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 1780059

//아이템 세부정보창 화면 확인 값
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 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 #bag 1

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

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


//매크로 시작 라벨
:start
sleep 100

//루프 라벨
:loop
sleep 10

//자정
:clock
sleep 100
getcolor #color #clockx #clocky
sleep 50
if #color == #clockc
toast 자정
sleep 1000
touchpress 0 72 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
touchpress 0 46 450
sleep 500
touchpress 0 46 450
sleep 500
touchpress 0 46 450
sleep 500
touchpress 0 46 450
sleep 500
touchpress 0 46 450
sleep 500
touchpress 0 46 450
sleep 500
touchpress 0 46 450
sleep 500
endif

//자정1
:clock1
sleep 100
getcolor #color #clock1x #clock1y
sleep 50
if #color == #clock1c
toast 팝업
sleep 1000
touchpress 0 46 450
sleep 500
touchpress 0 46 450
sleep 500
touchpress 0 46 450
sleep 500
touchpress 0 46 450
sleep 500
touchpress 0 46 450
sleep 500
touchpress 0 46 450
sleep 500
touchpress 0 46 450
sleep 500
touchpress 0 456 782
sleep 500
endif


////-----------------------레이드 입장---------------------
//모험 여관
:main
sleep 3000
getcolor #color #mainx #mainy
sleep 50
if #color == #mainc and #key == 0
toast 모험 하기
sleep 1000
touchpress 0 #gox #goy
sleep 6000
endif


//월드맵, 레이드 입장
:world
getcolor #color #worldx #worldy
sleep 50
if #color == #worldc
sleep 1000
toast 레이드 시작
touchdown 0 337 50
sleep 1000
touchmove 0 450 50
sleep 1000
touchup 0
sleep 1000
touchpress 0 #go1x #go1y
sleep 1000
touchpress 0 #go11x #go11y
sleep 3000
getcolor #color1 230 180
sleep 100
getcolor #color2 152 176
sleep 100
getcolor #color3 259 268
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 :shopgo
endif
if #color1 == 923941 and #color2 == 16579836 and #color3 != 16777215
goto :ticket
endif
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
//----------------------------------
?



//----------------------레이드--------------
//레이드 메인화면
:go1
sleep 100
getcolor #color #main1x #main1y
sleep 50
if #color == #main1c
toast 레이드 대기 화면
sleep 1000
toast 레이드 시작
sleep 100
touchpress 0 #go2x #go2y
sleep 1000
touchpress 0 #go3x #go3y
sleep 1000
endif


//레이드중 라벨
:gogo
toast 레이드 중....
sleep 1000
touchpress 0 340 760
sleep 100


//죽었다
:die
sleep 1000
getcolor #color #diex #diey
sleep 50
if #color == #diec
sleep 50
toast 죽었다 부활하자
sleep 1000
touchpress 0 51 640
sleep 1000
touchpress 0 51 711
sleep 1000
endif


//레이드 실패
:gox
sleep 50
getcolor #color #goxx #goxy
sleep 50
if #color == #goxc
sleep 50
toast 실패하여 돌아갑니다.
sleep 1000
touchpress 0 #nox #noy
sleep 1000
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
//----------------------레이드--------------

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
goto :start
else
goto :start
endif

//등급판매 안되는템(보석 등) 확인
: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

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

goto :start

:storecheck2
sleep 3000
getcolor #color #11x #11y
if #color != 6327459
sleep 50
toast 창고가 가득찼습니다.
goto :end
endif
goto :storecheck1

//인벤 페이지 확인
:bag2
if #bag == #inven
goto :bag1
else
touchpress 0 60 652
sleep 1000
#bag = #bag + 1
goto :bag2
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
////-----------------------장비 정리---------------------


:end



List of Articles
분류 제목 글쓴이 최근변경 추천
질문 지니모션 히로매크로 좌표 색상이 안나와요 7 제임스 2014.09.25 0/0
질문 폰으로 히로 매크로 돌리는데요 보안오류 나오내요 7 프랩히로좋아 2014.11.21 0/0
자유 보안코드오류 원인은 이겁니다. 9 유사쿠라다 2014.10.16 0/0
질문 히로 매크로 사용 12 슈타 2014.12.19 0/0
질문 히로매크로 색값 인식 스크립트 정상작동하시는분 계신... 5 한계돌파 2014.10.21 0/0
자유 몬길 업데이트 이후 T-900에서 getColor 문제있는듯 합... 3 유케이 2014.09.27 0/0
질문 업뎃후, 히로매크로 색값인식방법 캡쳐 이외 다른건 안... 3 Go혁 2014.09.28 0/0
질문 히로매크로에서 5 비타훈 2014.10.06 0/0
질문 보안에러 나시는분들중에 3 유사쿠라다 2014.09.29 0/0
정보 별이되어라 매크로 - 사용 불가 29 숨어야산다 2015.02.05 0/0
자유 그래도 히로덕분에 어느정도 괜찮게 매크로는 돌리네요.. 4 곰발바닥 2014.09.28 0/0
자유 보안오류 도저히답이안나오네요. 뭔짓을해도ㅡㅡ 4 토링엘 2014.09.28 0/0
자유 당분간은 히로대신 1004를 써야할듯 하네요... Go혁 2014.09.28 0/0
자유 (몬길)히로매크로 잘되는데 왜그러시는지??? 5 땅꼬마JY 2014.09.29 0/0
자유 히로매크로 질문입니다 간단한건데 어려워요 2 aotom 2014.12.19 0/0
자유 보안오류뜨는게 주기적이아닌걸보면.. 3 토링엘 2014.09.28 0/0
질문 드만은 히로매크로 사용해야되나요? 1 구의동개작두 2014.09.28 0/0
질문 스크립트 옮기기에 관한 질문. 3 데이비드베큠 2014.10.01 0/0
자유 색인식사용시 보안코드 5 팔색조 2014.11.12 0/0
자유 히로매크로 팁~ 2 희망의끈 2014.09.29 0/0
Board Pagination Prev 1 2345678910 ... 123 Next
/ 123

전체 최신 인기글

전체 주간 인기글