히로매크로 커뮤니티

질문
2015.06.08 15:21

스크립트 사냥터 인식문제

조회 수 164 추천 0 댓글 0

모험하기 누르고 그 다음서부턴 사냥중이라고만 뜨고 사냥터를 들어갈생각도 안합니다.

사냥터 인식부분에 문제인거 같은데 소스중 어느부분을 수정해야 할까요?


DEVICE: Samsung Galaxy S3 - 4.2.2 - API 17 - 720x1280 4.2.2

SCREEN_SIZE: 480x800

:start

// 캐릭터 장비 인벤의 끝페이지 (3페이지까지면 3으로 수정)

var #inven 1




// 사냥터 입장시 친구 선택 사용 안할시?? 0???? 0

// 사냥터 입장시 친구 선택 부분 좌표??? 369?? 564

var #friendx 369

var #friendy 564




//동료 가득차면 매크로 종료?? 0????? 0

//동료 가득차도 계속 진행???? 142?? 464

var #okx 0

var #oky 0




//장비와 창고 모두 가득차면 매크로 종료????? 0???? 0

//장비와 창고 모두 가득차도 계속 진행?????? 142?? 464

//(장비와 창고 모두 가득차도 계속 진행하면 장비와

//? 창고가 가득찬 후에 동료 가득 찬건 확인 불가)

var #ok1x 142

var #ok1y 464




//장비정리 하려면???? 153?? 254

//장비정리 안하려면?? 142?? 464

var #ok2x 142

var #ok2y 464








//55렙 멈추고 사냥 종료?? 374?? 299

//55렙 이후 계속 사냥????? 0???? 0

var #lvx 0

var #lvy 0

//신화모드 요정폭포 3번방 멈춤? 1

//신화모드 계속 진행 원하실경우 0

var #v1 0

//위 설정에서 매크로 종료시만 작동합니다. (55레벨 인식 후 보내기 추가)

//이메일을 보내고 종료?? 1

//이메일을 안보내고 종료 0

var #email 0




//--------------------------------

// 레벨 인식 부분

var #lvc 421527

var #lv1x 374

var #lv1y 307

var #lv1c 361653

//자정 메크로

var #clockx 64

var #clocky 529

var #clockc 9553375

var #clock1x 114

var #clock1y 163

var #clock1c 726045

var #color 0

var #r 0

var #g 0

var #b 0

var #r_ 0

var #g_ 0

var #b_ 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 #r5 0

var #g5 0

var #b5 0

var #r6 0

var #g6 0

var #b6 0

var #er_m 12

var #er_p 12

var #colorexit 0

var #color1 0

var #color2 0

var #color3 0

var #color4 0

var #c1_r 0

var #c1_g 0

var #c1_b 0

var #c1_r1 0

var #c1_g1 0

var #c1_b1 0

var #c1_r2 0

var #c1_g2 0

var #c1_b2 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 2839992

//잊혀진 숲

var #k3x 229

var #k3y 723

var #k3c 1317167

//검은바위 산

var #k4x 440

var #k4y 67

var #k4c 2041402

//크라운즈랜딩 성

var #k5x 243

var #k5y 579

var #k5c 11920114

//신발 부족

var #key 0

var #keyx 276

var #keyy 339

var #keyc 6975864

//방선택

var #room 0

var #roomx 0

var #roomy 0

var #bx 0

var #by 0

var #bc 0




//------------방 터치부분

// 일반 성채방

var #r0x 216

var #r0y 358

var #b0x 268

var #b0y 326

var #b0c 12439550




//1번방








//------------방 터치부분

var #r1x 204

var #r1y 165

//------------방 new 확인

var #b1x 254

var #b1y 151

var #b1c 16316664


//2번방

var #r2x 211

var #r2y 256

var #b2x 256

var #b2y 228

var #b2c 16316664


//3번방

var #r3x 326

var #r3y 256

var #b3x 367

var #b3y 229

var #b3c 16316664


//4번방

var #r4x 325

var #r4y 369

var #b4x 366

var #b4y 319

var #b4c 16316664


//5번방

var #r5x 328

var #r5y 447

var #b5x 367

var #b5y 408

var #b5c 16316664


//6번방

var #r6x 215

var #r6y 448

var #b6x 255

var #b6y 425

var #b6c 16316664


//7번방

var #r7x 218

var #r7y 536

var #b7x 256

var #b7y 498

var #b7c 16316664


//8번방

var #r8x 215

var #r8y 629

var #b8x 255

var #b8y 599

var #b8c 16316664


//9번방

var #r9x 325

var #r9y 625

var #b9x 366

var #b9y 587

var #b9c 16316664




//55000원 팝업

var #popx 340

var #popy 157

var #popc 2003406

//110000원 팝업

var #pop1x 351

var #pop1y 160

var #pop1c 4400054

//모험 여관

var #mainx 61

var #mainy 758

var #mainc 2762765

//var #mainx 49

//var #mainy 759

//var #mainc 2258341


//친구 선택 창

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 #inshopx 23
?var #inshopy 753
?var #inshopc 1780315




//아이템 세부정보창 화면 확인 값

var #sellx 458

var #selly 424

var #sellc 6928861




//아이템색깔

var #red 794579

var #yellow 2332159

var #puple 16725918

var #blue 16748826

var #green 6148644

var #white 16777215




//장비칸

var #11x 398

var #11y 434

var #12x 393

var #12y 566

var #13x 394

var #13y 649

var #14x 392

var #14y 733

var #21x 309

var #21y 484

var #22x 306

var #22y 566

var #23x 307

var #23y 649

var #24x 305

var #24y 732

var #31x 218

var #31y 484

var #32x 217

var #32y 567

var #33x 218

var #33y 649

var #34x 218

var #34y 733

var #41x 129

var #41y 484

var #42x 131

var #42y 567

var #43x 127

var #43y 649

var #44x 128

var #44y 732

var #xx 0

var #full 0

var #bag 1




//장비체크

var #checkx 0

var #checky 0








//요정폭포 확인

var #v1x 428

var #v1y 390

var #v1c 8568010

var #v2x 401

var #v2y 392

var #v2c 276163

var #v3x 347

var #v3y 265

var #v3c 1266085

//업적 확인

var #ok11x 283

var #ok11y 622

var #ok11c 426695

//---------------------------

///////////////////////메인스크립트///////////////////////////////

//매크로 시작 라벨

:start

sleep 100




//자정

:clock

sleep 100

getcolor #color #clockx #clocky

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #clockc % 256 - #er_m

#g1 = #clockc / 256 % 256 - #er_m

#b1 = #clockc / 256 / 256 % 256 - #er_m

#r2 = #clockc % 256 + #er_p

#g2 = #clockc / 256 % 256 + #er_p

#b2 = #clockc / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

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

touchpress 0 46 450

sleep 500

touchpress 0 46 450

sleep 500

touchpress 0 46 450

sleep 500

touchpress 0 46 450

sleep 500

touchpress 0 46 450

sleep 500

touchpress 0 46 450

sleep 500

touchpress 0 46 450

sleep 500

endif




//자정1

:clock1

sleep 100

getcolor #color #clock1x #clock1y

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #clock1c % 256 - #er_m

#g1 = #clock1c / 256 % 256 - #er_m

#b1 = #clock1c / 256 / 256 % 256 - #er_m

#r2 = #clock1c % 256 + #er_p

#g2 = #clock1c / 256 % 256 + #er_p

#b2 = #clock1c / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

toast 팝업

sleep 1000

touchpress 0 46 450

sleep 500

touchpress 0 46 450

sleep 500

touchpress 0 46 450

sleep 500

touchpress 0 46 450

sleep 500

touchpress 0 46 450

sleep 500

touchpress 0 46 450

sleep 500

touchpress 0 46 450

sleep 500

touchpress 0 456 782

sleep 500

endif




//55000원 팝업 확인

:pop

sleep 100

getcolor #color #popx #popy

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #popc % 256 - #er_m

#g1 = #popc / 256 % 256 - #er_m

#b1 = #popc / 256 / 256 % 256 - #er_m

#r2 = #popc % 256 + #er_p

#g2 = #popc / 256 % 256 + #er_p

#b2 = #popc / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

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

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #pop1c % 256 - #er_m

#g1 = #pop1c / 256 % 256 - #er_m

#b1 = #pop1c / 256 / 256 % 256 - #er_m

#r2 = #pop1c % 256 + #er_p

#g2 = #pop1c / 256 % 256 + #er_p

#b2 = #pop1c / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

toast 팝업 취소

sleep 1000

touchpress 0 50 312

sleep 300

touchpress 0 158 483

sleep 300

goto :main

endif

//업적 확인

:ok11

sleep 100

getcolor #color #ok11x #ok11y

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #ok11c % 256 - #er_m

#g1 = #ok11c / 256 % 256 - #er_m

#b1 = #ok11c / 256 / 256 % 256 - #er_m

#r2 = #ok11c % 256 + #er_p

#g2 = #ok11c / 256 % 256 + #er_p

#b2 = #ok11c / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

toast 업적 확인

sleep 100

touchpress 0 #ok11x #ok11y

sleep 1000

endif




//모험 여관

:main

sleep 3000

getcolor #color #mainx #mainy

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #mainc % 256 - #er_m

#g1 = #mainc / 256 % 256 - #er_m

#b1 = #mainc / 256 / 256 % 256 - #er_m

#r2 = #mainc % 256 + #er_p

#g2 = #mainc / 256 % 256 + #er_p

#b2 = #mainc / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2 and #key == 0

toast 모험 하기

sleep 1000

touchpress 0 50 758

sleep 3000

goto :k0

elseif #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2 and #key == 1

toast 신발상점으로 이동합니다

goto :key

endif


//사냥 종료부분 나가기 9번방

:exit

sleep 50

getRGB #cor #cog #cob 351 601

sleep 50

if #cor >= 66 and #cor <= 79 and #cog >= 0 and #cog <= 13 and #cob >= 0 and #cob <= 13

toast 9번방 종료

sleep 500

touchDown 0 61 34

sleep 100

touchUp 0

sleep 500

touchDown 0 61 34

sleep 100

touchUp 0

sleep 500

goto :main

endif


//사냥 종료부분 나가기 7번방

:exit1

sleep 50

getcolor #colorexit #exit1x #exit1y

#r = #colorexit % 256

#g = #colorexit / 256 % 256

#b = #colorexit / 256 / 256 % 256

#r1 = #exit1c % 256 - #er_m

#g1 = #exit1c / 256 % 256 - #er_m

#b1 = #exit1c / 256 / 256 % 256 - #er_m

#r2 = #exit1c % 256 + #er_p

#g2 = #exit1c / 256 % 256 + #er_p

#b2 = #exit1c / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

sleep 50

getcolor #colorexit #exit11x #exit11y

#r = #colorexit % 256

#g = #colorexit / 256 % 256

#b = #colorexit / 256 / 256 % 256

#r1 = #exit11c % 256 - #er_m

#g1 = #exit11c / 256 % 256 - #er_m

#b1 = #exit11c / 256 / 256 % 256 - #er_m

#r2 = #exit11c % 256 + #er_p

#g2 = #exit11c / 256 % 256 + #er_p

#b2 = #exit11c / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

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

#r = #colorexit % 256

#g = #colorexit / 256 % 256

#b = #colorexit / 256 / 256 % 256

#r1 = #exit2c % 256 - #er_m

#g1 = #exit2c / 256 % 256 - #er_m

#b1 = #exit2c / 256 / 256 % 256 - #er_m

#r2 = #exit2c % 256 + #er_p

#g2 = #exit2c / 256 % 256 + #er_p

#b2 = #exit2c / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

toast 5번방 종료

sleep 500

touchpress 0 61 34

sleep 500

touchpress 0 61 34

sleep 500

goto :start

endif




//신화 요정폭포 확인

:go

if #v1 == 0

goto :go1

else

goto :v1

endif

:v1

getcolor #color #v1x #v1y

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #v1c % 256 - #er_m

#g1 = #v1c / 256 % 256 - #er_m

#b1 = #v1c / 256 / 256 % 256 - #er_m

#r2 = #v1c % 256 + #er_p

#g2 = #v1c / 256 % 256 + #er_p

#b2 = #v1c / 256 / 256 % 256 + #er_p




sleep 100

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

sleep 100

getcolor #color #v2x #v2y

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #v2c % 256 - #er_m

#g1 = #v2c / 256 % 256 - #er_m

#b1 = #v2c / 256 / 256 % 256 - #er_m

#r2 = #v2c % 256 + #er_p

#g2 = #v2c / 256 % 256 + #er_p

#b2 = #v2c / 256 / 256 % 256 + #er_p




sleep 100

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

sleep 100

getcolor #color #v3x #v3y

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #v3c % 256 - #er_m

#g1 = #v3c / 256 % 256 - #er_m

#b1 = #v3c / 256 / 256 % 256 - #er_m

#r2 = #v3c % 256 + #er_p

#g2 = #v3c / 256 % 256 + #er_p

#b2 = #v3c / 256 / 256 % 256 + #er_p




sleep 100

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

sleep 50

toast 신화 요정폭포

sleep 1000

touchpress 0 345 263

sleep 3000

goto :gogo

else

goto :go1

endif


//사냥터 입장 라벨

:go1

sleep 500

getcolor #color #gox #goy

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #goc % 256 - #er_m

#g1 = #goc / 256 % 256 - #er_m

#b1 = #goc / 256 / 256 % 256 - #er_m

#r2 = #goc % 256 + #er_p

#g2 = #goc / 256 % 256 + #er_p

#b2 = #goc / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

toast 사냥 시작

sleep 1000

goto :roomselect

endif





//사냥터 입장 라벨

:gogo

sleep 500

getcolor #color1 280 334

#r = #color1 % 256

#g = #color1 / 256 % 256

#b = #color1 / 256 / 256 % 256

#r1 = 16316664 % 256 - #er_m

#g1 = 16316664 / 256 % 256 - #er_m

#b1 = 16316664 / 256 / 256 % 256 - #er_m

#r2 = 16316664 % 256 + #er_p

#g2 = 16316664 / 256 % 256 + #er_p

#b2 = 16316664 / 256 / 256 % 256 + #er_p

getcolor #color 255 456

#r_ = #color % 256

#g_ = #color / 256 % 256

#b_ = #color / 256 / 256 % 256

#r3 = 16316664 % 256 - #er_m

#g3 = 16316664 / 256 % 256 - #er_m

#b3 = 16316664 / 256 / 256 % 256 - #er_m

#r4 = 16316664 % 256 + #er_p

#g4 = 16316664 / 256 % 256 + #er_p

#b4 = 16316664 / 256 / 256 % 256 + #er_p




sleep 100

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2 and #r3 < #r_ and #r_ < #r4 and #g3 < #g_ and #g_ < #g4 and #b3 < #b_ and #b_ < #b4

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




getcolor #color 271 174

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = 16316664 % 256 - #er_m

#g1 = 16316664 / 256 % 256 - #er_m

#b1 = 16316664 / 256 / 256 % 256 - #er_m

#r2 = 16316664 % 256 + #er_p

#g2 = 16316664 / 256 % 256 + #er_p

#b2 = 16316664 / 256 / 256 % 256 + #er_p




getcolor #color 240 405

#r_ = #color % 256

#g_ = #color / 256 % 256

#b_ = #color / 256 / 256 % 256

#r3 = 16316664 % 256 - #er_m

#g3 = 16316664 / 256 % 256 - #er_m

#b3 = 16316664 / 256 / 256 % 256 - #er_m

#r4 = 16316664 % 256 + #er_p

#g4 = 16316664 / 256 % 256 + #er_p

#b4 = 16316664 / 256 / 256 % 256 + #er_p




sleep 100








if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2 and #r3 < #r_ and #r_ < #r4 and #g3 < #g_ and #g_ < #g4 and #b3 < #b_ and #b_ < #b4

toast 동료가 꽉 찼습니다.

goto :finish1

endif




getcolor #color 287 404

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = 16316664 % 256 - #er_m

#g1 = 16316664 / 256 % 256 - #er_m

#b1 = 16316664 / 256 / 256 % 256 - #er_m

#r2 = 16316664 % 256 + #er_p

#g2 = 16316664 / 256 % 256 + #er_p

#b2 = 11120049 / 256 / 256 % 256 + #er_p

sleep 100




if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

toast 가방이 가득찼습니다

sleep 100

touchpress 0 #ok2x #ok2y

sleep 4000

goto :shopgo




:back2

touchpress 0 #ok1x #ok1y

sleep 2000

endif

sleep 1000

getcolor #color #ax #ay

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #ac % 256 - #er_m

#g1 = #ac / 256 % 256 - #er_m

#b1 = #ac / 256 / 256 % 256 - #er_m

#r2 = #ac % 256 + #er_p

#g2 = #ac / 256 % 256 + #er_p

#b2 = #ac / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

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

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #inshopc % 256 - #er_m

#g1 = #inshopc / 256 % 256 - #er_m

#b1 = #inshopc / 256 / 256 % 256 - #er_m

#r2 = #inshopc % 256 + #er_p

#g2 = #inshopc / 256 % 256 + #er_p

#b2 = #inshopc / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

sleep 100

#bag = 1

goto :bag2

:bag1

toast 장비 판매 시작

#xx = 11

sleep 2000

goto :check

endif

//----------------------------------


//사냥터 입장 라벨

:gogo1

sleep 500

toast 사냥 중....

sleep 300

touchpress 0 146 405

sleep 500

touchpress 0 30 420

sleep 300

touchpress 0 146 405

sleep 500

touchpress 0 457 788

sleep 500

touchpress 0 30 420

sleep 500

touchpress 0 146 405

sleep 500

touchpress 0 457 788

sleep 1000

getcolor #color #lvx #lvy

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #lvc % 256 - #er_m

#g1 = #lvc / 256 % 256 - #er_m

#b1 = #lvc / 256 / 256 % 256 - #er_m

#r2 = #lvc % 256 + #er_p

#g2 = #lvc / 256 % 256 + #er_p

#b2 = #lvc / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

sleep 50

getcolor #color #lv1x #lv1y

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #lv1c % 256 - #er_m

#g1 = #lv1c / 256 % 256 - #er_m

#b1 = #lv1c / 256 / 256 % 256 - #er_m

#r2 = #lv1c % 256 + #er_p

#g2 = #lv1c / 256 % 256 + #er_p

#b2 = #lv1c / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

sleep 50

toast 55렙 이다!

sleep 1000

goto :email

else

goto :start

endif

goto :start




/////////////////////////////////////////////////////




////---------------------스테이지 선택-------------------




:k0




getColor #color #k0x #k0y

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #k0c % 256 - #er_m

#g1 = #k0c / 256 % 256 - #er_m

#b1 = #k0c / 256 / 256 % 256 - #er_m

#r2 = #k0c % 256 + #er_p

#g2 = #k0c / 256 % 256 + #er_p

#b2 = #k0c / 256 / 256 % 256 + #er_p




if #r < #r1 or #r > #r2 or #g < #g1 or #g > #g2 or #b < #b1 or #b > #b2

goto :main

endif




// 암흑군단의 성채

toast 암흑군단의 성채

touchDown 0 414 96

sleep 500

touchMove 0 19 766

sleep 50

touchUp 0

sleep 500




touchPress 0 204 719

sleep 100

touchPress 0 371 366

sleep 100

touchPress 0 298 466

sleep 100

touchPress 0 293 572

sleep 100

touchPress 0 221 397

sleep 100

touchPress 0 138 435

sleep 1000




getColor #color #k0x #k0y

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #k0c % 256 - #er_m

#g1 = #k0c / 256 % 256 - #er_m

#b1 = #k0c / 256 / 256 % 256 - #er_m

#r2 = #k0c % 256 + #er_p

#g2 = #k0c / 256 % 256 + #er_p

#b2 = #k0c / 256 / 256 % 256 + #er_p




if #r < #r1 or #r > #r2 or #g < #g1 or #g > #g2 or #b < #b1 or #b > #b2

touchPress 0 450 616

goto :go

endif




// 검은마루 절벽

toast 검은마루 절벽

touchDown 0 111 71

sleep 500

touchMove 0 437 734

sleep 100

touchUp 0

sleep 500




touchPress 0 310 220

sleep 100

touchPress 0 247 186

sleep 100

touchPress 0 192 285

sleep 100

touchPress 0 127 364

sleep 100

touchPress 0 221 417

sleep 1000




getColor #color #k0x #k0y

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #k0c % 256 - #er_m

#g1 = #k0c / 256 % 256 - #er_m

#b1 = #k0c / 256 / 256 % 256 - #er_m

#r2 = #k0c % 256 + #er_p

#g2 = #k0c / 256 % 256 + #er_p

#b2 = #k0c / 256 / 256 % 256 + #er_p




if #r < #r1 or #r > #r2 or #g < #g1 or #g > #g2 or #b < #b1 or #b > #b2

touchPress 0 450 616

goto :go

endif




// 찢겨진 폐허

toast 찢겨진 폐허

touchDown 0 123 712

sleep 500

touchMove 0 434 75

sleep 100

touchUp 0

sleep 500




touchPress 0 345 17

sleep 100

touchPress 0 112 18

sleep 100

touchPress 0 267 42

sleep 100

touchPress 0 152 121

sleep 100

touchPress 0 187 252

sleep 1000




getColor #color #k0x #k0y

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #k0c % 256 - #er_m

#g1 = #k0c / 256 % 256 - #er_m

#b1 = #k0c / 256 / 256 % 256 - #er_m

#r2 = #k0c % 256 + #er_p

#g2 = #k0c / 256 % 256 + #er_p

#b2 = #k0c / 256 / 256 % 256 + #er_p




if #r < #r1 or #r > #r2 or #g < #g1 or #g > #g2 or #b < #b1 or #b > #b2

touchPress 0 450 616

goto :go

endif



// 희생의 숲

toast 희생의 숲

touchDown 0 415 688

sleep 500

touchMove 0 112 67

sleep 100

touchUp 0

sleep 500




touchPress 0 339 539

sleep 100

touchPress 0 230 422

sleep 100

touchPress 0 152 582

sleep 100



touchDown 0 19 756

sleep 500

touchMove 0 431 75

sleep 100

touchUp 0

sleep 500



//touchPress 0 275 527

//sleep 100

touchPress 0 402 336

sleep 1000




getColor #color #k0x #k0y

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #k0c % 256 - #er_m

#g1 = #k0c / 256 % 256 - #er_m

#b1 = #k0c / 256 / 256 % 256 - #er_m

#r2 = #k0c % 256 + #er_p

#g2 = #k0c / 256 % 256 + #er_p

#b2 = #k0c / 256 / 256 % 256 + #er_p




if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

goto :main

endif




// 확인

touchPress 0 450 616

goto :go




:end




////---------------------스테이지 선택-------------------



////-----------------------방선택------------------------

:roomselect

sleep 100

if #room == 0

#bx = #b0x

#by = #b0y

#bc = #b0c

#roomx = #r0x

#roomy = #r0y

elseif #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 5000
?touchpress 0 67 31
?sleep 5000
?touchpress 0 67 31

#room = 0

goto :gogo

endif

sleep 100

getcolor #color #bx #by

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #bc % 256 - #er_m

#g1 = #bc / 256 % 256 - #er_m

#b1 = #bc / 256 / 256 % 256 - #er_m

#r2 = #bc % 256 + #er_p

#g2 = #bc / 256 % 256 + #er_p

#b2 = #bc / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

toast #room 번방 입장

sleep 1000

touchpress 0 #roomx #roomy

#room = 0

sleep 2000

goto :gogo

else

#room = #room + 1

goto :roomselect

endif

goto :start

////-----------------------방선택------------------------



////---------------------자동신발구매--------------------

// 신발 부족

:key

sleep 3000

getcolor #color #mainx #mainy

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #mainc % 256 - #er_m

#g1 = #mainc / 256 % 256 - #er_m

#b1 = #mainc / 256 / 256 % 256 - #er_m

#r2 = #mainc % 256 + #er_p

#g2 = #mainc / 256 % 256 + #er_p

#b2 = #mainc / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

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 168 521

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

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #puple % 256 - #er_m

#g1 = #puple / 256 % 256 - #er_m

#b1 = #puple / 256 / 256 % 256 - #er_m

#r2 = #puple % 256 + #er_p

#g2 = #puple / 256 % 256 + #er_p

#b2 = #puple / 256 / 256 % 256 + #er_p

#r3 = #blue % 256 - #er_m

#g3 = #blue / 256 % 256 - #er_m

#b3 = #blue / 256 / 256 % 256 - #er_m

#r4 = #blue % 256 + #er_p

#g4 = #blue / 256 % 256 + #er_p

#b4 = #blue / 256 / 256 % 256 + #er_p

#r5 = #green % 256 - #er_m

#g5 = #green / 256 % 256 - #er_m

#b5 = #green / 256 / 256 % 256 - #er_m

#r6 = #green % 256 + #er_p

#g6 = #green / 256 % 256 + #er_p

#b6 = #green / 256 / 256 % 256 + #er_p








sleep 100

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

sleep 100

toast 아이템 검색완료

touchpress 0 #checkx #checky

sleep 3000

goto :sell

elseif #r3 < #r and #r < #r4 and #g3 < #g and #g < #g4 and #b3 < #b and #b < #b4

sleep 100

toast 아이템 검색완료

touchpress 0 #checkx #checky

sleep 3000

goto :sell

elseif #r5 < #r and #r < #r6 and #g5 < #g and #g < #g6 and #b5 < #b and #b < #b6

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

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #sellc % 256 - #er_m

#g1 = #sellc / 256 % 256 - #er_m

#b1 = #sellc / 256 / 256 % 256 - #er_m

#r2 = #sellc % 256 + #er_p

#g2 = #sellc / 256 % 256 + #er_p

#b2 = #sellc / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

toast 아이템을 파는 중입니다

//------------------물약이면 판매

getcolor #color1 386 464

#r = #color1 % 256

#g = #color1 / 256 % 256

#b = #color1 / 256 / 256 % 256

#r1 = 2061723 % 256 - #er_m

#g1 = 2061723 / 256 % 256 - #er_m

#b1 = 2061723 / 256 / 256 % 256 - #er_m

#r2 = 2061723 % 256 + #er_p

#g2 = 2061723 / 256 % 256 + #er_p

#b2 = 2061723 / 256 / 256 % 256 + #er_p

#r3 = 2313338 % 256 - #er_m

#g3 = 2313338 / 256 % 256 - #er_m

#b3 = 2313338 / 256 / 256 % 256 - #er_m

#r4 = 2313338 % 256 + #er_p

#g4 = 2313338 / 256 % 256 + #er_p

#b4 = 2313338 / 256 / 256 % 256 + #er_p

#r5 = 4160675 % 256 - #er_m

#g5 = 4160675 / 256 % 256 - #er_m

#b5 = 4160675 / 256 / 256 % 256 - #er_m

#r6 = 4160675 % 256 + #er_p

#g6 = 4160675 / 256 % 256 + #er_p

#b6 = 4160675 / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2) or (#r3 < #r and #r < #r4 and #g3 < #g and #g < #g4 and #b3 < #b and #b < #b4) or (#r5 < #r and #r < #r6 and #g5 < #g and #g < #g6 and #b5 < #b and #b < #b6)

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

#r = #color % 256

#g = #color / 256 % 256

#b = #color / 256 / 256 % 256

#r1 = #sellc % 256 - #er_m

#g1 = #sellc / 256 % 256 - #er_m

#b1 = #sellc / 256 / 256 % 256 - #er_m

#r2 = #sellc % 256 + #er_p

#g2 = #sellc / 256 % 256 + #er_p

#b2 = #sellc / 256 / 256 % 256 + #er_p




sleep 50

if #r1 < #r and #r < #r2 and #g1 < #g and #g < #g2 and #b1 < #b and #b < #b2

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 :email

endif

:finish2

if #ok1x != 0 and #ok1y != 0

goto :back2

else

goto :email

endif

////-----------------------종료확인----------------------

////----------------------- 이메일 ----------------------

:email

if #email == 1

goto :email1

else

goto :end1

endif

:email1

sleep 1000

RunApp com.google.android.gm

sleep 10000

toast 이메일 보내기

sleep 2000

touchDown 0 390 52

sleep 100

touchUp 0

sleep 1000

// 받는사람 이메일 키입력 부분

keyPress K_S

sleep 1000

touchDown 0 126 208

sleep 100

touchUp 0

sleep 1000




// 제목 입력 부분 좌표

touchDown 0 126 208

sleep 100

touchUp 0

sleep 1000

// 제목 입력 키입력부분 임으로 S로 지정하였습니다.

keyPress K_K

sleep 1000

// 내용 입력 부분

touchDown 0 84 261

sleep 100

touchUp 0

sleep 1000

keyPress K_K

sleep 1000

// 이메일 보내기 좌표

touchDown 0 441 49

sleep 100

touchUp 0

sleep 5000

// 이메일 보냈으니 다시 별이되어라 어플 실행

RunApp com.gamevil.psrforkakao

sleep 10000

goto :end1

// 종료 메시지

:end1

sleep 3000

toast 매크로가 중지 되었습니다!!!! 확인하세요!!

sleep 3000

goto :end1

:end



List of Articles
분류 제목 글쓴이 최근변경 추천
질문 LG G2 커스텀롬 중에 프레임버퍼 가능한 롬이 있을까요? 2 소복 2016.05.25 0/0
질문 안녕하세요. 갤럭시노트3를 쓰고 있는 사람입니다. 2 미르미르팀 2015.07.11 0/0
질문 히로매크로 화면끄기 질문입니다. 9 우라질똥꼬 2015.06.28 0/0
자유 레이븐 매크로 12 유이서니 2015.06.24 2/0
질문 히로 매크로에서 레엡업하기위한 사냥 스크립트도 있나요~ 1 청담동꽃미남 2015.07.06 0/0
자유 스크린캡쳐 방식은 폰에 무리가 많이 가나요? 4 소복 2015.06.20 0/0
질문 기종에 따른 질문입니다 4 키보두 2015.07.11 0/0
질문 고수님들 조언 좀 해주세요 3 굵은팔뚝 2015.07.11 0/0
자유 히로캡쳐 (25%) 괜찮은건가요? 4 소복 2015.06.28 0/0
질문 같은 해상도면은 폰 기종 상관 없을까요?? 6 소복 2015.07.11 0/0
질문 고수분님 조언좀요 히로메크로~~~~~ 1 용이7 2015.06.13 0/0
자유 별이되어라 1280X720 히로매크로 DB찾습니다 야큐트 2015.06.11 0/0
자유 히로매크로 베스트코너 1 175 2015.06.12 0/0
질문 히로매크로 사용법에 대해 간단히 설명좀 해주실분? 4 별되매냐 2015.06.24 0/0
자유 노트1으로 세나 돌리시는분계세요? 1 스타급 2015.06.20 0/0
질문 스크립트 사냥터 인식문제 아리코 2015.06.08 0/0
질문 노트1. 몬길 히로 매크로좀 주실분 소전 2015.06.08 0/0
질문 히로매크로 차이점 8 크흠함 2015.06.17 0/-1
질문 히로매크로 RAM 얼마정도 먹나요? 4 홍준기 2015.06.20 0/0
질문 실행관련 질문 ㅠ 3 관군 2015.07.11 0/0
Board Pagination Prev 1 ... 171819202122232425 ... 123 Next
/ 123

전체 최신 인기글

전체 주간 인기글