글 올리기 전에 아셔야 할 것이..
매크로 스크립트 짜는 법 처음 알고 배워서 만들기까지 딱 3일 걸렸습니다..
그러니까 아직 한참 모자란 실력이고, 시간과 수준의 한계가 있었기에
버그가 좀 많기도 할 겁니다..
캐릭터 돌아가는 순서는 키키-루카스-아니카-휴고 순서이고
광고 못 끄고 다음 던전 이동 못하고
들어가고자 하는 던전 미리 한 번 돌아서 맵 고정시켜줘야 합니다.. ㅠ
(이 말은 즉, 팅겨도 지가 복구 못함..)
히로매크로 특성상 자기가 가고싶은 맵으로 바꾸려면
직접 코드좌표를 변경해줘야 합니다. <-중요
컨트롤 + f로 rune2-9(키키), tipen2-2(나머지 캐릭)
찾으셔서 원하는 곳으로 직접 좌표 변경하시면 되겠습니다.
(히로매크로 설정으로 좌표값 따신 다음에 변경하시면 됩니다.)
거기에 더불어, 기종이 달라서 해상도까지 아예 다르다,
이런 분들은 아예 논리를 제외하고 좌표를 처음부터 끝까지 다 다시 변경해야 합니다.. (안습)
그리고 뜯어고치려고 하셔도 제가 어줍잖은 논리에
더불어 하찮은 콩글리쉬주석을 달아 만든 매크로라
해석이 난해한 부분도 있을 겁니다..
저도 이 사이트에서 덕을 보았기 때문에,
부족하지만 그나마 보답하는 마음으로 올립니다..
혹여나 코드를 뜯어고쳐보고 싶다, 기능을 직접 더 추가해보고 싶다,
혹은 같은 기종으로 플레이하는데 문제가 있다 싶으신 분들은
댓글 남겨주시면 제가 가끔 (?) 들어 답변 드리겠습니다..
(저도 모르는 처지라 쓰시다가 문제있으셔도 완벽하게 처방은 못 해드려요 .. ㅠ)
28일 새벽 3:38 첫 패치 했습니다
네 캐릭터 로테이션되는 동안 버그요소 디버깅했고,
죽게되는 경우 다시입장하는 기능을 추가했습니다.
28일 낮 2:32 두번째 패치했습니다
로비에서의 광고 팝업창 지우는 기능 추가했습니다.
------------------------------------------------------
------------------------------------------------------
------------------------------------------------------
DEVICE: IM-A910S 4.4.2
SCREEN_SIZE: 1080x1920
var #adccolor 10461821 //playingadventureconfirmcolor
var #adccolorc 0
var #adcclear 4083058
var #adcclearc 0
var #lackboots 1591655
var #lackbootsc 0
var #fullitem 935907
var #fullitemc 0
var #clobby 4472995 //confirmlobby
var #clobbyc 0
var #cdead 8541 //confirmdead
var #cdeadc 0
var #ccf 5065290 //confirmadvertisement
var #ccfc 0
:start
//kiki
//kiki
//kiki
:clobbykiki
getcolor #clobbyc 149 1557
getcolor #ccfc 189 1761
toast #clobbyc
if #clobby == #clobbyc
goto :choosekiki
elseif #ccf == #ccfc
touchPress 0 999 1729
goto :clobbykiki
else
sleep 2000
goto :clobbykiki
endif
:choosekiki
touchPress 0 768 35 //leftbar
sleep 2000
touchPress 0 834 88 //choosecharacterselect
sleep 2000
touchPress 0 760 1586 //choosekiki
sleep 2000
touchPress 0 64 1637 //startcharacter
sleep 5000
:clobbykiki2
getcolor #clobbyc 149 1557
getcolor #ccfc 189 1761
toast #clobbyc
if #clobby == #clobbyc
goto :stagekiki
elseif #ccf == #ccfc
touchPress 0 999 1729
goto :clobbykiki2
else
sleep 2000
goto :clobbykiki2
endif
:stagekiki
touchPress 0 162 1784 //startadventure
sleep 3000
touchPress 0 375 1273 //rune2-9
sleep 3000
touchPress 0 147 1621 //godungeon
sleep 5000
getcolor #lackbootsc 710 959
getcolor #fullitemc 545 1043
if #lackboots == #lackbootsc
goto :startlukas
elseif #fullitem == #fullitemc //arrangementitem
touchPress 0 395 1089
sleep 4000
touchPress 0 75 1351
sleep 4000
touchPress 0 267 940
sleep 4000
touchPress 0 1037 57
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 18000
else
sleep 18000
goto :playingadventurekiki
end if
:playingadventurekiki
touchPress 0 120 1453 //skill1
sleep 2000
touchPress 0 326 1423 //skill2
sleep 2000
touchPress 0 426 1565 //skill3
sleep 2000
touchPress 0 120 1453 //skill1
sleep 2000
touchPress 0 326 1423 //skill2
sleep 2000
touchPress 0 426 1565 //skill3
sleep 2000
touchPress 0 120 1453 //skill1
sleep 2000
touchPress 0 326 1423 //skill2
sleep 2000
touchPress 0 426 1565 //skill3
sleep 2000
getcolor #adccolorc 436 1785
toast #adccolorc
sleep 2000
getcolor #cdeadc 355 1143
toast #cdeadc
:confirmplaykiki
if #adccolor == #adccolorc
sleep 2000
goto :playingadventurekiki
sleep 2000
elseif #cdead == #cdeadc
touchPress 0 374 816
sleep 3000
touchPress 0 393 1099
sleep 5000
touchPress 0 834 1372
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 15000
goto :playingadventurekiki
else
end if
:replayadventurekiki
sleep 5000
touchpress 0 28 1110
sleep 500
touchpress 0 28 1110
sleep 500
touchpress 0 28 1110
sleep 500
touchpress 0 28 1110
sleep 500
touchPress 0 73 1600 //redungeon
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 5000
getcolor #lackbootsc 710 959
toast #lackbootsc
:confirmplay2kiki
sleep 3000
getcolor #adccolorc 436 1785
sleep 1000
if #lackboots == #lackbootsc
sleep 2000
goto :startlukas
else if #adccolor == #adccolorc
goto :playingadventurekiki
else
goto :replayadventurekiki
end if
//kiki
//kiki
//kiki
//lukas
//lukas
//lukas
:startlukas
touchPress 0 398 853
sleep 5000
touchPress 0 876 1780
sleep 5000
touchPress 0 1032 51
sleep 5000
:clobbylukas
getcolor #clobbyc 149 1557
getcolor #ccfc 189 1761
toast #clobbyc
if #clobby == #clobbyc
goto :chooselukas
elseif #ccf == #ccfc
touchPress 0 999 1729
goto :clobbylukas
else
sleep 2000
goto :clobbylukas
endif
:chooselukas
touchPress 0 768 35 //leftbar
sleep 2000
touchPress 0 834 88 //choosecharacterselect
sleep 2000
touchPress 0 758 1353 //chooselukas
sleep 2000
touchPress 0 64 1637 //startcharacter
sleep 5000
:clobbylukas2
getcolor #clobbyc 149 1557
getcolor #ccfc 189 1761
toast #clobbyc
if #clobby == #clobbyc
goto :stagelukas
elseif #ccf == #ccfc
touchPress 0 999 1729
goto :clobbylukas2
else
sleep 2000
goto :clobbylukas2
endif
:stagelukas
touchPress 0 162 1784 //startadventure
sleep 3000
touchPress 0 611 293 //tipen2-2
sleep 3000
touchPress 0 147 1621 //godungeon
sleep 5000
getcolor #lackbootsc 710 959
if #lackboots == #lackbootsc
goto :startanika
elseif #fullitem == #fullitemc //arrangementitem
touchPress 0 395 1089
sleep 4000
touchPress 0 75 1351
sleep 4000
touchPress 0 267 940
sleep 4000
touchPress 0 1037 57
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 18000
else
sleep 18000
goto :playingadventurelukas
end if
:playingadventurelukas
touchPress 0 120 1453 //skill1
sleep 2000
touchPress 0 326 1423 //skill2
sleep 2000
touchPress 0 426 1565 //skill3
sleep 2000
touchPress 0 120 1453 //skill1
sleep 2000
touchPress 0 326 1423 //skill2
sleep 2000
touchPress 0 426 1565 //skill3
sleep 2000
touchPress 0 120 1453 //skill1
sleep 2000
touchPress 0 326 1423 //skill2
sleep 2000
touchPress 0 426 1565 //skill3
sleep 2000
getcolor #adccolorc 436 1785
toast #adccolorc
sleep 2000
getcolor #cdeadc 355 1143
toast #cdeadc
:confirmplaylukas
if #adccolor == #adccolorc
sleep 2000
goto :playingadventurelukas
sleep 2000
elseif #cdead == #cdeadc
touchPress 0 374 816
sleep 3000
touchPress 0 393 1099
sleep 5000
touchPress 0 834 1372
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 15000
goto :playingadventurelukas
else
end if
:replayadventurelukas
sleep 5000
touchpress 28 1110
sleep 500
touchpress 28 1110
sleep 500
touchpress 28 1110
sleep 500
touchpress 28 1110
sleep 500
touchPress 0 73 1600 //redungeon
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 5000
getcolor #lackbootsc 710 959
toast #lackbootsc
:confirmplay2lukas
sleep 3000
getcolor #adccolorc 436 1785
sleep 1000
if #lackboots == #lackbootsc
sleep 2000
goto :startanika
else if #adccolor == #adccolorc
goto :playingadventurelukas
else
goto :replayadventurelukas
end if
//lukas
//lukas
//lukas
//anika
//anika
//anika
:startanika
touchPress 0 398 853
sleep 5000
touchPress 0 876 1780
sleep 5000
touchPress 0 1032 51
sleep 5000
:clobbyanika
getcolor #clobbyc 149 1557
getcolor #ccfc 189 1761
toast #clobbyc
if #clobby == #clobbyc
goto :chooseanika
elseif #ccf == #ccfc
touchPress 0 999 1729
goto :clobbyanika
else
sleep 2000
goto :clobbyanika
endif
:chooseanika
touchPress 0 768 35 //leftbar
sleep 2000
touchPress 0 834 88 //choosecharacterselect
sleep 2000
touchPress 0 773 1139 //chooseanika
sleep 2000
touchPress 0 64 1637 //startcharacter
sleep 5000
:clobbyanika2
getcolor #clobbyc 149 1557
getcolor #ccfc 189 1761
toast #clobbyc
if #clobby == #clobbyc
goto :stageanika
elseif #ccf == #ccfc
touchPress 0 999 1729
goto :clobbyanika2
else
sleep 2000
goto :clobbyanika2
endif
:stageanika
touchPress 0 162 1784 //startadventure
sleep 3000
touchPress 0 611 293 //tipen2-2
sleep 3000
touchPress 0 147 1621 //godungeon
sleep 5000
getcolor #lackbootsc 710 959
if #lackboots == #lackbootsc
goto :starthugo
elseif #fullitem == #fullitemc //arrangementitem
touchPress 0 395 1089
sleep 4000
touchPress 0 75 1351
sleep 4000
touchPress 0 267 940
sleep 4000
touchPress 0 1037 57
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 18000
else
sleep 18000
goto :playingadventureanika
end if
:playingadventureanika
touchPress 0 120 1453 //skill1
sleep 2000
touchPress 0 326 1423 //skill2
sleep 2000
touchPress 0 426 1565 //skill3
sleep 2000
touchPress 0 120 1453 //skill1
sleep 2000
touchPress 0 326 1423 //skill2
sleep 2000
touchPress 0 426 1565 //skill3
sleep 2000
touchPress 0 120 1453 //skill1
sleep 2000
touchPress 0 326 1423 //skill2
sleep 2000
touchPress 0 426 1565 //skill3
sleep 2000
getcolor #adccolorc 436 1785
toast #adccolorc
sleep 2000
getcolor #cdeadc 355 1143
toast #cdeadc
:confirmplayanika
if #adccolor == #adccolorc
sleep 2000
goto :playingadventureanika
sleep 2000
elseif #cdead == #cdeadc
touchPress 0 374 816
sleep 3000
touchPress 0 393 1099
sleep 5000
touchPress 0 834 1372
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 15000
goto :playingadventureanika
else
end if
:replayadventureanika
sleep 5000
touchpress 28 1110
sleep 500
touchpress 28 1110
sleep 500
touchpress 28 1110
sleep 500
touchpress 28 1110
sleep 500
touchPress 0 73 1600 //redungeon
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 5000
getcolor #lackbootsc 710 959
toast #lackbootsc
:confirmplay2anika
sleep 3000
getcolor #adccolorc 436 1785
sleep 1000
if #lackboots == #lackbootsc
sleep 2000
goto :starthugo
else if #adccolor == #adccolorc
goto :playingadventureanika
else
goto :replayadventureanika
end if
//anika
//anika
//anika
//hugo
//hugo
//hugo
:starthugo
touchPress 0 398 853
sleep 5000
touchPress 0 876 1780
sleep 5000
touchPress 0 1032 51
sleep 5000
:clobbyhugo
getcolor #clobbyc 149 1557
getcolor #ccfc 189 1761
toast #clobbyc
if #clobby == #clobbyc
goto :choosehugo
elseif #ccf == #ccfc
touchPress 0 999 1729
goto :clobbyhugo
else
sleep 2000
goto :clobbyhugo
endif
:choosehugo
touchPress 0 768 35 //leftbar
sleep 2000
touchPress 0 834 88 //choosecharacterselect
sleep 2000
touchPress 0 761 1798 //choosehugo
sleep 2000
touchPress 0 64 1637 //startcharacter
sleep 5000
:clobbyhugo2
getcolor #clobbyc 149 1557
getcolor #ccfc 189 1761
toast #clobbyc
if #clobby == #clobbyc
goto :stagehugo
elseif #ccf == #ccfc
touchPress 0 999 1729
goto :clobbyhugo2
else
sleep 2000
goto :clobbyhugo2
endif
:stagehugo
touchPress 0 162 1784 //startadventure
sleep 5000
touchPress 0 611 293 //tipen2-2
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 5000
getcolor #lackbootsc 710 959
if #lackboots == #lackbootsc
goto :endgame
elseif #fullitem == #fullitemc //arrangementitem
touchPress 0 395 1089
sleep 4000
touchPress 0 75 1351
sleep 4000
touchPress 0 267 940
sleep 4000
touchPress 0 1037 57
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 18000
else
sleep 18000
goto :playingadventurehugo
end if
:playingadventurehugo
touchPress 0 120 1453 //skill1
sleep 2000
touchPress 0 326 1423 //skill2
sleep 2000
touchPress 0 426 1565 //skill3
sleep 2000
touchPress 0 120 1453 //skill1
sleep 2000
touchPress 0 326 1423 //skill2
sleep 2000
touchPress 0 426 1565 //skill3
sleep 2000
touchPress 0 120 1453 //skill1
sleep 2000
touchPress 0 326 1423 //skill2
sleep 2000
touchPress 0 426 1565 //skill3
sleep 2000
getcolor #adccolorc 436 1785
getcolor #cdeadc 355 1143
toast #cdeadc
:confirmplayhugo
if #adccolor == #adccolorc
sleep 2000
goto :playingadventurehugo
sleep 2000
elseif #cdead == #cdeadc
touchPress 0 374 816
sleep 3000
touchPress 0 393 1099
sleep 5000
touchPress 0 834 1372
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 15000
goto :playingadventurehugo
else
end if
:replayadventurehugo
sleep 5000
touchpress 28 1110
sleep 500
touchpress 28 1110
sleep 500
touchpress 28 1110
sleep 500
touchpress 28 1110
sleep 500
touchPress 0 73 1600 //redungeon
sleep 5000
touchPress 0 147 1621 //godungeon
sleep 5000
getcolor #lackbootsc 710 959
toast #lackbootsc
:confirmplay2hugo
sleep 3000
getcolor #adccolorc 436 1785
sleep 1000
if #lackboots == #lackbootsc
sleep 2000
goto :endgame
else if #adccolor == #adccolorc
goto :playingadventurehugo
else
goto :replayadventurehugo
end if
//hugo
//hugo
//hugo
:endgame
sleep 5000
touchPress 0 398 853
sleep 5000
touchPress 0 876 1780
sleep 5000
touchPress 0 1032 51
sleep 5000
:end
알아보기 쉽게 한글로 만드세요
저도 한글로 적어서 사용합니다 ^^