현제 지니모션에서 겔럭시 노트2 api17 4.2.2 버전으로 사용중이며 해상도는 480 x 800, 240 dpi
?
아이템 판매는 안돼지만 신화까지 도는 소스입니다. 기존에 쓰던것인데 검은바위 성채랑 또다른한곳에서
?
문제가있어 좌표랑 색값만 수정한 것이고 저도아직초보라 아이템 판매부분에서 멈추는것은 해결 못했네요
?
그래도 일단 템이 꽉차도 무시하고 돌기라도하니깐 빼빼로만 종류별로 들고 던젼도시면 빼빼로도 수급할수있고
?
ㅅㅅ작도 할수있으니 안되시는분들 참고해보세요
?
저도어서 2렙되서 수정된 스크립트 다운받고 싶네요 ^^ 그럼 다들 성공하시길
?
?
?
?
?
?
DEVICE: star 4.2.2
SCREEN_SIZE: 480x800
// 자신이 연 인벤의 끝페이지 (3페이지까지면 3으로 수정)
var #inven 1
// 친구 선택 사용 안할시 좌표 0 0 으로 수정 //
// 사냥터 입장시 친구 선택 부분 좌표 96 577 //
var #friendx 96
var #friendy 557
//동료 가득차면 매크로 종료 0 0
//동료 가득차도 계속 진행 142 464
var #okx 142
var #oky 464
//장비와 창고 모두 가득차면 매크로 종료 0 0
//장비와 창고 모두 가득차도 계속 진행 142 464
// (장비와 창고 모두 가득차도 계속 진행하면
// 장비와 창고가 가득찬 후에 동료가득찬건 확인 불가)
var #ok1x 142
var #ok1y 464
//장비정리 하려면 153 254
//장비정리 안하려면 142 464
var #ok2x 142
var #ok2y 464
//--------------------------------
?
?
?
//자정 메크로
var #clockx 64
var #clocky 529
var #clockc 9553375
?
var #color 0
var #colorexit 0
var #color1 0
var #color2 0
var #color3 0
var #color4 0
//일반 성체
var #k0x 210
var #k0y 474
var #k0c 16777215
//골렘언덕
var #k1x 118
var #k1y 726
var #k1c 198663
//추락자의 사막
var #k2x 439
var #k2y 65
var #k2c 2576301
//잊혀진 숲
var #k3x 229
var #k3y 723
var #k3c 1317167
//검은바위 산
var #k4x 440
var #k4y 67
var #k4c 1844282
//크라운즈랜딩 성
var #k5x 243
var #k5y 579
var #k5c 11920114
//신발 부족
var #key 0
var #keyx 276
var #keyy 339
var #keyc 6975864
//방선택
var #room 1
var #roomx 0
var #roomy 0
var #bx 0
var #by 0
var #bc 0
//1번방
//------------방 터치부분
var #r1x 204
var #r1y 165
//------------방 new 확인
var #b1x 254
var #b1y 151
var #b1c 16777215
//2번방
var #r2x 211
var #r2y 256
var #b2x 255
var #b2y 241
var #b2c 16777215
//3번방
var #r3x 326
var #r3y 256
var #b3x 366
var #b3y 235
var #b3c 16777215
//4번방
var #r4x 325
var #r4y 369
var #b4x 360
var #b4y 332
var #b4c 16777215
//5번방
var #r5x 328
var #r5y 447
var #b5x 360
var #b5y 421
var #b5c 16777215
//6번방
var #r6x 215
var #r6y 448
var #b6x 255
var #b6y 425
var #b6c 16777215
//7번방
var #r7x 218
var #r7y 536
var #b7x 253
var #b7y 509
var #b7c 16777215
//8번방
var #r8x 215
var #r8y 629
var #b8x 255
var #b8y 599
var #b8c 16777215
//9번방
var #r9x 315
var #r9y 642
var #b9x 360
var #b9y 589
var #b9c 5143249
//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
//사냥 종료부분 나가기 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 #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
//---------------------------
///////////////////////메인스크립트///////////////////////////////
//매크로 시작 라벨
:start
sleep 100
//자정
: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
endif
//55000원 팝업 확인
:pop
sleep 100
getcolor #color #popx #popy
sleep 50
if #color == #popc
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
sleep 50
if #color == #pop1c
toast 팝업 취소
sleep 1000
touchpress 0 50 312
sleep 300
touchpress 0 158 483
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 3000
goto :k0
elseif #color == #mainc and #key == 1
toast 신발상점으로 이동합니다
goto :key
endif
?
//사냥 종료부분 나가기 9번방
:exit
sleep 50
getcolor #colorexit #exitx #exity
sleep 50
if #colorexit == #exitc
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
sleep 50
if #colorexit == #exit1c
sleep 50
getcolor #colorexit #exit11x #exit11y
sleep 50
if #colorexit == #exit11c
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
sleep 50
if #colorexit == #exit2c
toast 5번방 종료
sleep 500
touchpress 0 61 34
sleep 500
touchpress 0 61 34
sleep 500
goto :start
endif
?
//사냥터 입장 라벨
:go
sleep 500
getcolor #color #gox #goy
sleep 50
if #color == #goc
toast 사냥 시작
sleep 1000
goto :roomselect
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
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
/////////////////////////////////////////////////////
?
?
?
////---------------------스테이지 선택-------------------
//일반 성채
:k0
sleep 50
getcolor #color #k0x #k0y
sleep 50
if #color == #k0c
toast 일반 성체
sleep 500
touchpress 0 185 537
sleep 1000
touchpress 0 209 355
sleep 1000
touchpress 0 152 423
sleep 1000
touchpress 0 30 420
sleep 300
touchpress 0 142 464
sleep 1000
touchpress 0 450 616
sleep 2000
goto :go
endif
//골렘언덕
:k1
sleep 50
getcolor #color #k1x #k1y
sleep 50
if #color == #k1c
toast 골렘 언덕
sleep 500
touchpress 0 305 609
sleep 500
touchpress 0 346 304
sleep 500
touchpress 0 151 357
sleep 500
touchpress 0 142 464
sleep 500
touchpress 0 450 616
sleep 2000
goto :go
endif
//추락자의 사막
:k2
sleep 50
getcolor #color #k2x #k2y
sleep 50
if #color == #k2c
toast 추락자의 사막
sleep 500
touchpress 0 301 151
sleep 500
touchpress 0 206 140
sleep 500
touchpress 0 159 184
sleep 500
touchpress 0 207 302
sleep 500
touchpress 0 142 464
sleep 500
touchpress 0 450 616
sleep 2000
goto :go
endif
//잊혀진 숲
:k3
sleep 50
getcolor #color #k3x #k3y
sleep 50
if #color == #k3c
toast 잊혀진 숲
sleep 500
touchpress 0 307 725
sleep 500
touchpress 0 200 734
sleep 500
touchpress 0 140 709
sleep 500
touchpress 0 187 559
sleep 500
touchpress 0 149 209
sleep 500
touchpress 0 142 464
sleep 500
touchpress 0 450 616
sleep 2000
goto :go
endif
//검은바위 산
:k4
sleep 50
getcolor #color #k4x #k4y
sleep 50
if #color == #k4c
toast 검은바위 산
sleep 500
touchpress 0 356 513
sleep 500
touchpress 0 356 316
sleep 500
touchpress 0 235 303
sleep 500
touchpress 0 450 616
sleep 500
touchpress 0 192 376
sleep 500
touchpress 0 169 517
sleep 500
touchpress 0 142 464
sleep 500
touchpress 0 450 616
sleep 2000
endif
//크라운즈랜딩 성
:k5
sleep 50
getcolor #color #k5x #k5y
sleep 50
if #color == #k5c
toast 크라운즈랜딩 성
sleep 500
touchpress 0 200 490
sleep 500
touchpress 0 144 598
sleep 500
touchpress 0 143 468
sleep 500
touchpress 0 185 369
sleep 500
touchpress 0 292 686
sleep 500
touchpress 0 142 464
sleep 500
touchpress 0 450 616
sleep 2000
goto :go
endif
goto :main
////---------------------스테이지 선택-------------------
?
?
////-----------------------방선택------------------------
:roomselect
sleep 100
if #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 = 1
goto :gogo
endif
sleep 100
getcolor #color #bx #by
sleep 50
if #color == #bc
toast #room 번방 입장
sleep 1000
touchpress 0 #roomx #roomy
#room = 1
sleep 2000
goto :gogo
else
#room = #room + 1
goto :roomselect
endif
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
?
오감사합니다 ..잘쓸께요