지금현재 신화모드까지 갔는데 신화모드에서 용병+장비때문에
더이상 진행을 못합니다 ㅠ
전설 데스크라운에서 장비좀 맞추려고하는데 이 매크로를 사용하면
메인 여관화면에서 가만히 멈춰서있습니다 ㅠ
var #muhan 35
이거로 바꿨는데 말이죠
이거말고 다른부분 수정해야될부분좀 알려주세요
?
//=======================================================
//=======================개인설정========================
//=======================================================
//난이도 일반 10, 영웅 20, 전설 30, 신화 40
//코모도 페어리 1,스톰타일런트 2, 정글퓨리 3, 블랙마운틴 4
//데스크라운 5, 화염의피닉스 6, 심연 7, 벨무트 8
//난이도 + 지역 + 방
//예)전설 데스크라운 = 35
var #muhan 0
?
// 자신이 연 인벤의 끝페이지 (3페이지까지면 3으로 수정)
var #inven 1
//=======================================================
//=======================================================
//=======================================================
?
var #color 0
var #colorexit 0
var #color1 0
var #color2 0
var #color3 0
var #color4 0
var #ticket 0
var #stage 0
var #level 0
//-------------------------------------------------------
//----------------------팝업창관련-----------------------
//-------------------------------------------------------
//자정매크로1
var #clock1x 447
var #clock1y 333
var #clock1c 5555170
var #clock2x 65
var #clock2y 138
var #clock2c 9553375
?
//자정 메크로2
var #clockx 362
var #clocky 311
var #clockc 3978718
?
//55000원 팝업
var #popx 340
var #popy 157
var #popc 2003406
?
//110000원 팝업
var #pop1x 351
var #pop1y 160
var #pop1c 4334262
//-------------------------------------------------------
//-------------------------------------------------------
//-------------------------------------------------------
?
//-------------------------------------------------------
//----------우편함 및 친구 돋보기 나가기-----------------
//-------------------------------------------------------
var #mailx 451
var #maily 325
var #mailc 16777215
var #frlenx 21
var #frleny 215
var #frlenc 1839179
var #frlen1x 30
var #frlen1y 453
var #frlen1c 4086701
//-------------------------------------------------------
//-------------------------------------------------------
//-------------------------------------------------------
?
//-------------------------------------------------------
//---------------------사냥터 입장관련-------------------
//-------------------------------------------------------
//모험 여관 화면 확인
var #mainx 464
var #mainy 387
var #mainc 4260169
?
//월드맵 화면 확인
var #worldx 457
var #worldy 269
var #worldc 16777215
//-------------------------------------------------------
//-------------------------------------------------------
//-------------------------------------------------------
?
//-------------------------------------------------------
//-------------------레이드 관련-------------------------
//-------------------------------------------------------
//레이드 대기 화면 확인
var #main1x 419
var #main1y 331
var #main1c 9689578
?
//사냥중 확인
var #huntx 46
var #hunty 29
var #huntc 16777215
?
//죽었다
var #diex 399
var #diey 25
var #diec 0
?
//레이드 실패
var #failx 302
var #faily 270
var #failc 3362254
?
//도전한 기록 취소
var #canclex 321
var #cancley 175
var #canclec 923941
?
//레이드 거절
var #goxxx 116
var #goxxy 749
var #goxxc 3622224
//사냥터에서 멈춤
var #exitx 265
var #exity 720
var #exitc 3622224
?
//초대 수락 확인
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 395
var #11y 485
var #12x 399
var #12y 567
var #13x 396
var #13y 650
var #14x 395
var #14y 731
var #21x 301
var #21y 484
var #22x 305
var #22y 567
var #23x 306
var #23y 650
var #24x 306
var #24y 732
var #31x 220
var #31y 484
var #32x 213
var #32y 567
var #33x 214
var #33y 649
var #34x 219
var #34y 732
var #41x 128
var #41y 485
var #42x 124
var #42y 567
var #43x 126
var #43y 649
var #44x 126
var #44y 732
var #xx 0
var #full 0?
var #bag 1
?
//장비체크
var #checkx 0
var #checky 0?
//-------------------------------------------------------
//-------------------------------------------------------
//-------------------------------------------------------
?
?
//----------------------매크로 시작----------------------
:start
if #muhan > 10
?#level = #muhan
?#level = #level / 10
?#muhan = #muhan - #level * 10
?#stage = #muhan
endif
//-------------------------------------------------------
//-------------------------루프--------------------------
//-------------------------------------------------------
:loop
sleep 3000
?
//=====================팝업관련==========================
//--------------------자정팝업1--------------------------
:clock1
getcolor #color #clock1x #clock1y
getcolor #color1 #clock2x #clock2y
if #color == #clock1c and #color1 == #clock2c
toast 자정
sleep 1000
touchpress 0 80 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
endif
//-------------------------------------------------------
?
//----------------------자정팝업2------------------------
:clock
getcolor #color #clockx #clocky
if #color == #clockc
toast 자정
sleep 1000
touchpress 0 94 439
sleep 500
touchpress 0 133 415
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
endif
//-------------------------------------------------------
?
//-------------------55000원 팝업 확인-------------------
:pop
getcolor #color #popx #popy
if #color == #popc
toast 팝업 취소
sleep 1000
touchpress 0 50 312
sleep 1000
touchpress 0 158 483
sleep 300
goto :main
endif
//-------------------------------------------------------
?
//------------------110000원 팝업 확인-------------------
:pop1
getcolor #color #pop1x #pop1y
if #color == #pop1c
toast 팝업 취소
sleep 1000
touchpress 0 50 312
sleep 1000
touchpress 0 158 483
sleep 300
goto :main
endif
//-------------------------------------------------------
//=======================================================
?
//==================업적 완료============================
getcolor #color 347 337
if #color == 5825781
toast 업적 완료
touchpress 0 21 691
sleep 3000
goto :main
endif
//=======================================================
?
//===============우편함, 친구돋보기 나가기===============
//-------------------우편함 나가기-----------------------
getcolor #color #mailx #maily
if #color == #mailc
touchpress 0 446 766
endif
//-------------------------------------------------------
//-------------------친구돋보기 나가기-------------------
getcolor #color #frlenx #frleny
getcolor #color1 #frlen1x #frlen1y
if #color == #frlenc and #color1 == #frlen1c
touchpress 0 61 43
endif
//-------------------------------------------------------
//=======================================================
?
//====================사냥터 입장 관련===================
//---------------------모험 여관 확인--------------------
:main
getcolor #color #mainx #mainy
if #color == #mainc
toast 모험 하기
sleep 1000
touchpress 0 50 758
sleep 4000
endif
//-------------------------------------------------------
?
//---월드맵화면 확인,레이드 입장,장비가득 메시지확인-----
:world
getcolor #color #worldx #worldy
if #color == #worldc
toast 레이드 시작
goto :k0
:k1
sleep 5000
getcolor #color1 230 180
getcolor #color2 152 176
getcolor #color3 259 268
getcolor #color4 271 314
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 :shop
endif
if #color1 == 923941 and #color2 == 16579836 and #color3 != 16777215 and #color4 !=?
?
16777215
toast 티켓이 부족합니다
goto :ticket
endif
if #color1 == 923941 and #color2 == 16579836 and #color3 != 16777215 and #color4 ==?
?
16777215
toast 레이드 초대를 받았습니다
touchpress 0 153 468
sleep 1000
touchpress 0 59 30
sleep 2000
goto :goxx
endif
endif
//-------------------------------------------------------
//=======================================================
?
//====================레이드 관련========================
//----------------레이드 메인화면 확인-------------------
:riadmain
getcolor #color #main1x #main1y
if #color == #main1c
toast 레이드 대기 화면
sleep 1000
toast 레이드 시작
sleep 100
touchpress 0 49 726
sleep 1000
touchpress 0 162 411
sleep 8000
toast 사냥이 시작되었습니다
endif
//-------------------------------------------------------
?
//---------------레이드 중 확인, 부활--------------------
:hunting
getcolor #color #huntx #hunty
if #color == #huntc
toast 레이드중...
goto :die
endif
//-------------------------------------------------------
?
//-------------------레이드 실패 확인--------------------
:fail
getcolor #color #failx #faily
if #color == #failc
sleep 50
toast 레이드 실패
sleep 1000
touchpress 0 #nox #noy
sleep 1000
endif
//-------------------------------------------------------
?
//-------------------도전한 기록 취소--------------------
:cancle
getcolor #color #canclex #cancley
if #color == #canclec
sleep 50
toast 결성된 파티 도전 취소
sleep 1000
touchpress 0 #nox #noy
sleep 2000
endif
//-------------------------------------------------------
?
//-------------------레이드 초대 거절--------------------
:goxx
getcolor #color #goxxx #goxxy
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
getcolor #color #exitx #exity
if #color == #exitc
toast 사냥터에서 멈춰서 돌아감
touchpress 0 62 34
sleep 1000
endif
//-------------------------------------------------------
//=======================================================
?
//=================장비창 화면 확인======================
:shop
getcolor #color #inshopx #inshopy
if #color == #inshopc
#bag = 1
goto :bag
:bag1
toast 장비 판매 시작
#xx = 1
sleep 2000
goto :check
endif
//=======================================================
?
goto :loop
//-------------------------------------------------------
//-------------------------루프종료----------------------
//-------------------------------------------------------
?
//=======================================================
//====================상점 판매==========================
//=======================================================
//--------------아이템 좌표값 설정 순서대로--------------
:check
if #xx == 1
#checkx = #11x
#checky = #11y
elseif #xx == 2
#checkx = #12x
#checky = #12y
elseif #xx == 3
#checkx = #13x
#checky = #13y
elseif #xx == 4
#checkx = #14x
#checky = #14y
elseif #xx == 5
#checkx = #21x
#checky = #21y
elseif #xx == 6
#checkx = #22x
#checky = #22y
elseif #xx == 7
#checkx = #23x
#checky = #23y
elseif #xx == 8
#checkx = #24x
#checky = #24y
elseif #xx == 9
#checkx = #31x
#checky = #31y
elseif #xx == 10
#checkx = #32x
#checky = #32y
elseif #xx == 11
#checkx = #33x
#checky = #33y
elseif #xx == 12
#checkx = #34x
#checky = #34y
elseif #xx == 13
#checkx = #41x
#checky = #41y
elseif #xx == 14
#checkx = #42x
#checky = #42y
elseif #xx == 15
#checkx = #43x
#checky = #43y
elseif #xx == 16
#checkx = #44x
#checky = #44y
elseif #xx == 17
sleep 5000
goto :warehouse
endif
//-------------------------------------------------------
?
//--------------------아이템의 등급색 확인---------------
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 4000
goto :sell
else
#xx = #xx + 1
goto :check
endif
//-------------------------------------------------------
?
//----------아이템 세부정보창에서 아이템 판매------------
:sell
getcolor #color #sellx #selly
sleep 50
if #color == #sellc
toast 아이템을 파는 중입니다
goto :potion
:potion1
//판매 클릭
touchpress 0 48 530
sleep 3000
//등급판매 클릭
touchpress 0 169 250
sleep 3000
goto :nosell
:nosell1
// 나가기
sleep #sellwait
touchpress 0 67 31
sleep 1000
endif
goto :start
//-------------------------------------------------------
?
//--------------------물약이면 판매----------------------
:potion
getcolor #color1 386 464
sleep 100
if #color1 == 2061723 or #color1 == 2313338 or #color1 == 4160675
toast 물약을 발견
//판매 클릭
touchpress 0 48 530
sleep 2000
//확인을 클릭
touchpress 0 161 527
sleep 1000
// 엑스를 눌르자
touchpress 0 431 722
sleep 2000
#xx = #xx + 1
goto :check
endif
goto :potion1
//-------------------------------------------------------
?
//------------등급판매 안되는템(보석 등) 확인------------
:nosell
getcolor #color #sellx #selly
sleep 100
if #color == #sellc
toast 등급판매 안되는 아이템
touchpress 0 431 722
sleep 2000
#xx = #xx + 1
goto :check
endif
goto :nosell1
//-------------------------------------------------------
?
//-----------------창고로 아이템 이동--------------------
:warehouse
getcolor #color #inshopx #inshopy
sleep 100
if #color == #inshopc
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 :storecheck
:storecheck1
//나가기
sleep 5000
touchpress 0 67 31
sleep 5000
touchpress 0 67 31
#xx = 11
endif
goto :start
//-------------------------------------------------------
?
//-----------------창고가 가득찼는지 확인-----------------
:storecheck
sleep 3000
getcolor #color #34x #34y
if #color != 4881556
sleep 50
toast 창고가 가득찼습니다.
#full = 1
endif
goto :storecheck1
//-------------------------------------------------------
?
//------------------인벤 오픈 페이지---------------------
:bag
if #bag == #inven
goto :bag1
else
touchpress 0 60 652
sleep 1000
#bag = #bag + 1
goto :bag
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
//=======================================================
?
//=======================부활============================
:die
getcolor #color1 #diex #diey
sleep 100
if #color1 == #diec
toast 죽었다 부활하자
sleep 500
touchpress 0 51 640
sleep 500
touchpress 0 51 711
sleep 500
touchpress 0 51 788
endif
sleep 2000
goto :hunting
//=======================================================
?
//====================레이드 찾아가기====================
:k0
if #level == 1
touchpress 0 63 102
elseif #level == 2
touchpress 0 63 183
elseif #level == 3
touchpress 0 63 254
elseif #level == 4
touchpress 0 63 332
endif
sleep 1000
if #stage > 0 and #stage < 6
//-----------좌측상단 맵기준-----------------------------
touchpress 0 460 269
sleep 1000
touchdown 0 454 66
touchmove 0 0 800
touchup 0
//-------------------------------------------------------
endif
if #stage > 5
//--------------------맵기준-----------------------------
touchpress 0 455 539
sleep 1000
touchdown 0 124 619
touchmove 0 480 0
touchup 0
//-------------------------------------------------------
endif
sleep 1000
if #stage == 1
touchdown 0 417 731
touchmove 0 0 0
touchup 0
sleep 1000
touchpress 0 347 671
elseif #stage == 2
touchdown 0 104 233
touchmove 0 480 800
touchup 0
sleep 1000
touchpress 0 435 125
elseif #stage == 3
touchdown 0 142 620
touchmove 0 478 197
touchup 0
sleep 1000
touchpress 0 147 694
elseif #stage == 4
sleep 1000
touchpress 0 293 594
elseif #stage == 5
touchdown 0 187 589
touchmove 0 399 481
touchup 0
sleep 1000
touchpress 0 315 559
elseif #stage == 6
touchdown 0 431 717
touchmove 0 0 0
touchup 0
sleep 1000
touchpress 0 352 617
elseif #stage == 7
touchdown 0 115 173
touchmove 0 161 608
touchup 0
sleep 1000
touchpress 0 277 617
elseif #stage == 8
touchdown 0 120 106
touchmove 0 480 800
touchup 0
sleep 1000
touchpress 0 383 161
endif
goto :k1
//=======================================================
?
:end
여관에서 넘어가지 않는경우는 여관 색값이 안맞는경우 입니다.
?
//모험 여관 화면 확인
var #mainx 464
var #mainy 387
var #mainc 4260169
?
이부분을 확인하세요~
?