한판돌릴때까지는 멀쩡한데 그다음판 들어가면 걍 먹통이됩니다(반복횟수무한). 폰스펙도 딱히 딸리진않구요.
뭘고쳐야되죠? 로그도안뜨던데
DDEVICE: IM-A850S 4.4.2
SCREEN_SIZE: 720x1280 (softkey)
//대전
var #color1 1
var #randx1 0
var #randy1 0
var #randx0 0
var #randy0 0
//대전준비
var #color2 0
var #randx2 0
var #randy2 0
var #randx3 0
var #randy3 0
//대전중
var #color3 100
var #color4 100
var #sleep1 0
var #randx4 0
var #randy4 0
//아이템고르기
var #color5 0
var #randx5 0
var #randy5 0
var #randx0 0
var #randy0 0
//아이템확인
var #color6 0
var #randx6 0
var #randy6 0
var #sleep2 0
var #count 0
var #sleep2 0
var #count1 0
:start
//대전
:1
sleep 2000
getcolor #color1 571 305
if #color1 == 0
toast 인식성공
rand #randx1 634 666
rand #randy1 1064 1120
touchpress 0 #randx1 #randy1
else
sleep 1000
toast 인식실패
calc #count #count + 1
if #count <= 10
goto :1
if #count >= 11
goto :error
endif
//대전준비
:2
sleep 2000
getcolor #color2 181 682
if #color2 == 1322825
rand #randx2 100 107
rand #randy2 850 1110
touchpress 0 #randx2 #randy2
else
goto :2
endif
//대전하시겠습니까
rand #sleep1 1000 1500
sleep #sleep1
rand #randx3 181 209
rand #randy3 662 863
touchpress 0 #randx3 #randy3
//대전중
:3
sleep 20000
:3a
sleep 2000
getcolor #color3 273 601
getcolor #color4 275 595
if #color3 == 0 or #color4 == 0
toast 인식성공2
rand #randx4 100 200
rand #randy4 500 800
touchpress 0 #randx4 #randy4
else
sleep 1000
toast 인식실패2
calc #count1 #count1 + 1
if #count1 <= 30
goto :3a
if #count1 >= 31
goto :error2
endif
//아이템고르기
:4
sleep 2000
getcolor #color5 417 406
if #color5 == 828828
rand #randx0 554 590
rand #randy0 181 279
touchpress 0 #randx0 #randy0
sleep 1500
rand #randx5 155 211
rand #randy5 808 988
touchpress 0 #randx5 #randy5
else
goto :4
endif
//아이템 확인
:5
sleep 2000
getcolor #color6 203 815
if #color6 == 2039096
rand #sleep2 1500 2000
sleep #sleep2
rand #randx6 100 300
rand #randy6 200 1000
touchpress 0 #randx6 #randy6
else
goto :5
sleep 1000
goto :start
:error
toast 에러
sleep 2000
touchDown 0 343 1248
sleep 62
touchUp 0
sleep 2424
touchDown 0 447 217
sleep 17
touchUp 0
sleep 1295
touchDown 0 101 589
sleep 63
touchUp 0
sleep 4635
touchDown 0 90 624
sleep 63
touchUp 0
sleep 458
touchDown 0 123 687
sleep 48
touchUp 0
sleep 2990
touchDown 0 313 649
sleep 56
touchUp 0
set #count 0
goto : start
:error2
toast 에러2
sleep 2000
touchDown 0 343 1248
sleep 62
touchUp 0
sleep 2424
touchDown 0 447 217
sleep 17
touchUp 0
sleep 1295
touchDown 0 101 589
sleep 63
touchUp 0
sleep 4635
touchDown 0 90 624
sleep 63
touchUp 0
sleep 458
touchDown 0 123 687
sleep 48
touchUp 0
sleep 2990
touchDown 0 313 649
sleep 56
touchUp 0
set #count1 0
goto : start
:end
//대전
var #color1 1
var #randx1 0
var #randy1 0
var #randx0 0
var #randy0 0
//대전준비
var #color2 0
var #randx2 0
var #randy2 0
var #randx3 0
var #randy3 0
//대전중
var #color3 100
var #color4 100
var #sleep1 0
var #randx4 0
var #randy4 0
//아이템고르기
var #color5 0
var #randx5 0
var #randy5 0
var #randx0 0
var #randy0 0
//아이템확인
var #color6 0
var #randx6 0
var #randy6 0
var #sleep2 0
var #count 0
var #sleep2 0
var #count1 0
:start
//대전
:1
sleep 2000
getcolor #color1 571 305
if #color1 == 0
toast 인식성공
rand #randx1 634 666
rand #randy1 1064 1120
touchpress 0 #randx1 #randy1
else
sleep 1000
toast 인식실패
calc #count #count + 1
if #count <= 10
goto :1
if #count >= 11
goto :error
endif
//대전준비
:2
sleep 2000
getcolor #color2 181 682
if #color2 == 1322825
rand #randx2 100 107
rand #randy2 850 1110
touchpress 0 #randx2 #randy2
else
goto :2
endif
//대전하시겠습니까
rand #sleep1 1000 1500
sleep #sleep1
rand #randx3 181 209
rand #randy3 662 863
touchpress 0 #randx3 #randy3
//대전중
:3
sleep 20000
:3a
sleep 2000
getcolor #color3 273 601
getcolor #color4 275 595
if #color3 == 0 or #color4 == 0
toast 인식성공2
rand #randx4 100 200
rand #randy4 500 800
touchpress 0 #randx4 #randy4
else
sleep 1000
toast 인식실패2
calc #count1 #count1 + 1
if #count1 <= 30
goto :3a
if #count1 >= 31
goto :error2
endif
//아이템고르기
:4
sleep 2000
getcolor #color5 417 406
if #color5 == 828828
rand #randx0 554 590
rand #randy0 181 279
touchpress 0 #randx0 #randy0
sleep 1500
rand #randx5 155 211
rand #randy5 808 988
touchpress 0 #randx5 #randy5
else
goto :4
endif
//아이템 확인
:5
sleep 2000
getcolor #color6 203 815
if #color6 == 2039096
rand #sleep2 1500 2000
sleep #sleep2
rand #randx6 100 300
rand #randy6 200 1000
touchpress 0 #randx6 #randy6
else
goto :5
sleep 1000
goto :start
:error
toast 에러
sleep 2000
touchDown 0 343 1248
sleep 62
touchUp 0
sleep 2424
touchDown 0 447 217
sleep 17
touchUp 0
sleep 1295
touchDown 0 101 589
sleep 63
touchUp 0
sleep 4635
touchDown 0 90 624
sleep 63
touchUp 0
sleep 458
touchDown 0 123 687
sleep 48
touchUp 0
sleep 2990
touchDown 0 313 649
sleep 56
touchUp 0
set #count 0
goto : start
:error2
toast 에러2
sleep 2000
touchDown 0 343 1248
sleep 62
touchUp 0
sleep 2424
touchDown 0 447 217
sleep 17
touchUp 0
sleep 1295
touchDown 0 101 589
sleep 63
touchUp 0
sleep 4635
touchDown 0 90 624
sleep 63
touchUp 0
sleep 458
touchDown 0 123 687
sleep 48
touchUp 0
sleep 2990
touchDown 0 313 649
sleep 56
touchUp 0
set #count1 0
goto : start
:end