제가지금 스크립트를구해서 쓰고있는데요 자꾸 장비창가서 템은안팔고 바로 창고가기누르더니 모험하기가뜨는데...이거왜이러는걸까요 사냥터에서도 9번방까지가면 매크로가 종료되었다고 뜨고 ㅠㅠ 이거 어떻게 수정할방법없을까요 고수님들 부탁점드립니다 ㅠ
수정하는방법이나 수정좀해주새요 ㅠㅠ
?
?
?
:start
DEVICE: star_3.0
SCREEN_SIZE: 480x800
// 캐릭터 장비 인벤의 끝페이지 (3페이지까지면 3으로 수정)
var #inven 1
// 사냥터 입장시 친구 선택 사용 안할시?? 0???? 0
// 사냥터 입장시 친구 선택 부분 좌표??? 369?? 564
var #friendx 369
var #friendy 564
//동료 가득차면 매크로 종료?? 0????? 0
//동료 가득차도 계속 진행???? 142?? 464
var #okx 0
var #oky 0
//장비와 창고 모두 가득차면 매크로 종료????? 0???? 0
//장비와 창고 모두 가득차도 계속 진행?????? 142?? 464
//(장비와 창고 모두 가득차도 계속 진행하면 장비와
//? 창고가 가득찬 후에 동료 가득 찬건 확인 불가)
var #ok1x 0
var #ok1y 0
//장비정리 하려면???? 153?? 254
//장비정리 안하려면?? 142?? 464
var #ok2x 153
var #ok2y 254
//55렙 멈추고 사냥 종료?? 374?? 299
//55렙 이후 계속 사냥????? 0???? 0
var #lvx 374
var #lvy 299
//신화모드 요정폭포 3번방 멈춤? 1
//신화모드 계속 진행 원하실경우 0
var #v1 1
//위 설정에서 매크로 종료시만 작동합니다. (55레벨 인식 후 보내기 추가)
//이메일을 보내고 종료?? 1
//이메일을 안보내고 종료 0
var #email 0
//--------------------------------
// 레벨 인식 부분
var #lvc 421527
var #lv1x 374
var #lv1y 307
var #lv1c 361653
//자정 메크로
var #clockx 64
var #clocky 529
var #clockc 9553375
var #clock1x 114
var #clock1y 163
var #clock1c 726045
var #color 0
var #r 0
var #g 0
var #b 0
var #r_ 0
var #g_ 0
var #b_ 0
var #r1 0
var #g1 0
var #b1 0
var #r2 0
var #g2 0
var #b2 0
var #r3 0
var #g3 0
var #b3 0
var #r4 0
var #g4 0
var #b4 0
var #r5 0
var #g5 0
var #b5 0
var #r6 0
var #g6 0
var #b6 0
var #er_m 12
var #er_p 12
var #colorexit 0
var #color1 0
var #color2 0
var #color3 0
var #color4 0
var #c1_r 0
var #c1_g 0
var #c1_b 0
var #c1_r1 0
var #c1_g1 0
var #c1_b1 0
var #c1_r2 0
var #c1_g2 0
var #c1_b2 0
//일반 성체
var #k0x 462
var #k0y 548
var #k0c 3632279
//골렘언덕
var #k1x 419
var #k1y 106
var #k1c 3622425
//추락자의 사막
var #k2x 250
var #k2y 70
var #k2c 1068419
//잊혀진 숲
var #k3x 229
var #k3y 723
var #k3c 1317167
//검은바위 산
var #k4x 431
var #k4y 87
var #k4c 1975609
//크라운즈랜딩 성
var #k5x 243
var #k5y 579
var #k5c 11920114
//신발 부족
var #key 0
var #keyx 276
var #keyy 339
var #keyc 6975864
//방선택
var #room 0
var #roomx 0
var #roomy 0
var #bx 0
var #by 0
var #bc 0
//------------방 터치부분
// 일반 성채방
var #r0x 216
var #r0y 358
var #b0x 268
var #b0y 326
var #b0c 12439550
// 1번방
var #r1x 204
var #r1y 165
var #b1x 254
var #b1y 151
var #b1c 16316664
// 2번방
var #r2x 211
var #r2y 256
var #b2x 256
var #b2y 228
var #b2c 16316664
//3번방
var #r3x 326
var #r3y 256
var #b3x 367
var #b3y 229
var #b3c 16316664
//4번방
var #r4x 325
var #r4y 369
var #b4x 366
var #b4y 319
var #b4c 16316664
//5번방
var #r5x 328
var #r5y 447
var #b5x 367
var #b5y 408
var #b5c 16316664
//6번방
var #r6x 215
var #r6y 448
var #b6x 255
var #b6y 425
var #b6c 16316664
//7번방 - 완
var #r7x 218
var #r7y 536
var #b7x 256
var #b7y 498
var #b7c 16316664
//8번방
var #r8x 215
var #r8y 629
var #b8x 255
var #b8y 599
var #b8c 16316664
//9번방
var #r9x 325
var #r9y 625
var #b9x 366
var #b9y 587
var #b9c 16316664
//55000원 팝업
var #popx 340
var #popy 157
var #popc 2003406
//110000원 팝업
var #pop1x 351
var #pop1y 160
var #pop1c 4400054
//모험 여관
var #mainx 454
var #mainy 641
var #mainc 2819719
?
//친구 선택 창
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
//사냥 종료부분 나가기 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
?//----장비판매관련------------------------------------------
//장비창 화면 확인 값
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 398
var #11y 434
var #12x 393
var #12y 566
var #13x 394
var #13y 649
var #14x 392
var #14y 733
var #21x 309
var #21y 484
var #22x 306
var #22y 566
var #23x 307
var #23y 649
var #24x 305
var #24y 732
var #31x 218
var #31y 484
var #32x 217
var #32y 567
var #33x 218
var #33y 649
var #34x 218
var #34y 733
var #41x 129
var #41y 484
var #42x 131
var #42y 567
var #43x 127
var #43y 649
var #44x 128
var #44y 732
var #xx 0
var #full 0
var #bag 1
//장비체크
var #checkx 0
var #checky 0
//요정폭포 확인
var #v1x 428
var #v1y 390
var #v1c 8568010
var #v2x 401
var #v2y 392
var #v2c 276163
var #v3x 347
var #v3y 265
var #v3c 1266085
//업적 확인
var #ok11x 283
var #ok11y 622
var #ok11c 426695
//---------------------------
///////////////////////메인스크립트///////////////////////////////
//매크로 시작 라벨
:start
sleep 100
//자정
:clock
sleep 100
getcolor #color #clockx #clocky
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #clockc % 256 - #er_m
#g1 = #clockc / 256 % 256 - #er_m
#b1 = #clockc / 256 / 256 % 256 - #er_m
#r2 = #clockc % 256 + #er_p
#g2 = #clockc / 256 % 256 + #er_p
#b2 = #clockc / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
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
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #clock1c % 256 - #er_m
#g1 = #clock1c / 256 % 256 - #er_m
#b1 = #clock1c / 256 / 256 % 256 - #er_m
#r2 = #clock1c % 256 + #er_p
#g2 = #clock1c / 256 % 256 + #er_p
#b2 = #clock1c / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
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
//55000원 팝업 확인
:pop
sleep 100
getcolor #color #popx #popy
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #popc % 256 - #er_m
#g1 = #popc / 256 % 256 - #er_m
#b1 = #popc / 256 / 256 % 256 - #er_m
#r2 = #popc % 256 + #er_p
#g2 = #popc / 256 % 256 + #er_p
#b2 = #popc / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
toast 팝업 취소
sleep 1000
touchpress 0 50 312
sleep 300
touchpress 0 158 483
sleep 300
goto :main
endif
//110000원 팝업 확인
:pop1
sleep 100
getcolor #color #pop1x #pop1y
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #pop1c % 256 - #er_m
#g1 = #pop1c / 256 % 256 - #er_m
#b1 = #pop1c / 256 / 256 % 256 - #er_m
#r2 = #pop1c % 256 + #er_p
#g2 = #pop1c / 256 % 256 + #er_p
#b2 = #pop1c / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
toast 팝업 취소
sleep 1000
touchpress 0 50 312
sleep 300
touchpress 0 158 483
sleep 300
goto :main
endif
//업적 확인
:ok11
sleep 100
getcolor #color #ok11x #ok11y
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #ok11c % 256 - #er_m
#g1 = #ok11c / 256 % 256 - #er_m
#b1 = #ok11c / 256 / 256 % 256 - #er_m
#r2 = #ok11c % 256 + #er_p
#g2 = #ok11c / 256 % 256 + #er_p
#b2 = #ok11c / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
toast 업적 확인
sleep 100
touchpress 0 #ok11x #ok11y
sleep 1000
endif
//모험 여관
:main
sleep 3000
getcolor #color #mainx #mainy
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #mainc % 256 - #er_m
#g1 = #mainc / 256 % 256 - #er_m
#b1 = #mainc / 256 / 256 % 256 - #er_m
#r2 = #mainc % 256 + #er_p
#g2 = #mainc / 256 % 256 + #er_p
#b2 = #mainc / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2 and #key == 0
toast 모험 하기
sleep 1000
touchpress 0 50 758
sleep 3000
goto :k0
elseif #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2 and #key == 1
toast 신발상점으로 이동합니다
goto :key
endif
?
//사냥 종료부분 나가기 9번방
:exit
sleep 50
getcolor #colorexit #exitx #exity
#r = #colorexit % 256
#g = #colorexit / 256 % 256
#b = #colorexit / 256 / 256 % 256
#r1 = #exitc % 256 - #er_m
#g1 = #exitc / 256 % 256 - #er_m
#b1 = #exitc / 256 / 256 % 256 - #er_m
#r2 = #exitc % 256 + #er_p
#g2 = #exitc / 256 % 256 + #er_p
#b2 = #exitc / 256 / 256 % 256 + #er_p
sleep 50
if? #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
toast 9번방 종료
sleep 500
touchpress 0 61 34
sleep 500
touchpress 0 61 34
sleep 500
goto :start
endif
//사냥 종료부분 나가기 7번방
:exit1
sleep 50
getcolor #colorexit #exit1x #exit1y
#r = #colorexit % 256
#g = #colorexit / 256 % 256
#b = #colorexit / 256 / 256 % 256
#r1 = #exit1c % 256 - #er_m
#g1 = #exit1c / 256 % 256 - #er_m
#b1 = #exit1c / 256 / 256 % 256 - #er_m
#r2 = #exit1c % 256 + #er_p
#g2 = #exit1c / 256 % 256 + #er_p
#b2 = #exit1c / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
sleep 50
getcolor #colorexit #exit11x #exit11y
#r = #colorexit % 256
#g = #colorexit / 256 % 256
#b = #colorexit / 256 / 256 % 256
#r1 = #exit11c % 256 - #er_m
#g1 = #exit11c / 256 % 256 - #er_m
#b1 = #exit11c / 256 / 256 % 256 - #er_m
#r2 = #exit11c % 256 + #er_p
#g2 = #exit11c / 256 % 256 + #er_p
#b2 = #exit11c / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
sleep 50
toast 7번방 종료
sleep 500
touchpress 0 61 34
sleep 500
touchpress 0 61 34
sleep 500
goto :start
endif
//사냥 종료부분 나가기 5번방
:exit2
sleep 50
getcolor #colorexit #exit2x #exit2y
#r = #colorexit % 256
#g = #colorexit / 256 % 256
#b = #colorexit / 256 / 256 % 256
#r1 = #exit2c % 256 - #er_m
#g1 = #exit2c / 256 % 256 - #er_m
#b1 = #exit2c / 256 / 256 % 256 - #er_m
#r2 = #exit2c % 256 + #er_p
#g2 = #exit2c / 256 % 256 + #er_p
#b2 = #exit2c / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
toast 5번방 종료
sleep 500
touchpress 0 61 34
sleep 500
touchpress 0 61 34
sleep 500
goto :start
endif
//신화 요정폭포 확인
:go
if #v1 == 0
goto :go1
else
goto :v1
endif
:v1
getcolor #color #v1x #v1y
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #v1c % 256 - #er_m
#g1 = #v1c / 256 % 256 - #er_m
#b1 = #v1c / 256 / 256 % 256 - #er_m
#r2 = #v1c % 256 + #er_p
#g2 = #v1c / 256 % 256 + #er_p
#b2 = #v1c / 256 / 256 % 256 + #er_p
sleep 100
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
sleep 100
getcolor #color #v2x #v2y
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #v2c % 256 - #er_m
#g1 = #v2c / 256 % 256 - #er_m
#b1 = #v2c / 256 / 256 % 256 - #er_m
#r2 = #v2c % 256 + #er_p
#g2 = #v2c / 256 % 256 + #er_p
#b2 = #v2c / 256 / 256 % 256 + #er_p
sleep 100
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
sleep 100
getcolor #color #v3x #v3y
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #v3c % 256 - #er_m
#g1 = #v3c / 256 % 256 - #er_m
#b1 = #v3c / 256 / 256 % 256 - #er_m
#r2 = #v3c % 256 + #er_p
#g2 = #v3c / 256 % 256 + #er_p
#b2 = #v3c / 256 / 256 % 256 + #er_p
sleep 100
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
sleep 50
toast 신화 요정폭포
sleep 1000
touchpress 0 345 263
sleep 3000
goto :gogo
else
goto :go1
endif
?
//사냥터 입장 라벨
:go1
sleep 500
getcolor #color #gox #goy
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #goc % 256 - #er_m
#g1 = #goc / 256 % 256 - #er_m
#b1 = #goc / 256 / 256 % 256 - #er_m
#r2 = #goc % 256 + #er_p
#g2 = #goc / 256 % 256 + #er_p
#b2 = #goc / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
toast 사냥 시작
sleep 1000
goto :roomselect
endif
?
//사냥터 입장 라벨
:gogo
sleep 500
getcolor #color1 280 334
#r = #color1 % 256
#g = #color1 / 256 % 256
#b = #color1 / 256 / 256 % 256
#r1 = 16316664 % 256 - #er_m
#g1 = 16316664 / 256 % 256 - #er_m
#b1 = 16316664 / 256 / 256 % 256 - #er_m
#r2 = 16316664 % 256 + #er_p
#g2 = 16316664 / 256 % 256 + #er_p
#b2 = 16316664 / 256 / 256 % 256 + #er_p
getcolor #color 255 456
#r_ = #color % 256
#g_ = #color / 256 % 256
#b_ = #color / 256 / 256 % 256
#r3 = 16316664 % 256 - #er_m
#g3 = 16316664 / 256 % 256 - #er_m
#b3 = 16316664 / 256 / 256 % 256 - #er_m
#r4 = 16316664 % 256 + #er_p
#g4 = 16316664 / 256 % 256 + #er_p
#b4 = 16316664 / 256 / 256 % 256 + #er_p
sleep 100
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2 and #r3 < #r_ and #r_ < #r4 and #g3 < #g_ and #g_ < #g4 and #b3 < #b_ and #b_ < #b4
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
getcolor #color 271 174
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = 16316664 % 256 - #er_m
#g1 = 16316664 / 256 % 256 - #er_m
#b1 = 16316664 / 256 / 256 % 256 - #er_m
#r2 = 16316664 % 256 + #er_p
#g2 = 16316664 / 256 % 256 + #er_p
#b2 = 16316664 / 256 / 256 % 256 + #er_p
getcolor #color 240 405
#r_ = #color % 256
#g_ = #color / 256 % 256
#b_ = #color / 256 / 256 % 256
#r3 = 16316664 % 256 - #er_m
#g3 = 16316664 / 256 % 256 - #er_m
#b3 = 16316664 / 256 / 256 % 256 - #er_m
#r4 = 16316664 % 256 + #er_p
#g4 = 16316664 / 256 % 256 + #er_p
#b4 = 16316664 / 256 / 256 % 256 + #er_p
sleep 100
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2 and #r3 < #r_ and #r_ < #r4 and #g3 < #g_ and #g_ < #g4 and #b3 < #b_ and #b_ < #b4
toast 동료가 꽉 찼습니다.
goto :finish1
endif
getcolor #color 295 283
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = 16316664 % 256 - #er_m
#g1 = 16316664 / 256 % 256 - #er_m
#b1 = 16316664 / 256 / 256 % 256 - #er_m
#r2 = 16316664 % 256 + #er_p
#g2 = 16316664 / 256 % 256 + #er_p
#b2 = 16316664 / 256 / 256 % 256 + #er_p
sleep 100
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
toast 가방이 가득찼습니다
sleep 100
touchpress 0 #ok2x #ok2y
sleep 4000
goto :shopgo
:back2
touchpress 0 #ok1x #ok1y
sleep 2000
endif
sleep 1000
getcolor #color #ax #ay
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #ac % 256 - #er_m
#g1 = #ac / 256 % 256 - #er_m
#b1 = #ac / 256 / 256 % 256 - #er_m
#r2 = #ac % 256 + #er_p
#g2 = #ac / 256 % 256 + #er_p
#b2 = #ac / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
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
endif
//---------------------------------------상점 판매 라벨
:shopgo
getcolor #color #inshopx #inshopy
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #inshopc % 256 - #er_m
#g1 = #inshopc / 256 % 256 - #er_m
#b1 = #inshopc / 256 / 256 % 256 - #er_m
#r2 = #inshopc % 256 + #er_p
#g2 = #inshopc / 256 % 256 + #er_p
#b2 = #inshopc / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
sleep 100
#bag = 1
goto :bag2
:bag1
toast 장비 판매 시작
#xx = 11
sleep 2000
goto :check
endif
//----------------------------------
?
//사냥터 입장 라벨
:gogo1
sleep 500
toast 사냥 중....
sleep 300
touchpress 0 146 405
sleep 500
touchpress 0 30 420
sleep 300
touchpress 0 146 405
sleep 500
touchpress 0 457 788
sleep 500
touchpress 0 30 420
sleep 500
touchpress 0 146 405
sleep 500
touchpress 0 457 788
sleep 1000
getcolor #color #lvx #lvy
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #lvc % 256 - #er_m
#g1 = #lvc / 256 % 256 - #er_m
#b1 = #lvc / 256 / 256 % 256 - #er_m
#r2 = #lvc % 256 + #er_p
#g2 = #lvc / 256 % 256 + #er_p
#b2 = #lvc / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
sleep 50
getcolor #color #lv1x #lv1y
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #lv1c % 256 - #er_m
#g1 = #lv1c / 256 % 256 - #er_m
#b1 = #lv1c / 256 / 256 % 256 - #er_m
#r2 = #lv1c % 256 + #er_p
#g2 = #lv1c / 256 % 256 + #er_p
#b2 = #lv1c / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
sleep 50
toast 55렙 이다!
sleep 1000
goto :email
else
goto :start
endif
goto :start
/////////////////////////////////////////////////////
?
?
?
////---------------------스테이지 선택-------------------
:k0
getColor #color #k0x #k0y
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #k0c % 256 - #er_m
#g1 = #k0c / 256 % 256 - #er_m
#b1 = #k0c / 256 / 256 % 256 - #er_m
#r2 = #k0c % 256 + #er_p
#g2 = #k0c / 256 % 256 + #er_p
#b2 = #k0c / 256 / 256 % 256 + #er_p
if #r < #r1 or #r > #r2 or #g < #g1 or #g > #g2 or #b < #b1 or #b > #b2
goto :main
endif
// 크라운즈랜딩 성
toast 크라운즈 랜딩 성
touchDown 0 19 71
sleep 500
touchMove 0 400 700
sleep 50
touchUp 0
sleep 500
touchPress 0 331 631
sleep 100
touchPress 0 357 599
sleep 100
touchPress 0 296 697
sleep 100
touchPress 0 293 572
sleep 100
touchPress 0 334 482
sleep 100
touchPress 0 444 727
sleep 1000
getColor #color #k0x #k0y
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #k0c % 256 - #er_m
#g1 = #k0c / 256 % 256 - #er_m
#b1 = #k0c / 256 / 256 % 256 - #er_m
#r2 = #k0c % 256 + #er_p
#g2 = #k0c / 256 % 256 + #er_p
#b2 = #k0c / 256 / 256 % 256 + #er_p
if #r < #r1 or #r > #r2 or #g < #g1 or #g > #g2 or #b < #b1 or #b > #b2
touchPress 0 450 616
goto :go
endif
// 검은 바위 산
toast 검은 바위 산
touchDown 0 463 54
sleep 500
touchMove 0 10 700
sleep 100
touchUp 0
sleep 500
touchPress 0 358 483
sleep 100
touchPress 0 364 294
sleep 100
touchPress 0 249 277
sleep 100
touchPress 0 200 333
sleep 100
touchPress 0 177 462
sleep 1000
getColor #color #k0x #k0y
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #k0c % 256 - #er_m
#g1 = #k0c / 256 % 256 - #er_m
#b1 = #k0c / 256 / 256 % 256 - #er_m
#r2 = #k0c % 256 + #er_p
#g2 = #k0c / 256 % 256 + #er_p
#b2 = #k0c / 256 / 256 % 256 + #er_p
if #r < #r1 or #r > #r2 or #g < #g1 or #g > #g2 or #b < #b1 or #b > #b2
touchPress 0 450 616
goto :go
endif
// 정글 퓨리
toast 정글 퓨리
touchDown 0 5 794
sleep 500
touchMove 0 400 10
sleep 100
touchUp 0
sleep 500
touchPress 0 291 419
sleep 100
touchPress 0 191 448
sleep 100
touchPress 0 134 420
sleep 100
touchPress 0 179 275
sleep 1000
getColor #color #k0x #k0y
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #k0c % 256 - #er_m
#g1 = #k0c / 256 % 256 - #er_m
#b1 = #k0c / 256 / 256 % 256 - #er_m
#r2 = #k0c % 256 + #er_p
#g2 = #k0c / 256 % 256 + #er_p
#b2 = #k0c / 256 / 256 % 256 + #er_p
if #r < #r1 or #r > #r2 or #g < #g1 or #g > #g2 or #b < #b1 or #b > #b2
touchPress 0 450 616
goto :go
endif
// 추락자의 사막
toast 추락자의 사막
touchDown 0 24 65
sleep 500
touchMove 0 400 700
sleep 100
touchUp 0
sleep 500
touchPress 0 137 517
sleep 100
touchPress 0 371 132
sleep 100
touchPress 0 279 121
sleep 100
touchPress 0 234 161
sleep 100
touchPress 0 283 280
sleep 1000
getColor #color #k0x #k0y
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #k0c % 256 - #er_m
#g1 = #k0c / 256 % 256 - #er_m
#b1 = #k0c / 256 / 256 % 256 - #er_m
#r2 = #k0c % 256 + #er_p
#g2 = #k0c / 256 % 256 + #er_p
#b2 = #k0c / 256 / 256 % 256 + #er_p
if #r < #r1 or #r > #r2 or #g < #g1 or #g > #g2 or #b < #b1 or #b > #b2
touchPress 0 450 616
goto :go
endif
// 골렘 언덕
toast 골렘 언덕
touchDown 0 425 718
sleep 500
touchMove 0 10 10
sleep 100
touchUp 0
sleep 500
touchPress 0 265 636
sleep 100
touchPress 0 299 309
sleep 100
touchPress 0 112 380
sleep 100
getColor #color #k0x #k0y
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #k0c % 256 - #er_m
#g1 = #k0c / 256 % 256 - #er_m
#b1 = #k0c / 256 / 256 % 256 - #er_m
#r2 = #k0c % 256 + #er_p
#g2 = #k0c / 256 % 256 + #er_p
#b2 = #k0c / 256 / 256 % 256 + #er_p
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
goto :main
endif
// 확인
touchPress 0 450 616
goto :go
:end
////---------------------스테이지 선택-------------------
?
?
////-----------------------방선택------------------------
:roomselect
sleep 100
if #room == 0
#bx = #b0x
#by = #b0y
#bc = #b0c
#roomx = #r0x
#roomy = #r0y
elseif #room == 1
#bx = #b1x
#by = #b1y
#bc = #b1c
#roomx = #r1x
#roomy = #r1y
elseif #room == 2
#bx = #b2x
#by = #b2y
#bc = #b2c
#roomx = #r2x
#roomy = #r2y
elseif #room == 3
#bx = #b3x
#by = #b3y
#bc = #b3c
#roomx = #r3x
#roomy = #r3y
elseif #room == 4
#bx = #b4x
#by = #b4y
#bc = #b4c
#roomx = #r4x
#roomy = #r4y
elseif #room == 5
#bx = #b5x
#by = #b5y
#bc = #b5c
#roomx = #r5x
#roomy = #r5y
elseif #room == 6
#bx = #b6x
#by = #b6y
#roomx = #r6x
#roomy = #r6y
elseif #room == 7
#bx = #b7x
#by = #b7y
#bc = #b7c
#roomx = #r7x
#roomy = #r7y
elseif #room == 8
#bx = #b8x
#by = #b8y
#bc = #b8c
#roomx = #r8x
#roomy = #r8y
elseif #room == 9
#bx = #b9x
#by = #b9y
#bc = #b9c
#roomx = #r9x
#roomy = #r9y
elseif #room == 10
sleep 2000
#room = 0
goto :gogo
endif
sleep 100
getcolor #color #bx #by
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #bc % 256 - #er_m
#g1 = #bc / 256 % 256 - #er_m
#b1 = #bc / 256 / 256 % 256 - #er_m
#r2 = #bc % 256 + #er_p
#g2 = #bc / 256 % 256 + #er_p
#b2 = #bc / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
toast #room 번방 입장
sleep 1000
touchpress 0 #roomx #roomy
#room = 0
sleep 2000
goto :gogo
else
#room = #room + 1
goto :roomselect
endif
goto :start
////-----------------------방선택------------------------
?
?
////---------------------자동신발구매--------------------
// 신발 부족
:key
sleep 3000
getcolor #color #mainx #mainy
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #mainc % 256 - #er_m
#g1 = #mainc / 256 % 256 - #er_m
#b1 = #mainc / 256 / 256 % 256 - #er_m
#r2 = #mainc % 256 + #er_p
#g2 = #mainc / 256 % 256 + #er_p
#b2 = #mainc / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
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 168 521
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
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #puple % 256 - #er_m
#g1 = #puple / 256 % 256 - #er_m
#b1 = #puple / 256 / 256 % 256 - #er_m
#r2 = #puple % 256 + #er_p
#g2 = #puple / 256 % 256 + #er_p
#b2 = #puple / 256 / 256 % 256 + #er_p
#r3 = #blue % 256 - #er_m
#g3 = #blue / 256 % 256 - #er_m
#b3 = #blue / 256 / 256 % 256 - #er_m
#r4 = #blue % 256 + #er_p
#g4 = #blue / 256 % 256 + #er_p
#b4 = #blue / 256 / 256 % 256 + #er_p
#r5 = #green % 256 - #er_m
#g5 = #green / 256 % 256 - #er_m
#b5 = #green / 256 / 256 % 256 - #er_m
#r6 = #green % 256 + #er_p
#g6 = #green / 256 % 256 + #er_p
#b6 = #green / 256 / 256 % 256 + #er_p
sleep 100
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
sleep 100
toast 아이템 검색완료
touchpress 0 #checkx #checky
sleep 3000
goto :sell
elseif #r3 < #r and #r < #r4 and #g3 < #g and #g < #g4 and #b3 < #b and #b < #b4
sleep 100
toast 아이템 검색완료
touchpress 0 #checkx #checky
sleep 3000
goto :sell
elseif #r5 < #r and #r < #r6 and #g5 < #g and #g < #g6 and #b5 < #b and #b < #b6
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
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #sellc % 256 - #er_m
#g1 = #sellc / 256 % 256 - #er_m
#b1 = #sellc / 256 / 256 % 256 - #er_m
#r2 = #sellc % 256 + #er_p
#g2 = #sellc / 256 % 256 + #er_p
#b2 = #sellc / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
toast 아이템을 파는 중입니다
//------------------물약이면 판매
getcolor #color1 386 464
#r = #color1 % 256
#g = #color1 / 256 % 256
#b = #color1 / 256 / 256 % 256
#r1 = 2061723 % 256 - #er_m
#g1 = 2061723 / 256 % 256 - #er_m
#b1 = 2061723 / 256 / 256 % 256 - #er_m
#r2 = 2061723 % 256 + #er_p
#g2 = 2061723 / 256 % 256 + #er_p
#b2 = 2061723 / 256 / 256 % 256 + #er_p
#r3 = 2313338 % 256 - #er_m
#g3 = 2313338 / 256 % 256 - #er_m
#b3 = 2313338 / 256 / 256 % 256 - #er_m
#r4 = 2313338 % 256 + #er_p
#g4 = 2313338 / 256 % 256 + #er_p
#b4 = 2313338 / 256 / 256 % 256 + #er_p
#r5 = 4160675 % 256 - #er_m
#g5 = 4160675 / 256 % 256 - #er_m
#b5 = 4160675 / 256 / 256 % 256 - #er_m
#r6 = 4160675 % 256 + #er_p
#g6 = 4160675 / 256 % 256 + #er_p
#b6 = 4160675 / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2) or (#r3 < #r and #r < #r4 and #g3 < #g and #g < #g4 and #b3 < #b and #b < #b4) or (#r5 < #r and #r < #r6 and #g5 < #g and #g < #g6 and #b5 < #b and #b < #b6)
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
#r = #color % 256
#g = #color / 256 % 256
#b = #color / 256 / 256 % 256
#r1 = #sellc % 256 - #er_m
#g1 = #sellc / 256 % 256 - #er_m
#b1 = #sellc / 256 / 256 % 256 - #er_m
#r2 = #sellc % 256 + #er_p
#g2 = #sellc / 256 % 256 + #er_p
#b2 = #sellc / 256 / 256 % 256 + #er_p
sleep 50
if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2
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 :email
endif
:finish2
if #ok1x != 0 and #ok1y != 0
goto :back2
else
goto :email
endif
////-----------------------종료확인----------------------
////----------------------- 이메일 ----------------------
:email
if #email == 1
goto :email1
else
goto :end1
endif
:email1
sleep 1000
RunApp com.google.android.gm
sleep 10000
toast 이메일 보내기
sleep 2000
touchDown 0 390 52
sleep 100
touchUp 0
sleep 1000
// 받는사람 이메일 키입력 부분
keyPress K_S
sleep 1000
touchDown 0 126 208
sleep 100
touchUp 0
sleep 1000
// 제목 입력 부분 좌표
touchDown 0 126 208
sleep 100
touchUp 0
sleep 1000
// 제목 입력 키입력부분 임으로 S로 지정하였습니다.
keyPress K_K
sleep 1000
// 내용 입력 부분
touchDown 0 84 261
sleep 100
touchUp 0
sleep 1000
keyPress K_K
sleep 1000
// 이메일 보내기 좌표
touchDown 0 441 49
sleep 100
touchUp 0
sleep 5000
// 이메일 보냈으니 다시 별이되어라 어플 실행
RunApp com.gamevil.psrforkakao
sleep 10000
goto :end1
// 종료 메시지
:end1
sleep 3000
toast 매크로가 중지 되었습니다!!!! 확인하세요!!
sleep 3000
goto :end1
:end
스크립트를 올려주셔야 수정을 해드리던가 조언을 드릴수있는 질문 같아요