2014.11.13 11시. 아차차 이건 맵이 요폭까지만 뚤어져있어야 사용가능합니다.
간단하게 클릭이후라서.. 맵이 지나가면 웁스입니다...
가시구릉은?
//골렘언덕
var #k1x 118
var #k1y 726
var #k1c 198663
이부분을...
//잊혀진 심장
var #k1x 157
var #k1y 566
var #k1c 1326673
로수정후 하시면되고요...
밑에
:k1
sleep 50
getcolor #color #k1x #k1y
sleep 50
if #color == #k1c
toast 잊혀진심장
sleep 1000
touchDown 0 197 396
sleep 100
touchUp 0
sleep 500
goto :go
endif
이렇게 바꿔주시면 가시구릉 사용가능합니다.
능력자분들.. 이 2곳을 색인식으로 둘중하나는 들어가게하는방법좀 알려주시면 감사하겠습니다.ㅠㅠ
매번 자료만 가져다가 쓰고 집에서 혼자 수정해서 쓰다가 이렇게 올려봅니다
전에 3번방 신발구매라고 올리신분 메크로를 가져다가 태환님의 메크로와 라이아님의 메크로 합성으로 만들었습니다
기본 베이스는 거기에 있으니.. 참고 부탁드립니다.
수정해야할부분있으면 언제든지 해주시고요..^^;;?
현재 구현은 요폭 3번방과 신맵 가시구릉 9번방입니다(개인적은 노가다로인해.ㅎㅎ)이부분은 개인취향에맞게 수정가능하세요
구절구절 죄송합니다.. 일단 보시지요.ㅎ
DEVICE: Dragonblaze 4.2.2
SCREEN_SIZE: 480x800
var #color 0
var #colorexit 0
// 자신이 연 인벤의 끝페이지 (3페이지까지면 3으로 수정)
var #inven 1
//골렘언덕
var #k1x 118
var #k1y 726
var #k1c 198663
//신발 부족
var #key 0
var #keyx 276
var #keyy 339
var #keyc 6975864
//3번방 9번방 체크하기3번방 (351.265)9번방(349.622)
var #placex 351
var #placey 265
//신발구매여부 신발 사기 159 516, ?사지 않기 163 368
var #shoex 159
var #shoey 516
?
// 사냥터 입장시 친구 선택 부분 좌표 96 577//밑에서는 96 577 위에서는 367 557
// 친구 선택 사용 안할시 좌표 0 0 으로 수정 //
?
var #friendx 367
var #friendy 557
?//동료 가득차면 매크로 종료 0 0
//동료 가득차도 계속 진행 142 464
var #okx 0
var #oky 0
//장비와 창고 모두 가득차면 매크로 종료 0 0
//장비와 창고 모두 가득차도 계속 진행 142 464
// (장비와 창고 모두 가득차도 계속 진행하면?
// ?장비와 창고가 가득찬 후에 동료가득찬건 확인 불가)
var #ok1x 142
var #ok1y 464
//장비정리 하려면 153 254
//장비정리 안하려면 142 464
var #ok2x 153
var #ok2y 254
//----장비판매관련------------------------------------------
//아이템색깔
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 7900555
var #bag 1
//장비칸
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 #checkx 0
var #checky 0?
//---------------------------
//55000원 팝업
var #popx 340
var #popy 157
var #popc 2134479
//110000원 팝업
var #pop1x 351
var #pop1y 160
var #pop1c 4334262
//모험 여관////////////
var #mainx 454
var #mainy 387
var #mainc 5331103
?
//친구 선택 창
var #ax 441
var #ay 252
var #ac 15527148
//사냥터?
var #gox 398
var #goy 307
var #goc 5424098
//사냥터 중..
var #gogo1x 54
var #gogo1y 85
var #gogo1c 14478317
//모험 보상 확인 창
var #okx 51
var #oky 279
var #okc 15527148
//사냥 종료부분 나가기 9번방
var #exitx 351
var #exity 601
var #exitc 70
//사냥 종료부분 나가기 7번방
var #exit1x 245
var #exit1y 599
var #exit1c 47
var #exit11x 220
var #exit11y 511
var #exit11c 5666090
//사냥 종료부분 나가기 5번방
var #exit2x 242
var #exit2y 509
var #exit2c 57
?
//////////////////////////////////////////
//매크로 시작 라벨
:start
sleep 100
//55000원 팝업 확인
:pop
sleep 100
getcolor #color #popx #popy
sleep 50
if #color == #popc
toast 팝업 취소
sleep 1000
touchDown 0 50 312
sleep 100
touchUp 0
sleep 300
touchDown 0 158 483
sleep 100
touchUp 0
sleep 300
goto :main
endif
//110000원 팝업 확인
:pop1
sleep 100
getcolor #color #pop1x #pop1y
sleep 50
if #color == #pop1c
toast 팝업 취소
sleep 1000
touchDown 0 50 312
sleep 100
touchUp 0
sleep 300
touchDown 0 158 483
sleep 100
touchUp 0
sleep 300
goto :main
endif
//모험 여관
:main
sleep 3000
getcolor #color #mainx #mainy
sleep 50
if #color == #mainc ?and #key == 0
toast 모험 하기
sleep 1000
touchpress 0 50 758
sleep 1000
goto :k1
elseif #color == #mainc ?and #key == 1
toast 신발상점으로 이동합니다
goto :key
endif
?
//골렘언덕
:k1
sleep 50
getcolor #color #k1x #k1y
sleep 50
if #color == #k1c
toast 요정폭포
sleep 1000
touchDown 0 305 609
sleep 100
touchUp 0
sleep 500
goto :go
endif
?
//사냥터 입장 라벨
:go
sleep 100
getcolor #color #gox #goy
sleep 50
if #color == #goc
toast 사냥 시작
sleep 1000
touchDown 0 #placex #placey
sleep 100
touchUp 0
sleep 500
goto :gogo
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
touchpress 0 64 33
sleep 1000
touchpress 0 64 33
#key = 1
goto :start
//빨간글씨 삭제하실 경우
//여기에 아랫줄 넣으셔야합니다.
//goto :key?
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 500
touchpress 0 457 788
sleep 1000
goto :gogo1
else
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
sleep 500
toast 사냥 중....
sleep 300
touchpress 0 146 416
sleep 500
touchpress 0 30 420
sleep 300
sleep 500
touchpress 0 146 416
sleep 500
touchpress 0 457 788
sleep 500
touchpress 0 30 420
sleep 500
touchpress 0 146 416
sleep 500
touchpress 0 457 788
sleep 1000
goto :start /////////////////////////////////////////////////////
?
////---------------------자동신발구매--------------------
// 신발 부족
:key
sleep 3000
getcolor #color #mainx #mainy
sleep 50
if #color == #mainc
touchpress 0 43 584?
sleep 1000
touchpress 0 61 328?
sleep 500
touchpress 0 61 328
sleep 500
touchpress 0 61 328
sleep 500
touchpress 0 61 328
sleep 500
touchpress 0 61 328
sleep 500
?
?
touchpress 0 307 647
sleep 1000
touchpress 0 307 647
sleep 1000
touchpress 0 159 479
sleep 1000
touchpress 0 449 771
sleep 1000
touchpress 0 449 771
#key = 0
endif
goto :start
////---------------------자동신발구매--------------------
////-----------------------장비 정리---------------------
//////////////////////아이템 좌표값 설정 순서대로
: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
goto :storecheck2
:storecheck1
//나가기
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 창고가 가득찼습니다.
#full = 1
endif
goto :storecheck1
//인벤 페이지 확인
:bag2
if #bag == #inven
goto :bag1
else
touchpress 0 60 652
sleep 1000
#bag = #bag + 1
goto :bag2
endif
////-----------------------장비 정리---------------------
////-----------------------종료확인----------------------
: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?
만약 두곳중 한곳색인식으로 들어가는 방법을 알려주실분이 있으시다면.. 감사히..받겠습니다.ㅠㅠ
elseif를 사용해봤지만.. 인식이 않되네요.ㅠㅠ;; 슬픔이ㅠㅠ