매크로

조회 수 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
분류 제목 글쓴이 최근변경 추천
정보 별이되어라 초간단 아레나 스크립트 공유 6 12312 2015.02.11 2/0
자유 제 스스스 스크립트 받으신분~ 비훑 2015.01.17 2/0
정보 별되를 포함 한 모든 게임 스크립트 관련 팁 8 역삼신세경 2015.04.09 2/0
정보 [별이되어라] 동료 강화 스크립트제작에 대한 개인적인... 24 하르핌 2015.01.03 2/0
자유 ㅠㅠ 24분 전에 있었는데 못봣어!!!! 17 ISar 2014.12.23 2/0
자유 이런거 올려도 되나 모르겠는데 12 뎌애이라 2014.12.27 2/0
정보 신화 요정폭포 3번방 무한 13 별되만세 2015.01.17 2/0
자유 사담입니다만.... 10 epox 2014.12.19 2/0
자유 쪽지로 날린 150포인트 너무 아깝네요.. 51 김세현님 2014.12.22 2/0
자유 매크로 돌리고 있습니다...;; 21 흰수염루피 2014.12.23 2/0
자유 용주골님 스크립트 한번 올려주실분.. 16 김세현님 2014.12.19 2/0
자유 [별되]역시 혹시나 했는데 결론났군요 ㅋ 29 벤클리프 2014.12.24 2/0
정보 지니모션 렉때문에 매크로 장시간 이용시 멈추는분들 ... 12 우렁이 2015.02.18 2/0
질문 레이드 초대하기/초대받기 만들어 주실분 4 단테헌터 2015.01.06 2/0
자유 벤클리프님 하스작이! 31 아버지의핫팩 2015.01.26 2/0
정보 제 꺼 스스스 수정된 부분 참고 하세요 31 벤클리프 2014.12.19 2/0
자유 매크로2배속 ㅡㅡ; 9 벤클리프 2014.12.13 2/0
자유 신발까지 자동구매로 할 필요가 있나요? 11 김세현님 2014.12.14 2/0
자유 안녕하세요 벤클리프입니다. 18 벤클리프 2014.12.13 2/0
정보 심연..레이드도 찾는분들이 계시는거 같아서 13 하나비시 2014.12.17 2/0
Board Pagination Prev 1 2345678910 ... 123 Next
/ 123

전체 최신 인기글

전체 주간 인기글