매크로

조회 수 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
분류 제목 글쓴이 최근변경 추천
자유 히로메크로.... 2 헤븐이갑이다 2015.02.06 0/0
질문 히로메크로... 레드노마 2015.02.04 0/0
자유 히로메크로 핸드폰으로 쓰시는분 있나요(세나 하는분 ... 1 의정부휴지남 2015.03.03 0/0
질문 히로메크로 하는법좀... 3 noru목검 2014.10.24 0/0
자유 히로메크로 초보 질문 3 소중한와니 2017.08.10 0/0
자유 히로메크로 제작자는 어떻게 된걸까요? 2 태초령 2015.06.06 0/0
자유 히로메크로 와 블레이드 닥돕 2014.11.30 0/0
질문 히로메크로 실행이안되요.. 도와주세용 백인노 2014.11.07 0/0
질문 히로메크로 스크립트를 복붙하는데여... 4 냐호하 2014.12.09 0/0
자유 히로메크로 스크립트가 점점 없어지는듯하네요 4 카셀 2015.02.04 0/0
질문 히로메크로 스크립트 작성 고수님들 도와주세요 2 qthing 2015.06.02 0/0
질문 히로메크로 설치는 했는데 진행이,,,, 4 나노산업 2015.01.12 0/0
질문 히로메크로 사용법 같은건 없나요? 5 생강 2014.12.28 0/0
자유 히로메크로 별이되어라 심연 레이드 매크로좀 만들어주... 23 번개맞은콩 2014.11.16 1/0
자유 히로메크로 별되어라 티켓작 관런 1 비니파파 2015.05.06 0/0
질문 히로메크로 별되 길전 질문입니다. 1 meiri 2015.08.06 0/0
질문 히로메크로 베스트팁을 못보네요 .ㅠ 28 지상최고 2015.03.31 0/0
질문 히로메크로 반복어떻게하나요?ㅎㅎ 1 개삼이 2015.02.12 0/0
질문 히로메크로 문의 3 무한로딩 2015.11.23 0/0
질문 히로메크로 몬길 돌아가나요?? 2 뽕도얌 2015.07.08 0/0
Board Pagination Prev 1 2345678910 ... 123 Next
/ 123

전체 최신 인기글

전체 주간 인기글