매크로

조회 수 220 추천 1 댓글 2

글 올리기 전에 아셔야 할 것이..

매크로 스크립트 짜는 법 처음 알고 배워서 만들기까지 딱 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










  • 메트로홀 2016.03.02 00:31
    주석및 변수에 한글 사용 가능 합니다
    알아보기 쉽게 한글로 만드세요
    저도 한글로 적어서 사용합니다 ^^
  • 붉은쌈닭 2016.03.10 16:16
    먼가 맛폰 내에서 수정하려고 들어가면 한글이 다 깨지더라구요...
    그때부터 계속 영어만 쓰고 있는데.. 이제 이 코드는 돌이킬 수 없어서
    계속 영어로 쓰게 되네요 ;ㅅ;

List of Articles
분류 제목 글쓴이 최근변경 추천
질문 좌표는 찾아가는데 처음만 터치가되고 그다음부터는 터... 1 who 2016.07.20 0/0
질문 화면 터치방지는 없나요?? 1 dfadsf 2016.08.11 0/0
질문 게임 화면회전 못막나요?? 2 dfadsf 2016.07.19 0/0
질문 터치프레스에서 슬립시간요~ 3 하나먀 2016.07.20 0/0
질문 xy좌표의 색값이 a일때에만 터치프레스가되도록 2 하나먀 2016.07.09 0/0
질문 게임어플 패키지명은 어떻게 확인할수 있나요??? 2 우나마나가나 2016.07.11 0/0
질문 녹스에서 히로매크로 사용 안되는건가요? 2 우나마나가나 2016.08.08 0/0
질문 히로매크로 우회버전 구할수 있을까요 1 에데루스 2016.07.10 0/0
질문 if문 작성시 도움부탁드립니다... 2 타나시 2016.07.08 0/0
질문 블루스택 관련 질문입니다 song 2016.07.02 0/0
질문 히로매크로 고수분들 도움좀주세요.,.드래그 후 클릭 ... 1 chlals 2016.07.01 0/0
질문 터치좌표문의드립니다~ 5 흑룡불패 2016.06.27 0/0
질문 이걸 여기다 여쭤봐야하는지...히로매크로 관련글이긴... 1 chlals 2016.07.04 0/0
질문 완전초보 질문드립니다. 2 전기J 2016.07.07 0/0
질문 색값추출안되는 해결방법 조언구해봅니다 3 타나시 2016.06.20 0/0
질문 질문)) sleep을 랜덤으로 주고 싶으면 어떻게 하면될까요? 3 마황후후 2016.06.16 0/0
질문 제발부탁합니다 좌표되로이동은하는데 클릭을안해요 왜... 3 히로매클 2016.06.12 0/0
질문 왜좌표로는가는데 클릭을안하는건지,, 3 히로매클 2016.06.13 0/0
질문 두가지 상황을 동시에 하는 방법을 알고싶어요 2 중팔 2016.06.13 0/0
질문 색값변수실행시 색값몃이상 변수실행 이런조건도 되나요? 2 타나시 2016.06.13 0/0
Board Pagination Prev 1 ... 5678910111213 ... 123 Next
/ 123

전체 최신 인기글

전체 주간 인기글