2
« on: March 04, 2018, 02:52:06 PM »
Уже второй день думаю и не понять в чем проблема: доходит до любого из FOR и на нем зацикливается, бесконечно его выполняет
start
KEYPRESS(#A)
WAITMS(50)
KEYPRESS(#d)
WAITMS(50)
KEYPRESS(#A)
WAITMS(50)
KEYPRESS(#d)
WAITMS(50)
GETSCREEN
$count0 = PXLCOUNT (350,216, 522, 333, 10276268 )
$count1 = PXLCOUNT (350,216, 522, 333, 14580669 )
$count2 = PXLCOUNT (350,216, 522, 333, 14016213)
$count3 = PXLCOUNT (350,216, 522, 333, 10269876 )
$count4 = PXLCOUNT (350,216, 522, 333, 11842749 )
$count5 = PXLCOUNT (350,216, 522, 333, 13474922 )
$count6 = PXLCOUNT (350,216, 522, 333, 12426338 )
$count7 = PXLCOUNT (350,216, 522, 333, 2122420 )
$count8 = PXLCOUNT (350,216, 522, 333, 2118292 )
$count = PXLCOUNT (599,393, 778, 509, 1578776)
if ( $count>1)
for ( $count1 ,$count1 > 1)
WAITMS(7000)
LCLICK(643, 527)
WAITMS(100)
LCLICK(747,526)
WAITMS(7000)
goto (start1)
end_cyc
for ( $count2 ,$count2 > 1)
WAITMS(7000)
LCLICK(643, 527)
WAITMS(100)
LCLICK(747,526)
WAITMS(7000)
goto (start1)
end_cyc
for ( $count3 ,$count3 > 1)
WAITMS(7000)
LCLICK(643, 527)
WAITMS(100)
LCLICK(747,526)
WAITMS(7000)
goto (start1)
end_cyc
for ( $count4 ,$count4 > 1)
WAITMS(7000)
LCLICK(643, 527)
WAITMS(100)
LCLICK(747,526)
WAITMS(7000)
goto (start1)
end_cyc
for ( $count5 ,$count5 > 1)
WAITMS(7000)
LCLICK(643, 527)
WAITMS(100)
LCLICK(747,526)
WAITMS(7000)
goto (start1)
end_cyc
for ( $count6 ,$count6 > 1)
WAITMS(7000)
LCLICK(643, 527)
WAITMS(100)
LCLICK(747,526)
WAITMS(7000)
goto (start1)
end_cyc
for ( $count7 ,$count7 > 1)
WAITMS(7000)
LCLICK(643, 527)
WAITMS(100)
LCLICK(747,526)
WAITMS(7000)
goto (start1)
end_cyc
for ( $count8 ,$count8 > 1)
WAITMS(7000)
LCLICK(643, 527)
WAITMS(100)
LCLICK(747,526)
WAITMS(7000)
goto (start1)
end_cyc
for ($count0, $count0 > 1)
WAITMS(7000)
LCLICK(730,420)
WAITMS(100)
LCLICK(640,250)
WAITMS(100)
WAITMS(7000)
LCLICK(640,440)
WAITMS(1000)
LCLICK(640,333)
WAITMS(7000)
LCLICK(640,440)
WAITMS(1000)
LCLICK(640,333)
WAITMS(7000)
LCLICK(644,510)
WAITMS(1000)
LCLICK(650,164)
WAITMS(7000)
LCLICK(644,510)
WAITMS(1000)
LCLICK(650,164)
WAITMS(1000)
WAITMS(7000)
LCLICK(644,510)
WAITMS(1000)
LCLICK(650,164)
WAITMS(7000)
goto (start1)
end_cyc
else
goto (start )
start1
end_if