초보입니다. ㅠㅠ 아는분이 보내주신 스토리완료 스크립트를 받아서 쓰는데 사냥터까지 잘찾아들어가드만 모험완료버튼을 자꾸 안누르네요 ㅠㅠ 다른글찾아서 좌표도 바꿔보고 하는데...바꾸나마나 그대로이구요 ㅠ 계속 시작위취확인 좌표인 234 795로 가네요.. ㅠㅠ 매크로 초보를 구원해주세요.. ㅠ 아래 매크로 부분 붙여놔요 ㅠ
//----------------------매크로 시작----------------------
:start
// 시작 위치확인 ----------------------------
:where
touchpress 0? 234 795
// 월드맵 확인
getRGB #cor1 #cog1 #cob1 455 268
getRGB #cor2 #cog2 #cob2 458 541
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
sleep 50
toast 월드맵
sleep 300
touchpress 0 90 5
sleep 300
goto :main
endif
//모험맵 확인
getRGB #cor1 #cog1 #cob1 331 481
getRGB #cor2 #cog2 #cob2 221 481
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
sleep 50
toast 모험맵
sleep 300
goto :room
endif
getcolor #color1 464 225
getcolor #color2 363 465
if #color1 == 16777215 and #color2 == 274535
goto :advend
endif
//------------------------------------------
//=====================팝업관련==========================
//-----------------출석보너스 확인-----------------------
:chull
getRGB #cor1 #cog1 #cob1 462 317
getRGB #cor2 #cog2 #cob2 465 454
#so1 = #cor1 + #cog1 + #cob1
#so2 = #cor2 + #cog2 + #cob2
#so3 = #so1 - #so2 - 243
if #so1 >= 515 and #so1 <= 585 and #so3 >= -2 and #so3 <= 2
toast 출석보너스 확인
sleep 500
touchpress 0 53 429
sleep 500
touchpress 0 164 400
sleep 500
endif
//--------------------비과금 팝업--------------------------
:clock1
getRGB #cor1 #cog1 #cob1 450 129
getRGB #cor2 #cog2 #cob2 452 671
getRGB #cor3 #cog3 #cob3 58 357
#so1 = #cor1 + #cog1+ #cob1 - ( #cor2 + #cog2+ #cob2 ) -131
#so2 = #cor1 + #cog1+ #cob1 - ( #cor3 + #cog3+ #cob3 ) -279
#so3 = #cor2 + #cog2+ #cob2 - ( #cor3 + #cog3+ #cob3 ) -149
if #so1 > -3 and #so1 < 3 and #so2 > -3 and #so2 < 3 and #so3 > -3 and #so3 < 3
toast 팝업취소
sleep 100
touchpress 0 53 429
sleep 500
goto :clock1
endif
//-------------------------------------------------------
?
//--------------------과금 팝업 확인---------------------
:pop
getRGB #cor1 #cog1 #cob1 450 129
getRGB #cor2 #cog2 #cob2 452 671
getRGB #cor3 #cog3 #cob3 58 357
#so1 = #cor1 + #cog1+ #cob1 - ( #cor2 + #cog2+ #cob2 ) - 131
#so2 = #cor1 + #cog1+ #cob1 - ( #cor3 + #cog3+ #cob3 ) - 289
#so3 = #cor2 + #cog2+ #cob2 - ( #cor3 + #cog3+ #cob3 ) - 158
if #so1 > -3 and #so1 < 3 and #so2 > -3 and #so2 < 3 and #so3 > -3 and #so3 < 3
toast 팝업 취소 2
sleep 500
touchpress 0 50 312
sleep 500
touchpress 0 158 483
sleep 300
goto :pop
endif
//-------------------------------------------------------
//=====================Story Skip========================
:story
getRGB #cor1 #cog1 #cob1 438 392
getRGB #cor2 #cog2 #cob2 438 377
getRGB #cor3 #cog3 #cob3 43 375
#so1 = (#cor1 + #cog1 + #cob1) - (#cor2 + #cog2 + #cob2)
#so2 = (#cor1 + #cog1 + #cob1) - (#cor3 + #cog3 + #cob3)
#so3 = #so1 + #so2
if #so1 <= 3 and #so2 <= 3 and #so3 >= -3
toast 넘 어 가 라
touchpress 0 90 5
sleep 200
touchpress 0 90 5
sleep 100
touchpress 0 90 5
sleep 200
touchpress 0 90 5
sleep 100
touchpress 0 90 5
sleep 1000
goto :story
endif
//==================업적 완료============================
getRGB #cor1 #cog1 #cob1 339 329???
getRGB #cor2 #cog2 #cob2 343 454
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2 -31
if #so1 >= 530 and #so1 <= 605 and #so3 >= -2 and #so3 <= 2
toast 업적완료
sleep 500
touchpress 0 21 691
sleep 1000
goto :start
endif
//=======================================================
//====================사냥터 입장 관련===================
//----------모험 여관 확인후 월드맵 진행-----------------
:main
getRGB #cor1 #cog1 #cob1 441 425
getRGB #cor2 #cog2 #cob2 440 765
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2 and #key == 0
toast 모험 하기
sleep 300
touchpress 0 50 758
sleep 1000
goto :k0
elseif #so1 >= 729 and #so3 >= -2 and #so3 <= 2 and #key == 1
toast 신발상점으로 이동합니다.
goto :key
endif
//-------------------------------------------------------
//--------------맵선택 화면 확인후 맵선택----------------
:room
getRGB #cor1 #cog1 #cob1 331 481
getRGB #cor2 #cog2 #cob2 221 481
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
toast 사냥 시작
sleep 100
goto :roomselect
endif
//-------------------------------------------------------
?
// 사냥직전 팝업(신발, 가방/동료 가득참)
:room_pop
getRGB #cor1 #cog1 #cob1 345 646
getRGB #cor2 #cog2 #cob2 346 153
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2 - 120
if #so2 <= 505 and #so2 >= 471 and #so3 >= -2 and #so3 <= 2
sleep 100
goto :room_pop1
else
goto :room_pop0
sleep 100
endif
:room_pop1
// 가방 빈자리 4칸 이하
getRGB #cor1 #cog1 #cob1 166 276
getRGB #cor2 #cog2 #cob2 157 315
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so2 - #so1
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
toast 가방의 빈자리 4칸 이하
touchpress 0 #ok3x #ok3y
sleep 2000
goto : shop
endif
getRGB #cor1 #cog1 #cob1 284 313
getRGB #cor2 #cog2 #cob2 295 306
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so2 - #so1
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
toast 동료가 가득 찼습니다
touchpress 0 #ok1x #ok1y
sleep 2000
goto : finish1
endif
// 신발부족
getRGB #cor1 #cog1 #cob1 257 345
getRGB #cor2 #cog2 #cob2 254 456
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so2 - #so1
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
toast 신발이 부족합니다.
sleep 500
touchpress 0 142 464
sleep 500
goto :shoechoise
:shoechoise1
sleep 1500
goto : start
endif
:room_pop0
getRGB #cor1 #cog1 #cob1 449 310
getRGB #cor2 #cog2 #cob2 449 496
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2 + 149
// 친구선택 화면
if #so1 <= 530 and #so1 >= 500 and #so3 >= -2 and #so3 <= 2
goto :room_pop01
toast 친구를 선택합니다
sleep 500
touchpress 0 #friendx #friendy
sleep 500
touchpress 0 33 448
sleep 500
touchpress 0 169 410
sleep 8000
toast 던전에입장하였습니다
endif
//-------------------------------------------------------
//=======================================================
:shop
// 장비창 내부 색값확인
getRGB #cor1 #cog1 #cob1 451 33
getRGB #cor2 #cog2 #cob2 44 73
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2 - 208
if #so1 <= 368 and #so1 >= 337 and #so3 >= -2 and #so3 <= 2
sleep 100
#bag = 1
goto :bag
:bag1
toast 장비 판매 시작
#xx = 1
sleep 1000
goto :check
endif
//==================================================
?
//=================사냥중인지 확인=======================
:hunting
getRGB #cor1 #cog1 #cob1 #huntx #hunty
getRGB #cor2 #cog2 #cob2 #hunt1x #hunt1y
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
sleep 2000
#second = #second + 2
toast 사냥 중.... #second 초
goto :second
endif
getcolor #color1 38 103
getcolor #color2 303 522
getcolor #comp1 302 110
getcolor #comp2 60 359
//----------------------매크로 시작----------------------
:start
// 시작 위치확인 ----------------------------
:where
touchpress 0? 234 795
// 월드맵 확인
getRGB #cor1 #cog1 #cob1 455 268
getRGB #cor2 #cog2 #cob2 458 541
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
sleep 50
toast 월드맵
sleep 300
touchpress 0 90 5
sleep 300
goto :main
endif
//모험맵 확인
getRGB #cor1 #cog1 #cob1 331 481
getRGB #cor2 #cog2 #cob2 221 481
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
sleep 50
toast 모험맵
sleep 300
goto :room
endif
getcolor #color1 464 225
getcolor #color2 363 465
if #color1 == 16777215 and #color2 == 274535
goto :advend
endif
//------------------------------------------
//=====================팝업관련==========================
//-----------------출석보너스 확인-----------------------
:chull
getRGB #cor1 #cog1 #cob1 462 317
getRGB #cor2 #cog2 #cob2 465 454
#so1 = #cor1 + #cog1 + #cob1
#so2 = #cor2 + #cog2 + #cob2
#so3 = #so1 - #so2 - 243
if #so1 >= 515 and #so1 <= 585 and #so3 >= -2 and #so3 <= 2
toast 출석보너스 확인
sleep 500
touchpress 0 53 429
sleep 500
touchpress 0 164 400
sleep 500
endif
//--------------------비과금 팝업--------------------------
:clock1
getRGB #cor1 #cog1 #cob1 450 129
getRGB #cor2 #cog2 #cob2 452 671
getRGB #cor3 #cog3 #cob3 58 357
#so1 = #cor1 + #cog1+ #cob1 - ( #cor2 + #cog2+ #cob2 ) -131
#so2 = #cor1 + #cog1+ #cob1 - ( #cor3 + #cog3+ #cob3 ) -279
#so3 = #cor2 + #cog2+ #cob2 - ( #cor3 + #cog3+ #cob3 ) -149
if #so1 > -3 and #so1 < 3 and #so2 > -3 and #so2 < 3 and #so3 > -3 and #so3 < 3
toast 팝업취소
sleep 100
touchpress 0 53 429
sleep 500
goto :clock1
endif
//-------------------------------------------------------
?
//--------------------과금 팝업 확인---------------------
:pop
getRGB #cor1 #cog1 #cob1 450 129
getRGB #cor2 #cog2 #cob2 452 671
getRGB #cor3 #cog3 #cob3 58 357
#so1 = #cor1 + #cog1+ #cob1 - ( #cor2 + #cog2+ #cob2 ) - 131
#so2 = #cor1 + #cog1+ #cob1 - ( #cor3 + #cog3+ #cob3 ) - 289
#so3 = #cor2 + #cog2+ #cob2 - ( #cor3 + #cog3+ #cob3 ) - 158
if #so1 > -3 and #so1 < 3 and #so2 > -3 and #so2 < 3 and #so3 > -3 and #so3 < 3
toast 팝업 취소 2
sleep 500
touchpress 0 50 312
sleep 500
touchpress 0 158 483
sleep 300
goto :pop
endif
//-------------------------------------------------------
//=====================Story Skip========================
:story
getRGB #cor1 #cog1 #cob1 438 392
getRGB #cor2 #cog2 #cob2 438 377
getRGB #cor3 #cog3 #cob3 43 375
#so1 = (#cor1 + #cog1 + #cob1) - (#cor2 + #cog2 + #cob2)
#so2 = (#cor1 + #cog1 + #cob1) - (#cor3 + #cog3 + #cob3)
#so3 = #so1 + #so2
if #so1 <= 3 and #so2 <= 3 and #so3 >= -3
toast 넘 어 가 라
touchpress 0 90 5
sleep 200
touchpress 0 90 5
sleep 100
touchpress 0 90 5
sleep 200
touchpress 0 90 5
sleep 100
touchpress 0 90 5
sleep 1000
goto :story
endif
//==================업적 완료============================
getRGB #cor1 #cog1 #cob1 339 329???
getRGB #cor2 #cog2 #cob2 343 454
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2 -31
if #so1 >= 530 and #so1 <= 605 and #so3 >= -2 and #so3 <= 2
toast 업적완료
sleep 500
touchpress 0 21 691
sleep 1000
goto :start
endif
//=======================================================
//====================사냥터 입장 관련===================
//----------모험 여관 확인후 월드맵 진행-----------------
:main
getRGB #cor1 #cog1 #cob1 441 425
getRGB #cor2 #cog2 #cob2 440 765
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2 and #key == 0
toast 모험 하기
sleep 300
touchpress 0 50 758
sleep 1000
goto :k0
elseif #so1 >= 729 and #so3 >= -2 and #so3 <= 2 and #key == 1
toast 신발상점으로 이동합니다.
goto :key
endif
//-------------------------------------------------------
//--------------맵선택 화면 확인후 맵선택----------------
:room
getRGB #cor1 #cog1 #cob1 331 481
getRGB #cor2 #cog2 #cob2 221 481
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
toast 사냥 시작
sleep 100
goto :roomselect
endif
//-------------------------------------------------------
?
// 사냥직전 팝업(신발, 가방/동료 가득참)
:room_pop
getRGB #cor1 #cog1 #cob1 345 646
getRGB #cor2 #cog2 #cob2 346 153
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2 - 120
if #so2 <= 505 and #so2 >= 471 and #so3 >= -2 and #so3 <= 2
sleep 100
goto :room_pop1
else
goto :room_pop0
sleep 100
endif
:room_pop1
// 가방 빈자리 4칸 이하
getRGB #cor1 #cog1 #cob1 166 276
getRGB #cor2 #cog2 #cob2 157 315
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so2 - #so1
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
toast 가방의 빈자리 4칸 이하
touchpress 0 #ok3x #ok3y
sleep 2000
goto : shop
endif
getRGB #cor1 #cog1 #cob1 284 313
getRGB #cor2 #cog2 #cob2 295 306
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so2 - #so1
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
toast 동료가 가득 찼습니다
touchpress 0 #ok1x #ok1y
sleep 2000
goto : finish1
endif
// 신발부족
getRGB #cor1 #cog1 #cob1 257 345
getRGB #cor2 #cog2 #cob2 254 456
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so2 - #so1
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
toast 신발이 부족합니다.
sleep 500
touchpress 0 142 464
sleep 500
goto :shoechoise
:shoechoise1
sleep 1500
goto : start
endif
:room_pop0
getRGB #cor1 #cog1 #cob1 449 310
getRGB #cor2 #cog2 #cob2 449 496
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2 + 149
// 친구선택 화면
if #so1 <= 530 and #so1 >= 500 and #so3 >= -2 and #so3 <= 2
goto :room_pop01
toast 친구를 선택합니다
sleep 500
touchpress 0 #friendx #friendy
sleep 500
touchpress 0 33 448
sleep 500
touchpress 0 169 410
sleep 8000
toast 던전에입장하였습니다
endif
//-------------------------------------------------------
//=======================================================
:shop
// 장비창 내부 색값확인
getRGB #cor1 #cog1 #cob1 451 33
getRGB #cor2 #cog2 #cob2 44 73
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2 - 208
if #so1 <= 368 and #so1 >= 337 and #so3 >= -2 and #so3 <= 2
sleep 100
#bag = 1
goto :bag
:bag1
toast 장비 판매 시작
#xx = 1
sleep 1000
goto :check
endif
//==================================================
?
//=================사냥중인지 확인=======================
:hunting
getRGB #cor1 #cog1 #cob1 #huntx #hunty
getRGB #cor2 #cog2 #cob2 #hunt1x #hunt1y
#so1 = #cor1 + #cog1+ #cob1
#so2 = #cor2 + #cog2+ #cob2
#so3 = #so1 - #so2
if #so1 >= 729 and #so3 >= -2 and #so3 <= 2
sleep 2000
#second = #second + 2
toast 사냥 중.... #second 초
goto :second
endif
getcolor #color1 38 103
getcolor #color2 303 522
getcolor #comp1 302 110
getcolor #comp2 60 359
if #color1 == 6710886 and #color2 == 16777215
toast 사냥이 끝났습니다
#second = 0
//모험종료확인버튼
touchpress 0?90 5?? =================================================> 이부분을 바꿔봤는데요 소용히없어요 ㅠ
sleep 1500
goto :55lv
elseif #comp1 == 0 and #comp2 == 7108485
toast 동료를 획득하였습니다
touchpress 0 90 5
sleep 500
#second = 0
touchpress 0 30 467
sleep 500
goto :55lv
else
goto :start
endif