안녕하세요~
별다른건 아니고 제가 사용하는 시즌 1 자동 사냥 매크로 하나 올리려고 합니다.
이 매크로는 기존에 금은동님께서 올려주신 자동사냥 매크로를?
갤럭시s3 루팅폰에 맞게 변형해 본 것입니다.
원작자님은 금은동님 입니다.
우선 참고 하실점은?
배속은 1배속, 지연시간은 2초 정도로 해주시면 됩니다.
기존의 것들과 다르게 화면인식 방식으로 작동되는거라 색값등을 변경하실 필요가 없습니다.
더불어 신발구입, 장비 정리등의 기능은 없습니다.
그냥 쭈욱 사냥만 자동으로 되신다고 생각하시면 됩니다.
시나리오는 점프한 뒤에 사용하시면 됩니다.
타 기종 사용하시는 분들도 좌표만 변경해주시면 별다르게 손볼것 없이 작동될 것으로 보입니다.
DEVICE: SHV-E210S 4.4.4
SCREEN_SIZE: 720x1280
//getcolor 딜레이
var #delay 200
//시작 장소 입력?
// 놀우드 1 쓰러진 골렘 2 요정폭포 3 옐로우 월 4 사막지대 5 모래사막 6 추락자의 유적 7 일반모드 성채 8 상아호수 9 잊혀진 유적 10
// 그림자 강 11 안개지대 12 돌보지 않는 탑 13 검은 바위산 입구 14 메아리 15 망자의 산길 16 검은성채 가는 길 17 검은성채 18
// 존 호박 19 성의 입구 20 랜딩가든 21 안개 22 성채 23
// #bx 시작하는 단계 #by 시작하는 방 번호
var #bx 13
var #by 1
//난이도를 입력하세요 일반 - 1 영웅 - 2 전설 - 3 신화 - 4
var #varlevel 2
//기타 변수 - 그냥 두세요
var #color 0
var #colora 0
var #red 0
var #green 0
var #blue 0
var #red1 0
var #green1 0
var #blue1 0
var #red2 0
var #green2 0
var #blue2 0
var #controll 0
var #controll2 0
var #controll3 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 #x1 0
var #x2 0
var #x3 0
var #y1 0
var #y2 0
var #y3 0
//시작
:start
goto :start-1
:quest
sleep 1500
touchpress 0 535 45
sleep 2000
touchpress 0 535 45
sleep 2000
touchpress 0 535 45
sleep 1200
:quest1
getRGB #red #green #blue 69 1208
sleep #delay
if #red >= 200
goto :startpre
endif
getRGB #red1 #green1 #blue1 693 114
sleep 250
if #red1 < 15 and #green1 < 15 and #blue1 < 15
goto :small1
else?
goto :start
endif
:small1
if #controll3 < 5
sleep 800
touchpress 0 535 45
#controll = 0
#controll2 = 0
#controll3 = #controll3 + 1
goto :small1
else?
#controll3 = 0
goto :quest1
endif
:start
sleep 1000
getRGB #red1 #green1 #blue1 693 114
sleep 100
if #red1 < 15 and #green1 < 15 and #blue1 < 15
sleep 100
goto :quest1
else?
sleep 1000
goto :startpre
endif
:start-1
?//팝업확인
sleep 1000
getcolor #color 72 250
?sleep #delay
#colora = #color
?if #colora > 10000000
?touchPress 0 85 585
?sleep 1500
?touchPress 0 250 850
?sleep 1500
?endif
:startpre
?//여관에서 맵으로
getRGB #red #green #blue 88 1195
?sleep #delay
?if #red >= 200
touchpress 0 88 1195
sleep 300
?goto :map
else
goto :startpre
?endif
//월드맵 입장
:map
?sleep 1000
if #varlevel == 2 or #varlevel == 3 or #varlevel == 4
sleep 300
goto :jumpcattle
else
goto :map1
endif
:jumpcattle
if #bx !== 8?
sleep 100
goto :map1
endif
if #bx == 8
#bx = #bx + 1
sleep 500
goto :map1
endif
:map1
if #varlevel == 1
getcolor #color 97 168
?sleep #delay
?if #color > 1000000
?goto :start0
?endif
if #varlevel == 2
getcolor #color 97 251
?sleep #delay
?if #color > 1000000
?goto :start0
?endif
if #varlevel == 3
getcolor #color 97 400
?sleep #delay
?if #color > 1000000
?goto :start0
?endif
if #varlevel == 4
getcolor #color 97 521
?sleep #delay
?if #color > 1000000
?goto :start0
?endif
//월드맵 인식
touchPress 0 94 46
?sleep 2000
?goto :start
//방입장 시작
:start0
sleep 200
if #bx <= 3
sleep 200
goto :start1
endif
if #bx <= 9 and #bx >= 3
sleep 200
goto :start2
endif
if #bx <= 13 and #bx >= 10
sleep 200
goto :start3
endif
if #bx <= 19 and #bx >= 14
sleep 200
goto :start4
endif
if #bx >= 20
sleep 200
goto :start2
endif
:start1
touchdown 0 460 860
sleep 30
touchmove 0 200 400
sleep 30
touchup 0
touchdown 0 460 860
sleep 30
touchmove 0 200 400
sleep 30
touchup 0
sleep 500
getRGB #r1 #g1 #b1 85 926
sleep 30
getRGB #r2 #g2 #b2 84 1138
if #bx == 1
sleep 100
touchpress 0 143 550
sleep 1000
goto :room
endif
if #bx == 2
sleep 100
touchpress 0 422 506
sleep 1000
goto :room
endif
if #bx == 3
sleep 100
touchpress 0 360 1023
sleep 1000
goto :room
endif
:start2
touchdown 0 20 150
sleep 30
touchmove 0 570 1200
sleep 30
touchup 0
touchdown 0 20 150
sleep 30
touchmove 0 570 1200
sleep 30
touchup 0
sleep 300
getRGB #r1 #g1 #b1 85 926
sleep 30
getRGB #r2 #g2 #b2 84 1138
if #bx == 4
sleep 100
touchpress 0 442 488
sleep 1000
goto :room
endif
if #bx == 5
sleep 100
touchpress 0 358 297
sleep 1000
goto :room
endif
if #bx == 6
sleep 100
touchpress 0 430 215
sleep 1000
goto :room
endif
if #bx == 7
sleep 100
touchpress 0 571 248
sleep 1000
goto :room
endif
if #bx == 8
sleep 100
touchpress 0 519 962
sleep 1000
goto :room
endif
if #bx == 9
sleep 100
touchpress 0 222 854
sleep 1000
goto :room
endif
if #bx == 20
sleep 100
touchpress 0 520 815
sleep 1000
goto :room
endif
if #bx == 21
sleep 100
touchpress 0 449 925
sleep 1000
goto :room
endif
if #bx == 22
sleep 100
touchpress 0 458 1168
sleep 1000
goto :room
endif
if #bx == 23
sleep 100
touchpress 0 528 1008
sleep 1000
goto :room
endif
:start3
touchdown 0 20 1100
sleep 30
touchmove 0 620 110
sleep 30
touchup 0
touchdown 0 20 1100
sleep 30
touchmove 0 620 110
sleep 30
touchup 0
sleep 300
sleep 300
getRGB #r1 #g1 #b1 85 926
sleep 30
getRGB #r2 #g2 #b2 84 1138
if #bx == 10
sleep 100
touchpress 0 283 424
sleep 1000
goto :room
endif
if #bx == 11
sleep 100
touchpress 0 229 661
sleep 1000
goto :room
endif
if #bx == 12
sleep 100
touchpress 0 301 706
sleep 1000
goto :room
endif
if #bx == 13
sleep 100
touchpress 0 442 675
sleep 1000
goto :room
endif
:start4
touchdown 0 640 50
sleep 30
touchmove 0 270 1250
sleep 30
touchup 0
touchdown 0 640 50
sleep 30
touchmove 0 270 1250
sleep 30
touchup 0
sleep 300
getRGB #r1 #g1 #b1 85 926
sleep 30
getRGB #r2 #g2 #b2 84 1138
if #bx == 14
sleep 100
touchpress 0 258 776
sleep 1000
goto :room
endif
if #bx == 15
sleep 100
touchpress 0 269 560
sleep 1000
goto :room
endif
if #bx == 16
sleep 100
touchpress 0 356 484
sleep 1000
goto :room
endif
if #bx == 17
sleep 100
touchpress 0 519 529
sleep 1000
goto :room
endif
if #bx == 18
sleep 100
touchpress 0 532 785
sleep 1000
goto :room
endif
if #bx == 19
sleep 100
touchpress 0 185 1210
sleep 1000
goto :room
endif
//사냥터 좌표 오류로 여관 돌아가기
:room
sleep 2500
getRGB #r3 #g3 #b3 85 926
sleep 30
getRGB #r4 #g4 #b4 84 1138
sleep 30
#x1 = #r1 - #r3
#x2 = #g1 - #g3
#x3 = #b1 - #b3
#y1 = #r2 - #r4
#y2 = #g2 - #g4
#y3 = #b2 - #b4
if #x1 < 12 and #x2 < 12 and #x3 < 12 and #x1 > -12 and #x2 > -12 and #x3 > -12
sleep 150
#x1 = 0
#x2 = 0
#x3 = 0
touchpress 0 87 59
goto :start
endif
if #y1 < 12 and #y2 < 12 and #y3 < 12 and #y1 > -12 and #y2 > -12 and #y3 > -12
sleep 150
#y1 = 0
#y2 = 0
#y3 = 0
touchpress 0 87 59
goto :start
endif
:room0
//사냥터 입장
if #bx == 8
sleep 100
goto :room1
endif
if #bx == 1
sleep 100
goto :nol
endif
if #bx == 2
sleep 100
goto :gol
endif
if #bx == 4
sleep 100
goto :yel
endif
if #by == 1
?touchPress 0 319 283
?sleep 1500
?goto :pat
endif
if #by == 2
?touchPress 0 322 427
?sleep 1500
?goto :pat
endif
if #by == 3
?touchPress 0 486 426
?sleep 1500
?goto :pat
endif
if #by == 4
?touchPress 0 483 571
?sleep 1500
?goto :pat
endif
if #by == 5
?touchPress 0 490 714
?sleep 1500
?goto :pat
endif
if #by == 6
?touchPress 0 321 712
?sleep 1500
?goto :pat
endif
if #by == 7
?touchPress 0 316 853
?sleep 1500
?goto :pat
endif
if #by == 8
?touchPress 0 321 1000
?sleep 1500
?goto :pat
endif
if #by == 9
?touchPress 0 484 1005
?sleep 1500
?goto :pat
endif
:nol
if #by == 1
?touchPress 0 486 426
?sleep 1500
?goto :pat
endif
if #by == 2
?touchPress 0 483 571
?sleep 1500
?goto :pat
endif
if #by == 3
?touchPress 0 490 714
?sleep 1500
?goto :pat
endif
if #by == 4
?touchPress 0 321 712
?sleep 1500
?goto :pat
endif
if #by == 5
?touchPress 0 316 853
?sleep 1500
?goto :pat
endif
:gol
if #by == 1
?touchPress 0 322 427
?sleep 1500
?goto :pat
endif
if #by == 2
?touchPress 0 486 426
?sleep 1500
?goto :pat
endif
if #by == 3
?touchPress 0 483 571
?sleep 1500
?goto :pat
endif
if #by == 4
?touchPress 0 490 714
?sleep 1500
?goto :pat
endif
if #by == 5
?touchPress 0 321 712
?sleep 1500
?goto :pat
endif
if #by == 6
?touchPress 0 316 853
?sleep 1500
?goto :pat
endif
if #by == 7
?touchPress 0 321 1000
?sleep 1500
?goto :pat
endif
:yel
if #by == 1
?touchPress 0 322 427
?sleep 1500
?goto :pat
endif
if #by == 2
?touchPress 0 486 426
?sleep 1500
?goto :pat
endif
if #by == 3
?touchPress 0 483 571
?sleep 1500
?goto :pat
endif
if #by == 4
?touchPress 0 490 714
?sleep 1500
?goto :pat
endif
if #by == 5
?touchPress 0 321 712
?sleep 1500
?goto :pat
endif
if #by == 6
?touchPress 0 316 853
?sleep 1500
?goto :pat
endif
if #by == 7
?touchPress 0 321 1000
?sleep 1500
?goto :pat
endif
:room1
?touchPress 0 322 587
?sleep 1500
?goto :pat
?endif
//사냥 시작하기
:pat
touchpress 0 235 780
sleep 1500
:sf
?sleep 1000
touchPress 0 546 928
?sleep 1000
touchPress 0 45 646
?sleep 10000
touchPress 0 655 591
sleep 10000
//종료 확인하는 코드
:exit
sleep 100
getRGB #red #green #blue 67 45
if #red > 245 and #green > 245 and #blue > 245
sleep 50
goto :exit
else
sleep 100
goto :exit1
endif
:exit1
sleep 200
getRGB #red #green #blue 67 45
if #red > 100 and #red < 104 and #green > 100 and #green < 104 and #blue > 100 and #blue < 104
goto :exit3
endif
getcolor #color 369 90
sleep 100
if #color == 0
sleep 50
goto :exit3
endif
sleep 3000
:exit2
getRGB #red2 #green2 #blue2 693 114
sleep 250
if #red2 < 15 and #green2 < 15 and #blue2 < 15
goto :small2
else?
goto :exit
endif
:small2
if #controll3 < 12
sleep 800
touchpress 0 535 45
#controll = 1
#controll2 = 1
#controll3 = #controll3 + 1
goto :small2
else?
#controll3 = 0
goto :exit2
endif
:exit0
if controll2 == 0
goto :exit3
endif
sleep 4000
getcolor #color 67 45
sleep 150
if #color > 12000000
sleep 50
goto :exit0
endif
:exit3
sleep 1000
getcolor #color 693 114
sleep 150
if #color == 0
goto : exit2
endif
touchpress 0 80 640
sleep 2000
touchpress 0 64 780
sleep 1000
touchpress 0 64 780
sleep 3000
if #controll == 1
sleep 300
goto :exit4
else
goto :exit6
endif
:exit4
if #bx == 1
goto :check11
endif
if #bx == 2
goto :check22
endif
if #bx == 4
goto :check22
endif
if #bx == 8
goto :check33
endif
#bx = #bx + 1
#by = #by - 8
goto :exit5
:check11
#bx = ?#bx + 1
#by = #by - 4
goto :exit5
:check22
#bx = ?#bx + 1
#by = #by - 6
goto :exit5
:check33
#bx = #bx + 1
goto :exit5
:exit5
sleep 3000
goto :quest
//업적확인하는 코드 (최대 3번만 확인가능하므로 더 확인하고 싶으면 클릭수 늘리세요)
:exit6
sleep 2500
getcolor #color 412 337
sleep #delay
if #color < 9000000
sleep 3000
touchpress 0 573 189
sleep 2000
touchpress 0 573 189
sleep 2000
touchpress 0 573 189
sleep 2000
endif
//단계값 조정 코드들
#by = #by + 1
sleep 500
if #bx == 1
goto :check1
endif
if #bx == 2
goto :check2
endif
if #bx == 4
goto :check2
endif
if #by == 10
sleep 100
#by = #by - 9
sleep 100
goto :check3
endif
goto :jump
:check3?
sleep 500
if #bx <= 22
#bx = #bx + 1
elseif #bx == 23
#bx = #bx - 22
endif?
if #bx == 1
#varlevel = #varlevel + 1
endif?
if #varlevel == 5
goto :end
endif
sleep 1000
goto :restart
:check1
if #by == 6
sleep 400
#by = #by - 5
#bx = #bx + 1
goto :restart
endif
goto :jump
:check2
if #by == 8
sleep 400
#by = #by - 7
#bx = #bx + 1
goto :restart
endif?
goto :jump
:jump
sleep 1500
goto :room0
//다시 여관으로 가기
:restart
sleep 1200
if #varlevel == 1 and #bx < 13
sleep 50
goto :quest1
endif
touchPress 0 90 62
sleep 2000
touchPress 0 90 62
sleep 1500
goto :start-1
:end?