|
findimage, Перекрытая команда |
|
|
| FXmax |
26.3.2016, 10:56
|
 
Neophyte
Сообщений: 10
Регистрация: 8.6.2014 Группа: Пользователи Наличность: 0
Пользователь №: 16.873
Возраст: 16

|
Код set #w findwindow 132330 set $b findimage (#StartX, #StartY #EndX, #EndY ($path%cash[3].png) %crds #w) [/quote] Если убрать 2, то у меня он перестает искать. Пробовал переставлять везде #w нет реакции. Есть другие идеи ?
|
|
|
|
|
|
| cirus |
26.3.2016, 19:00
|

         
Elder
Сообщений: 3.480
Регистрация: 18.8.2014 Группа: Пользователи Наличность: 26138
Пользователь №: 16.971
Возраст: 29

|
Цитата Есть другие идеи ? Переставлять ничего не надо, сначала идёт массив, потом тип поиска. Даю 99% что привязка не к тому окну. Привязка, как правило, к родительскому окну должна быть.Если версия пилота 2.36 или выше, то около кнопки log есть кнопка F, появится окно, в котором будет показано что видит пилот при поиске. Если там будет черное окно, то значит не то окно. Где поиск делается, в браузере?
|
|
|
|
|
|
| FXmax |
27.3.2016, 3:58
|
 
Neophyte
Сообщений: 10
Регистрация: 8.6.2014 Группа: Пользователи Наличность: 0
Пользователь №: 16.873
Возраст: 16

|
Цитата(cirus @ 26.3.2016, 19:00)  Переставлять ничего не надо, сначала идёт массив, потом тип поиска. Даю 99% что привязка не к тому окну. Привязка, как правило, к родительскому окну должна быть. Если версия пилота 2.36 или выше, то около кнопки log есть кнопка F, появится окно, в котором будет показано что видит пилот при поиске. Если там будет черное окно, то значит не то окно. Где поиск делается, в браузере?
https://pp.vk.me/c629228/v629228253/41f58/ICZY3T5OVtY.jpgВерсия 2.35 Когда нажимаю ктрл + ф то хендл окна подписывается по другому нежели предлагаемый в списке. Т.е. пишет BlueStacks Android Plug А в списке BlueStack player.
|
|
|
|
|
|
| Scatmen |
12.4.2016, 2:17
|
 
Neophyte
Сообщений: 10
Регистрация: 28.5.2013 Группа: Пользователи Наличность: 0
Пользователь №: 16.104
Возраст: 33

|
Всем здравия. Не могу заставить работать FindImage. Сперва для образца использовал кусок из скриншота, но из-за прозрачности текстур, результат был через раз, после перезапуска клиента, смены локации, вообще переставал работать. В итоге дошел до того, что отредактировал текстуру, добавил цветные метки. Текстуры в редакторе выглядят так: (IMG: http://s018.radikal.ru/i506/1604/bc/e97c6fe8e606.png) (IMG: http://s016.radikal.ru/i337/1604/f8/505670274693.png) (IMG: http://s017.radikal.ru/i424/1604/e2/f04146596ff8.png) В клиенте вот так: (IMG: http://s020.radikal.ru/i709/1604/3e/13dd510774ad.png) (IMG: http://s011.radikal.ru/i316/1604/33/43093ec789c1.png) (IMG: http://s017.radikal.ru/i409/1604/6e/df7819c28a2d.png) шаблоны брал и из текстур: (IMG: http://s017.radikal.ru/i417/1604/97/439f7b894e49.png) (IMG: http://s009.radikal.ru/i309/1604/73/fb1f0c8eb416.png) (IMG: http://s018.radikal.ru/i518/1604/6b/edc662f304b0.png) и из скринов: (IMG: http://s017.radikal.ru/i420/1604/c2/4fb67b895fda.png) http://s019.radikal.ru/i625/1604/4d/315c2acad827.png http://s017.radikal.ru/i413/1604/ce/7830696ddfc9.pngНо почему то FindImage не находить их. код
Код set logging clear //set logging commands set timer set linedelay 10
set %logs[1 1]------- set %logs[1 2] Test Find_Image set %logs[1 3] ------ set %logs[1 4] -- UoPilot Version 2.36.2 (01.04.2016) --
//set #handle 655900 set #handle findwindow (Nksp) set %logs[4 1] find_window(game) handle: set %logs[4 3] #handle set workwindow #handle set #check0 0 set #check1 0 set #check2 0
set #StartX 0 set #StartY 0 set #EndX 1024 set #EndY 768 set $path images\ set %res[0] result set %cash[0] Self set %cash[1] TargetBoss set %cash[2] TargetMob set #type #handle set #accuracy 80 set #count 1 set #deviation 3
//шапка лога set %logs[5 1] Time_ set %logs[5 2] Self set %logs[5 3] Boss set %logs[5 4] Mob set %logs[5 5] accur set %logs[5 6] check set %logs[5 7] __x__ set %logs[5 8] __y__
set #q 6
:start set %logs[#q 1] timer / 100 set $a findimage (#StartX #StartY #EndX #EndY ($path%cash[0].png) %ResultArray #type #accuracy #count #deviation) set #check0 size (%ResultArray) set %logs[#q 5] $a set %logs[#q 6] #check0 for #i 1 #check0 set #x %arr [#i 1] set #y %arr [#i 2] set %logs[#q 7] #x set %logs[#q 8] #y end_for if #check0 > 0 set %logs[#q 2] _Ok_ alarm else set %logs[#q 2] Fail end_if
set $a findimage (#StartX #StartY #EndX #EndY ($path%cash[1].png) %ResultArray #type #accuracy #count #deviation) set #check1 size (%ResultArray) set %logs[#q 5] $a set %logs[#q 6] #check1 for #i 1 #check1 set #x %arr [#i 1] set #y %arr [#i 2] set %logs[#q 7] #x set %logs[#q 8] #y end_for if #check1 > 0 set %logs[#q 3] _Ok_ alarm else set %logs[#q 3] Fail end_if
set $a findimage (#StartX #StartY #EndX #EndY ($path%cash[2].png) %ResultArray #type #accuracy #count #deviation) set #check2 size (%ResultArray) set %logs[#q 5] $a set %logs[#q 6] #check2 for #i 1 #check2 set #x %arr [#i 1] set #y %arr [#i 2] set %logs[#q 7] #x set %logs[#q 8] #y end_for if #check2 > 0 set %logs[#q 4] _Ok_ alarm else set %logs[#q 4] Fail end_if
set #q #q + 1
save_array %logs C:\UoPilot_AntiFrost\images\result.txt goto start end_script
На скринах видно, что моя метка смазывается, несмотря на то что закрашена сплошным цветом. Хендл окна и вручную выбирал Ctrl+A, и в скрипте. Может шаблоны маловаты, или есть другой способ реализации? Жду ответов с нетерпением.
|
|
|
|
|
|
| Scatmen |
13.4.2016, 5:27
|
 
Neophyte
Сообщений: 10
Регистрация: 28.5.2013 Группа: Пользователи Наличность: 0
Пользователь №: 16.104
Возраст: 33

|
Ушел от экспериментов с игрой, решил потренироваться на кошках. Создал простой рисунок на белом фоне в Paint. Этот рисунок откопировал в шаблон для поиска. переписал скрипт. В Paint нажал кнопочку истинный размер (масштаб 100%) Перед запуском навел мышку на картинку в Paint (UoPilot в фокусе, Paint под ним) нажал Ctrl+A, вставил полученный хэндл в скрипт, запустил и заскринил. скрипт
set logging clear //set logging commands set timer set linedelay 10
set %logs[1 1]------- set %logs[1 2] Test Find_Image set %logs[1 3] ------ set %logs[1 4] -- UoPilot Version 2.36.2 (01.04.2016) --
set #handle 132130 //set #handle findwindow (Nksp) set %logs[3 1] find_window(game) handle:#handle set %logs[3 3] hour;min;sec set %logs[3 4] day,month,year set workwindow #handle set #check 0
set #StartX 0 set #StartY 0 set #EndX 1100 set #EndY 900 set $file E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt set $path images\ set %cash[0] Paint set #type 2 //#handle set #accuracy 70 set #count 1 set #deviation 5
//шапка лога set %logs[5 1] Time_ set %logs[5 2] Search set %logs[5 3] accur set %logs[5 4] check set %logs[5 5] __x__ set %logs[5 6] __y__
set #q 7
:start set %logs[#q 1] timer / 100 set $a findimage (#StartX #StartY #EndX #EndY ($path%cash[0].bmp) %ResultArray #type #accuracy #count #deviation) set #check size (%ResultArray) set %logs[#q 3] $a set %logs[#q 4] #check for #i 1 #check set #x %arr [#i 1] set #y %arr [#i 2] set #r #q + #i set %logs[#r 5] #x set %logs[#r 6] #y move #x, #y alarm wait 1000 end_for
if #check0 > 0 set %logs[#q 2] _Ok_ alarm else set %logs[#q 2] Fail end_if
set #q #q + 1
save_array %logs $file goto start end_script
лог подредоктировал, для большей удобочитаемости, форум игнорирует идущие подряд пробелы, не помешало бы добавить в ВВ-коды что-либо подобно: [pre][/pre] - вывод как есть без форматирования лог скрипта
------- Test Find_Image ------ -- UoPilot Version 2.36.2 (01.04.2016) -- find_window(game) handle:132130 6;30;26 13,04,2016 Time_____Search____accur____check_______x________y__ 7__________Fail______-1_______0 10_________Fail______-1_______0 13_________Fail______-1_______0 15_________Fail______-1_______0 17_________Fail______-1_______0 20_________Fail______-1_______0 22_________Fail______-1_______0 24_________Fail______-1_______0 27_________Fail______-1_______0 29_________Fail______-1_______0 31_________Fail______-1_______0 33_________Fail______-1_______0 36_________Fail______-1_______0 38_________Fail______-1_______0 41_________Fail______-1_______0 43_________Fail______-1_______0 45_________Fail______-1_______0 47_________Fail______-1_______0 50_________Fail______-1_______0 52_________Fail______-1_______0 55_________Fail______-1_______0 57_________Fail______-1_______0 60_________Fail______-1_______0 62_________Fail______-1_______0 64_________Fail______-1_______0 67_________Fail______-1_______0 70_________Fail______-1_______0 72_________Fail______-1_______0 74_________Fail______-1_______0 77_________Fail______-1_______0 79_________Fail______-1_______0 81_________Fail______-1_______0 84_________Fail______-1_______0 86_________Fail______-1_______0 88_________Fail______-1_______0
лог пилота
6:30:26 3 (Paint.txt, 3): set timer 6:30:26 3 (Paint.txt, 4): set linedelay 10 6:30:26 3 (Paint.txt, 7): set %logs()[1 1]------- 6:30:26 3 (Paint.txt, 7): %logs [ 1 1 ] = ------- 6:30:26 3 (Paint.txt, 8): set %logs()[1 2] Test Find_Image 6:30:26 3 (Paint.txt, 8): %logs [ 1 2 ] = Test Find_Image 6:30:26 3 (Paint.txt, 9): set %logs()[1 3] ------ 6:30:26 3 (Paint.txt, 9): %logs [ 1 3 ] = ------ 6:30:26 3 (Paint.txt, 10): set %logs()[1 4] -- UoPilot Version 2.36.2 (01.04.2016) -- 6:30:26 3 (Paint.txt, 10): %logs [ 1 4 ] = -- UoPilot Version 2.36.2 (01.04.2016) -- 6:30:26 3 (Paint.txt, 12): set #handle 132130 6:30:26 3 (Paint.txt, 12): #handle = 132130 6:30:26 3 (Paint.txt, 14): set %logs()[3 1] find_window(game) handle:#handle(handle:132130) 6:30:26 3 (Paint.txt, 14): %logs [ 3 1 ] = find_window(game) handle:132130 6:30:26 3 (Paint.txt, 15): set %logs()[3 3] hour;min;sec 6:30:26 3 (Paint.txt, 15): %logs [ 3 3 ] = 6;30;26 6:30:26 3 (Paint.txt, 16): set %logs()[3 4] day,month,year 6:30:26 3 (Paint.txt, 16): %logs [ 3 4 ] = 13,04,2016 6:30:26 3 (Paint.txt, 17): set workwindow #handle(132130) 6:30:26 3 (Paint.txt, 18): set #check 0 6:30:26 3 (Paint.txt, 18): #check = 0 6:30:26 3 (Paint.txt, 20): set #StartX 0 6:30:26 3 (Paint.txt, 20): #StartX = 0 6:30:26 3 (Paint.txt, 21): set #StartY 0 6:30:26 3 (Paint.txt, 21): #StartY = 0 6:30:26 3 (Paint.txt, 22): set #EndX 1100 6:30:26 3 (Paint.txt, 22): #EndX = 1100 6:30:26 3 (Paint.txt, 23): set #EndY 900 6:30:26 3 (Paint.txt, 23): #EndY = 900 6:30:26 3 (Paint.txt, 24): set $file E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt 6:30:26 3 (Paint.txt, 24): $file = E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt 6:30:26 3 (Paint.txt, 25): set $path images\ 6:30:26 3 (Paint.txt, 25): $path = images\ 6:30:26 3 (Paint.txt, 26): set %cash()[0] Paint 6:30:26 3 (Paint.txt, 26): %cash [ 0 1 ] = Paint 6:30:26 3 (Paint.txt, 27): set #type 2 6:30:26 3 (Paint.txt, 27): #type = 2 6:30:26 3 (Paint.txt, 28): set #accuracy 70 6:30:26 3 (Paint.txt, 28): #accuracy = 70 6:30:26 3 (Paint.txt, 29): set #count 1 6:30:26 3 (Paint.txt, 29): #count = 1 6:30:26 3 (Paint.txt, 30): set #deviation 5 6:30:26 3 (Paint.txt, 30): #deviation = 5 6:30:26 3 (Paint.txt, 33): set %logs()[5 1] Time_ 6:30:26 3 (Paint.txt, 33): %logs [ 5 1 ] = Time_ 6:30:26 3 (Paint.txt, 34): set %logs()[5 2] Search 6:30:26 3 (Paint.txt, 34): %logs [ 5 2 ] = Search 6:30:26 3 (Paint.txt, 35): set %logs()[5 3] accur 6:30:26 3 (Paint.txt, 35): %logs [ 5 3 ] = accur 6:30:26 3 (Paint.txt, 36): set %logs()[5 4] check 6:30:26 3 (Paint.txt, 36): %logs [ 5 4 ] = check 6:30:26 3 (Paint.txt, 37): set %logs()[5 5] __x__ 6:30:26 3 (Paint.txt, 37): %logs [ 5 5 ] = __x__ 6:30:26 3 (Paint.txt, 38): set %logs()[5 6] __y__ 6:30:26 3 (Paint.txt, 38): %logs [ 5 6 ] = __y__ 6:30:26 3 (Paint.txt, 40): set #q 7 6:30:26 3 (Paint.txt, 40): #q = 7 6:30:26 3 (Paint.txt, 42): :start 6:30:26 3 (Paint.txt, 43): set %logs()[#q(7) 1] timer / 100 6:30:26 3 (Paint.txt, 43): %logs [ 7 1 ] = 7 6:30:26 3 (Paint.txt, 44): set $a findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:26 3 (Paint.txt, 44): $a = -1 6:30:26 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:26 3 (Paint.txt, 45): #check = 0 6:30:26 3 (Paint.txt, 46): set %logs()[#q(7) 3] $a(-1) 6:30:26 3 (Paint.txt, 46): %logs [ 7 3 ] = -1 6:30:26 3 (Paint.txt, 47): set %logs()[#q(7) 4] #check(0) 6:30:26 3 (Paint.txt, 47): %logs [ 7 4 ] = 0 6:30:26 3 (Paint.txt, 48): for #i 1 #check(0) 6:30:26 3 (Paint.txt, 57): end_for 6:30:26 3 (Paint.txt, 59): if #check0 > 0 6:30:26 3 (Paint.txt, 63): set %logs()[#q(7) 2] Fail 6:30:26 3 (Paint.txt, 63): %logs [ 7 2 ] = Fail 6:30:26 3 (Paint.txt, 64): end_if 6:30:26 3 (Paint.txt, 66): set #q(7) #q(7) + 1 6:30:27 3 (Paint.txt, 66): #q = 8 6:30:27 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:27 3 (Paint.txt, 69): goto start 6:30:27 3 (Paint.txt, 43): set %logs()[#q(8) 1] timer / 100 6:30:27 3 (Paint.txt, 43): %logs [ 8 1 ] = 10 6:30:27 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:27 3 (Paint.txt, 44): $a = -1 6:30:27 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:27 3 (Paint.txt, 45): #check = 0 6:30:27 3 (Paint.txt, 46): set %logs()[#q(8) 3] $a(-1) 6:30:27 3 (Paint.txt, 46): %logs [ 8 3 ] = -1 6:30:27 3 (Paint.txt, 47): set %logs()[#q(8) 4] #check(0) 6:30:27 3 (Paint.txt, 47): %logs [ 8 4 ] = 0 6:30:27 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:27 3 (Paint.txt, 57): end_for 6:30:27 3 (Paint.txt, 59): if #check0 > 0 6:30:27 3 (Paint.txt, 63): set %logs()[#q(8) 2] Fail 6:30:27 3 (Paint.txt, 63): %logs [ 8 2 ] = Fail 6:30:27 3 (Paint.txt, 64): end_if 6:30:27 3 (Paint.txt, 66): set #q(8) #q(8) + 1 6:30:27 3 (Paint.txt, 66): #q = 9 6:30:27 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:27 3 (Paint.txt, 69): goto start 6:30:27 3 (Paint.txt, 43): set %logs()[#q(9) 1] timer / 100 6:30:27 3 (Paint.txt, 43): %logs [ 9 1 ] = 13 6:30:27 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:27 3 (Paint.txt, 44): $a = -1 6:30:27 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:27 3 (Paint.txt, 45): #check = 0 6:30:27 3 (Paint.txt, 46): set %logs()[#q(9) 3] $a(-1) 6:30:27 3 (Paint.txt, 46): %logs [ 9 3 ] = -1 6:30:27 3 (Paint.txt, 47): set %logs()[#q(9) 4] #check(0) 6:30:27 3 (Paint.txt, 47): %logs [ 9 4 ] = 0 6:30:27 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:27 3 (Paint.txt, 57): end_for 6:30:27 3 (Paint.txt, 59): if #check0 > 0 6:30:27 3 (Paint.txt, 63): set %logs()[#q(9) 2] Fail 6:30:27 3 (Paint.txt, 63): %logs [ 9 2 ] = Fail 6:30:27 3 (Paint.txt, 64): end_if 6:30:27 3 (Paint.txt, 66): set #q(9) #q(9) + 1 6:30:27 3 (Paint.txt, 66): #q = 10 6:30:27 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:27 3 (Paint.txt, 69): goto start 6:30:27 3 (Paint.txt, 43): set %logs()[#q(10) 1] timer / 100 6:30:27 3 (Paint.txt, 43): %logs [ 10 1 ] = 15 6:30:27 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:27 3 (Paint.txt, 44): $a = -1 6:30:27 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:27 3 (Paint.txt, 45): #check = 0 6:30:27 3 (Paint.txt, 46): set %logs()[#q(10) 3] $a(-1) 6:30:27 3 (Paint.txt, 46): %logs [ 10 3 ] = -1 6:30:27 3 (Paint.txt, 47): set %logs()[#q(10) 4] #check(0) 6:30:27 3 (Paint.txt, 47): %logs [ 10 4 ] = 0 6:30:27 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:27 3 (Paint.txt, 57): end_for 6:30:27 3 (Paint.txt, 59): if #check0 > 0 6:30:27 3 (Paint.txt, 63): set %logs()[#q(10) 2] Fail 6:30:27 3 (Paint.txt, 63): %logs [ 10 2 ] = Fail 6:30:27 3 (Paint.txt, 64): end_if 6:30:27 3 (Paint.txt, 66): set #q(10) #q(10) + 1 6:30:27 3 (Paint.txt, 66): #q = 11 6:30:27 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:27 3 (Paint.txt, 69): goto start 6:30:27 3 (Paint.txt, 43): set %logs()[#q(11) 1] timer / 100 6:30:27 3 (Paint.txt, 43): %logs [ 11 1 ] = 17 6:30:27 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:27 3 (Paint.txt, 44): $a = -1 6:30:27 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:27 3 (Paint.txt, 45): #check = 0 6:30:27 3 (Paint.txt, 46): set %logs()[#q(11) 3] $a(-1) 6:30:27 3 (Paint.txt, 46): %logs [ 11 3 ] = -1 6:30:27 3 (Paint.txt, 47): set %logs()[#q(11) 4] #check(0) 6:30:27 3 (Paint.txt, 47): %logs [ 11 4 ] = 0 6:30:27 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:27 3 (Paint.txt, 57): end_for 6:30:27 3 (Paint.txt, 59): if #check0 > 0 6:30:27 3 (Paint.txt, 63): set %logs()[#q(11) 2] Fail 6:30:27 3 (Paint.txt, 63): %logs [ 11 2 ] = Fail 6:30:27 3 (Paint.txt, 64): end_if 6:30:27 3 (Paint.txt, 66): set #q(11) #q(11) + 1 6:30:27 3 (Paint.txt, 66): #q = 12 6:30:27 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:28 3 (Paint.txt, 69): goto start 6:30:28 3 (Paint.txt, 43): set %logs()[#q(12) 1] timer / 100 6:30:28 3 (Paint.txt, 43): %logs [ 12 1 ] = 20 6:30:28 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:28 3 (Paint.txt, 44): $a = -1 6:30:28 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:28 3 (Paint.txt, 45): #check = 0 6:30:28 3 (Paint.txt, 46): set %logs()[#q(12) 3] $a(-1) 6:30:28 3 (Paint.txt, 46): %logs [ 12 3 ] = -1 6:30:28 3 (Paint.txt, 47): set %logs()[#q(12) 4] #check(0) 6:30:28 3 (Paint.txt, 47): %logs [ 12 4 ] = 0 6:30:28 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:28 3 (Paint.txt, 57): end_for 6:30:28 3 (Paint.txt, 59): if #check0 > 0 6:30:28 3 (Paint.txt, 63): set %logs()[#q(12) 2] Fail 6:30:28 3 (Paint.txt, 63): %logs [ 12 2 ] = Fail 6:30:28 3 (Paint.txt, 64): end_if 6:30:28 3 (Paint.txt, 66): set #q(12) #q(12) + 1 6:30:28 3 (Paint.txt, 66): #q = 13 6:30:28 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:28 3 (Paint.txt, 69): goto start 6:30:28 3 (Paint.txt, 43): set %logs()[#q(13) 1] timer / 100 6:30:28 3 (Paint.txt, 43): %logs [ 13 1 ] = 22 6:30:28 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:28 3 (Paint.txt, 44): $a = -1 6:30:28 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:28 3 (Paint.txt, 45): #check = 0 6:30:28 3 (Paint.txt, 46): set %logs()[#q(13) 3] $a(-1) 6:30:28 3 (Paint.txt, 46): %logs [ 13 3 ] = -1 6:30:28 3 (Paint.txt, 47): set %logs()[#q(13) 4] #check(0) 6:30:28 3 (Paint.txt, 47): %logs [ 13 4 ] = 0 6:30:28 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:28 3 (Paint.txt, 57): end_for 6:30:28 3 (Paint.txt, 59): if #check0 > 0 6:30:28 3 (Paint.txt, 63): set %logs()[#q(13) 2] Fail 6:30:28 3 (Paint.txt, 63): %logs [ 13 2 ] = Fail 6:30:28 3 (Paint.txt, 64): end_if 6:30:28 3 (Paint.txt, 66): set #q(13) #q(13) + 1 6:30:28 3 (Paint.txt, 66): #q = 14 6:30:28 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:28 3 (Paint.txt, 69): goto start 6:30:28 3 (Paint.txt, 43): set %logs()[#q(14) 1] timer / 100 6:30:28 3 (Paint.txt, 43): %logs [ 14 1 ] = 24 6:30:28 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:28 3 (Paint.txt, 44): $a = -1 6:30:28 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:28 3 (Paint.txt, 45): #check = 0 6:30:28 3 (Paint.txt, 46): set %logs()[#q(14) 3] $a(-1) 6:30:28 3 (Paint.txt, 46): %logs [ 14 3 ] = -1 6:30:28 3 (Paint.txt, 47): set %logs()[#q(14) 4] #check(0) 6:30:28 3 (Paint.txt, 47): %logs [ 14 4 ] = 0 6:30:28 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:28 3 (Paint.txt, 57): end_for 6:30:28 3 (Paint.txt, 59): if #check0 > 0 6:30:28 3 (Paint.txt, 63): set %logs()[#q(14) 2] Fail 6:30:28 3 (Paint.txt, 63): %logs [ 14 2 ] = Fail 6:30:28 3 (Paint.txt, 64): end_if 6:30:28 3 (Paint.txt, 66): set #q(14) #q(14) + 1 6:30:28 3 (Paint.txt, 66): #q = 15 6:30:28 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:28 3 (Paint.txt, 69): goto start 6:30:28 3 (Paint.txt, 43): set %logs()[#q(15) 1] timer / 100 6:30:28 3 (Paint.txt, 43): %logs [ 15 1 ] = 27 6:30:28 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:28 3 (Paint.txt, 44): $a = -1 6:30:28 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:28 3 (Paint.txt, 45): #check = 0 6:30:28 3 (Paint.txt, 46): set %logs()[#q(15) 3] $a(-1) 6:30:28 3 (Paint.txt, 46): %logs [ 15 3 ] = -1 6:30:28 3 (Paint.txt, 47): set %logs()[#q(15) 4] #check(0) 6:30:28 3 (Paint.txt, 47): %logs [ 15 4 ] = 0 6:30:28 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:28 3 (Paint.txt, 57): end_for 6:30:28 3 (Paint.txt, 59): if #check0 > 0 6:30:28 3 (Paint.txt, 63): set %logs()[#q(15) 2] Fail 6:30:28 3 (Paint.txt, 63): %logs [ 15 2 ] = Fail 6:30:28 3 (Paint.txt, 64): end_if 6:30:28 3 (Paint.txt, 66): set #q(15) #q(15) + 1 6:30:28 3 (Paint.txt, 66): #q = 16 6:30:28 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:28 3 (Paint.txt, 69): goto start 6:30:28 3 (Paint.txt, 43): set %logs()[#q(16) 1] timer / 100 6:30:28 3 (Paint.txt, 43): %logs [ 16 1 ] = 29 6:30:28 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:28 3 (Paint.txt, 44): $a = -1 6:30:29 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:29 3 (Paint.txt, 45): #check = 0 6:30:29 3 (Paint.txt, 46): set %logs()[#q(16) 3] $a(-1) 6:30:29 3 (Paint.txt, 46): %logs [ 16 3 ] = -1 6:30:29 3 (Paint.txt, 47): set %logs()[#q(16) 4] #check(0) 6:30:29 3 (Paint.txt, 47): %logs [ 16 4 ] = 0 6:30:29 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:29 3 (Paint.txt, 57): end_for 6:30:29 3 (Paint.txt, 59): if #check0 > 0 6:30:29 3 (Paint.txt, 63): set %logs()[#q(16) 2] Fail 6:30:29 3 (Paint.txt, 63): %logs [ 16 2 ] = Fail 6:30:29 3 (Paint.txt, 64): end_if 6:30:29 3 (Paint.txt, 66): set #q(16) #q(16) + 1 6:30:29 3 (Paint.txt, 66): #q = 17 6:30:29 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:29 3 (Paint.txt, 69): goto start 6:30:29 3 (Paint.txt, 43): set %logs()[#q(17) 1] timer / 100 6:30:29 3 (Paint.txt, 43): %logs [ 17 1 ] = 31 6:30:29 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:29 3 (Paint.txt, 44): $a = -1 6:30:29 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:29 3 (Paint.txt, 45): #check = 0 6:30:29 3 (Paint.txt, 46): set %logs()[#q(17) 3] $a(-1) 6:30:29 3 (Paint.txt, 46): %logs [ 17 3 ] = -1 6:30:29 3 (Paint.txt, 47): set %logs()[#q(17) 4] #check(0) 6:30:29 3 (Paint.txt, 47): %logs [ 17 4 ] = 0 6:30:29 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:29 3 (Paint.txt, 57): end_for 6:30:29 3 (Paint.txt, 59): if #check0 > 0 6:30:29 3 (Paint.txt, 63): set %logs()[#q(17) 2] Fail 6:30:29 3 (Paint.txt, 63): %logs [ 17 2 ] = Fail 6:30:29 3 (Paint.txt, 64): end_if 6:30:29 3 (Paint.txt, 66): set #q(17) #q(17) + 1 6:30:29 3 (Paint.txt, 66): #q = 18 6:30:29 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:29 3 (Paint.txt, 69): goto start 6:30:29 3 (Paint.txt, 43): set %logs()[#q(18) 1] timer / 100 6:30:29 3 (Paint.txt, 43): %logs [ 18 1 ] = 33 6:30:29 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:29 3 (Paint.txt, 44): $a = -1 6:30:29 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:29 3 (Paint.txt, 45): #check = 0 6:30:29 3 (Paint.txt, 46): set %logs()[#q(18) 3] $a(-1) 6:30:29 3 (Paint.txt, 46): %logs [ 18 3 ] = -1 6:30:29 3 (Paint.txt, 47): set %logs()[#q(18) 4] #check(0) 6:30:29 3 (Paint.txt, 47): %logs [ 18 4 ] = 0 6:30:29 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:29 3 (Paint.txt, 57): end_for 6:30:29 3 (Paint.txt, 59): if #check0 > 0 6:30:29 3 (Paint.txt, 63): set %logs()[#q(18) 2] Fail 6:30:29 3 (Paint.txt, 63): %logs [ 18 2 ] = Fail 6:30:29 3 (Paint.txt, 64): end_if 6:30:29 3 (Paint.txt, 66): set #q(18) #q(18) + 1 6:30:29 3 (Paint.txt, 66): #q = 19 6:30:29 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:29 3 (Paint.txt, 69): goto start 6:30:29 3 (Paint.txt, 43): set %logs()[#q(19) 1] timer / 100 6:30:29 3 (Paint.txt, 43): %logs [ 19 1 ] = 36 6:30:29 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:29 3 (Paint.txt, 44): $a = -1 6:30:29 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:29 3 (Paint.txt, 45): #check = 0 6:30:29 3 (Paint.txt, 46): set %logs()[#q(19) 3] $a(-1) 6:30:29 3 (Paint.txt, 46): %logs [ 19 3 ] = -1 6:30:29 3 (Paint.txt, 47): set %logs()[#q(19) 4] #check(0) 6:30:29 3 (Paint.txt, 47): %logs [ 19 4 ] = 0 6:30:29 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:29 3 (Paint.txt, 57): end_for 6:30:29 3 (Paint.txt, 59): if #check0 > 0 6:30:29 3 (Paint.txt, 63): set %logs()[#q(19) 2] Fail 6:30:29 3 (Paint.txt, 63): %logs [ 19 2 ] = Fail 6:30:29 3 (Paint.txt, 64): end_if 6:30:29 3 (Paint.txt, 66): set #q(19) #q(19) + 1 6:30:29 3 (Paint.txt, 66): #q = 20 6:30:29 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:29 3 (Paint.txt, 69): goto start 6:30:29 3 (Paint.txt, 43): set %logs()[#q(20) 1] timer / 100 6:30:29 3 (Paint.txt, 43): %logs [ 20 1 ] = 38 6:30:29 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:29 3 (Paint.txt, 44): $a = -1 6:30:29 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:29 3 (Paint.txt, 45): #check = 0 6:30:29 3 (Paint.txt, 46): set %logs()[#q(20) 3] $a(-1) 6:30:29 3 (Paint.txt, 46): %logs [ 20 3 ] = -1 6:30:29 3 (Paint.txt, 47): set %logs()[#q(20) 4] #check(0) 6:30:29 3 (Paint.txt, 47): %logs [ 20 4 ] = 0 6:30:29 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:30 3 (Paint.txt, 57): end_for 6:30:30 3 (Paint.txt, 59): if #check0 > 0 6:30:30 3 (Paint.txt, 63): set %logs()[#q(20) 2] Fail 6:30:30 3 (Paint.txt, 63): %logs [ 20 2 ] = Fail 6:30:30 3 (Paint.txt, 64): end_if 6:30:30 3 (Paint.txt, 66): set #q(20) #q(20) + 1 6:30:30 3 (Paint.txt, 66): #q = 21 6:30:30 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:30 3 (Paint.txt, 69): goto start 6:30:30 3 (Paint.txt, 43): set %logs()[#q(21) 1] timer / 100 6:30:30 3 (Paint.txt, 43): %logs [ 21 1 ] = 41 6:30:30 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:30 3 (Paint.txt, 44): $a = -1 6:30:30 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:30 3 (Paint.txt, 45): #check = 0 6:30:30 3 (Paint.txt, 46): set %logs()[#q(21) 3] $a(-1) 6:30:30 3 (Paint.txt, 46): %logs [ 21 3 ] = -1 6:30:30 3 (Paint.txt, 47): set %logs()[#q(21) 4] #check(0) 6:30:30 3 (Paint.txt, 47): %logs [ 21 4 ] = 0 6:30:30 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:30 3 (Paint.txt, 57): end_for 6:30:30 3 (Paint.txt, 59): if #check0 > 0 6:30:30 3 (Paint.txt, 63): set %logs()[#q(21) 2] Fail 6:30:30 3 (Paint.txt, 63): %logs [ 21 2 ] = Fail 6:30:30 3 (Paint.txt, 64): end_if 6:30:30 3 (Paint.txt, 66): set #q(21) #q(21) + 1 6:30:30 3 (Paint.txt, 66): #q = 22 6:30:30 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:30 3 (Paint.txt, 69): goto start 6:30:30 3 (Paint.txt, 43): set %logs()[#q(22) 1] timer / 100 6:30:30 3 (Paint.txt, 43): %logs [ 22 1 ] = 43 6:30:30 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:30 3 (Paint.txt, 44): $a = -1 6:30:30 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:30 3 (Paint.txt, 45): #check = 0 6:30:30 3 (Paint.txt, 46): set %logs()[#q(22) 3] $a(-1) 6:30:30 3 (Paint.txt, 46): %logs [ 22 3 ] = -1 6:30:30 3 (Paint.txt, 47): set %logs()[#q(22) 4] #check(0) 6:30:30 3 (Paint.txt, 47): %logs [ 22 4 ] = 0 6:30:30 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:30 3 (Paint.txt, 57): end_for 6:30:30 3 (Paint.txt, 59): if #check0 > 0 6:30:30 3 (Paint.txt, 63): set %logs()[#q(22) 2] Fail 6:30:30 3 (Paint.txt, 63): %logs [ 22 2 ] = Fail 6:30:30 3 (Paint.txt, 64): end_if 6:30:30 3 (Paint.txt, 66): set #q(22) #q(22) + 1 6:30:30 3 (Paint.txt, 66): #q = 23 6:30:30 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:30 3 (Paint.txt, 69): goto start 6:30:30 3 (Paint.txt, 43): set %logs()[#q(23) 1] timer / 100 6:30:30 3 (Paint.txt, 43): %logs [ 23 1 ] = 45 6:30:30 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:30 3 (Paint.txt, 44): $a = -1 6:30:30 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:30 3 (Paint.txt, 45): #check = 0 6:30:30 3 (Paint.txt, 46): set %logs()[#q(23) 3] $a(-1) 6:30:30 3 (Paint.txt, 46): %logs [ 23 3 ] = -1 6:30:30 3 (Paint.txt, 47): set %logs()[#q(23) 4] #check(0) 6:30:30 3 (Paint.txt, 47): %logs [ 23 4 ] = 0 6:30:30 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:30 3 (Paint.txt, 57): end_for 6:30:30 3 (Paint.txt, 59): if #check0 > 0 6:30:30 3 (Paint.txt, 63): set %logs()[#q(23) 2] Fail 6:30:30 3 (Paint.txt, 63): %logs [ 23 2 ] = Fail 6:30:30 3 (Paint.txt, 64): end_if 6:30:30 3 (Paint.txt, 66): set #q(23) #q(23) + 1 6:30:30 3 (Paint.txt, 66): #q = 24 6:30:30 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:30 3 (Paint.txt, 69): goto start 6:30:30 3 (Paint.txt, 43): set %logs()[#q(24) 1] timer / 100 6:30:30 3 (Paint.txt, 43): %logs [ 24 1 ] = 47 6:30:30 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:30 3 (Paint.txt, 44): $a = -1 6:30:30 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:30 3 (Paint.txt, 45): #check = 0 6:30:30 3 (Paint.txt, 46): set %logs()[#q(24) 3] $a(-1) 6:30:30 3 (Paint.txt, 46): %logs [ 24 3 ] = -1 6:30:30 3 (Paint.txt, 47): set %logs()[#q(24) 4] #check(0) 6:30:30 3 (Paint.txt, 47): %logs [ 24 4 ] = 0 6:30:30 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:30 3 (Paint.txt, 57): end_for 6:30:30 3 (Paint.txt, 59): if #check0 > 0 6:30:30 3 (Paint.txt, 63): set %logs()[#q(24) 2] Fail 6:30:30 3 (Paint.txt, 63): %logs [ 24 2 ] = Fail 6:30:30 3 (Paint.txt, 64): end_if 6:30:30 3 (Paint.txt, 66): set #q(24) #q(24) + 1 6:30:30 3 (Paint.txt, 66): #q = 25 6:30:30 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:31 3 (Paint.txt, 69): goto start 6:30:31 3 (Paint.txt, 43): set %logs()[#q(25) 1] timer / 100 6:30:31 3 (Paint.txt, 43): %logs [ 25 1 ] = 50 6:30:31 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:31 3 (Paint.txt, 44): $a = -1 6:30:31 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:31 3 (Paint.txt, 45): #check = 0 6:30:31 3 (Paint.txt, 46): set %logs()[#q(25) 3] $a(-1) 6:30:31 3 (Paint.txt, 46): %logs [ 25 3 ] = -1 6:30:31 3 (Paint.txt, 47): set %logs()[#q(25) 4] #check(0) 6:30:31 3 (Paint.txt, 47): %logs [ 25 4 ] = 0 6:30:31 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:31 3 (Paint.txt, 57): end_for 6:30:31 3 (Paint.txt, 59): if #check0 > 0 6:30:31 3 (Paint.txt, 63): set %logs()[#q(25) 2] Fail 6:30:31 3 (Paint.txt, 63): %logs [ 25 2 ] = Fail 6:30:31 3 (Paint.txt, 64): end_if 6:30:31 3 (Paint.txt, 66): set #q(25) #q(25) + 1 6:30:31 3 (Paint.txt, 66): #q = 26 6:30:31 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:31 3 (Paint.txt, 69): goto start 6:30:31 3 (Paint.txt, 43): set %logs()[#q(26) 1] timer / 100 6:30:31 3 (Paint.txt, 43): %logs [ 26 1 ] = 52 6:30:31 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:31 3 (Paint.txt, 44): $a = -1 6:30:31 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:31 3 (Paint.txt, 45): #check = 0 6:30:31 3 (Paint.txt, 46): set %logs()[#q(26) 3] $a(-1) 6:30:31 3 (Paint.txt, 46): %logs [ 26 3 ] = -1 6:30:31 3 (Paint.txt, 47): set %logs()[#q(26) 4] #check(0) 6:30:31 3 (Paint.txt, 47): %logs [ 26 4 ] = 0 6:30:31 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:31 3 (Paint.txt, 57): end_for 6:30:31 3 (Paint.txt, 59): if #check0 > 0 6:30:31 3 (Paint.txt, 63): set %logs()[#q(26) 2] Fail 6:30:31 3 (Paint.txt, 63): %logs [ 26 2 ] = Fail 6:30:31 3 (Paint.txt, 64): end_if 6:30:31 3 (Paint.txt, 66): set #q(26) #q(26) + 1 6:30:31 3 (Paint.txt, 66): #q = 27 6:30:31 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:31 3 (Paint.txt, 69): goto start 6:30:31 3 (Paint.txt, 43): set %logs()[#q(27) 1] timer / 100 6:30:31 3 (Paint.txt, 43): %logs [ 27 1 ] = 55 6:30:31 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:31 3 (Paint.txt, 44): $a = -1 6:30:31 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:31 3 (Paint.txt, 45): #check = 0 6:30:31 3 (Paint.txt, 46): set %logs()[#q(27) 3] $a(-1) 6:30:31 3 (Paint.txt, 46): %logs [ 27 3 ] = -1 6:30:31 3 (Paint.txt, 47): set %logs()[#q(27) 4] #check(0) 6:30:31 3 (Paint.txt, 47): %logs [ 27 4 ] = 0 6:30:31 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:31 3 (Paint.txt, 57): end_for 6:30:31 3 (Paint.txt, 59): if #check0 > 0 6:30:31 3 (Paint.txt, 63): set %logs()[#q(27) 2] Fail 6:30:31 3 (Paint.txt, 63): %logs [ 27 2 ] = Fail 6:30:31 3 (Paint.txt, 64): end_if 6:30:31 3 (Paint.txt, 66): set #q(27) #q(27) + 1 6:30:31 3 (Paint.txt, 66): #q = 28 6:30:31 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:31 3 (Paint.txt, 69): goto start 6:30:31 3 (Paint.txt, 43): set %logs()[#q(28) 1] timer / 100 6:30:31 3 (Paint.txt, 43): %logs [ 28 1 ] = 57 6:30:31 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:31 3 (Paint.txt, 44): $a = -1 6:30:31 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:31 3 (Paint.txt, 45): #check = 0 6:30:31 3 (Paint.txt, 46): set %logs()[#q(28) 3] $a(-1) 6:30:31 3 (Paint.txt, 46): %logs [ 28 3 ] = -1 6:30:31 3 (Paint.txt, 47): set %logs()[#q(28) 4] #check(0) 6:30:31 3 (Paint.txt, 47): %logs [ 28 4 ] = 0 6:30:31 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:31 3 (Paint.txt, 57): end_for 6:30:31 3 (Paint.txt, 59): if #check0 > 0 6:30:31 3 (Paint.txt, 63): set %logs()[#q(28) 2] Fail 6:30:31 3 (Paint.txt, 63): %logs [ 28 2 ] = Fail 6:30:31 3 (Paint.txt, 64): end_if 6:30:31 3 (Paint.txt, 66): set #q(28) #q(28) + 1 6:30:31 3 (Paint.txt, 66): #q = 29 6:30:31 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:32 3 (Paint.txt, 69): goto start 6:30:32 3 (Paint.txt, 43): set %logs()[#q(29) 1] timer / 100 6:30:32 3 (Paint.txt, 43): %logs [ 29 1 ] = 60 6:30:32 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:32 3 (Paint.txt, 44): $a = -1 6:30:32 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:32 3 (Paint.txt, 45): #check = 0 6:30:32 3 (Paint.txt, 46): set %logs()[#q(29) 3] $a(-1) 6:30:32 3 (Paint.txt, 46): %logs [ 29 3 ] = -1 6:30:32 3 (Paint.txt, 47): set %logs()[#q(29) 4] #check(0) 6:30:32 3 (Paint.txt, 47): %logs [ 29 4 ] = 0 6:30:32 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:32 3 (Paint.txt, 57): end_for 6:30:32 3 (Paint.txt, 59): if #check0 > 0 6:30:32 3 (Paint.txt, 63): set %logs()[#q(29) 2] Fail 6:30:32 3 (Paint.txt, 63): %logs [ 29 2 ] = Fail 6:30:32 3 (Paint.txt, 64): end_if 6:30:32 3 (Paint.txt, 66): set #q(29) #q(29) + 1 6:30:32 3 (Paint.txt, 66): #q = 30 6:30:32 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:32 3 (Paint.txt, 69): goto start 6:30:32 3 (Paint.txt, 43): set %logs()[#q(30) 1] timer / 100 6:30:32 3 (Paint.txt, 43): %logs [ 30 1 ] = 62 6:30:32 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:32 3 (Paint.txt, 44): $a = -1 6:30:32 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:32 3 (Paint.txt, 45): #check = 0 6:30:32 3 (Paint.txt, 46): set %logs()[#q(30) 3] $a(-1) 6:30:32 3 (Paint.txt, 46): %logs [ 30 3 ] = -1 6:30:32 3 (Paint.txt, 47): set %logs()[#q(30) 4] #check(0) 6:30:32 3 (Paint.txt, 47): %logs [ 30 4 ] = 0 6:30:32 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:32 3 (Paint.txt, 57): end_for 6:30:32 3 (Paint.txt, 59): if #check0 > 0 6:30:32 3 (Paint.txt, 63): set %logs()[#q(30) 2] Fail 6:30:32 3 (Paint.txt, 63): %logs [ 30 2 ] = Fail 6:30:32 3 (Paint.txt, 64): end_if 6:30:32 3 (Paint.txt, 66): set #q(30) #q(30) + 1 6:30:32 3 (Paint.txt, 66): #q = 31 6:30:32 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:32 3 (Paint.txt, 69): goto start 6:30:32 3 (Paint.txt, 43): set %logs()[#q(31) 1] timer / 100 6:30:32 3 (Paint.txt, 43): %logs [ 31 1 ] = 64 6:30:32 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:32 3 (Paint.txt, 44): $a = -1 6:30:32 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:32 3 (Paint.txt, 45): #check = 0 6:30:32 3 (Paint.txt, 46): set %logs()[#q(31) 3] $a(-1) 6:30:32 3 (Paint.txt, 46): %logs [ 31 3 ] = -1 6:30:32 3 (Paint.txt, 47): set %logs()[#q(31) 4] #check(0) 6:30:32 3 (Paint.txt, 47): %logs [ 31 4 ] = 0 6:30:32 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:32 3 (Paint.txt, 57): end_for 6:30:32 3 (Paint.txt, 59): if #check0 > 0 6:30:32 3 (Paint.txt, 63): set %logs()[#q(31) 2] Fail 6:30:32 3 (Paint.txt, 63): %logs [ 31 2 ] = Fail 6:30:32 3 (Paint.txt, 64): end_if 6:30:32 3 (Paint.txt, 66): set #q(31) #q(31) + 1 6:30:32 3 (Paint.txt, 66): #q = 32 6:30:32 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:32 3 (Paint.txt, 69): goto start 6:30:32 3 (Paint.txt, 43): set %logs()[#q(32) 1] timer / 100 6:30:32 3 (Paint.txt, 43): %logs [ 32 1 ] = 67 6:30:32 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:32 3 (Paint.txt, 44): $a = -1 6:30:32 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:32 3 (Paint.txt, 45): #check = 0 6:30:32 3 (Paint.txt, 46): set %logs()[#q(32) 3] $a(-1) 6:30:32 3 (Paint.txt, 46): %logs [ 32 3 ] = -1 6:30:32 3 (Paint.txt, 47): set %logs()[#q(32) 4] #check(0) 6:30:32 3 (Paint.txt, 47): %logs [ 32 4 ] = 0 6:30:32 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:32 3 (Paint.txt, 57): end_for 6:30:32 3 (Paint.txt, 59): if #check0 > 0 6:30:32 3 (Paint.txt, 63): set %logs()[#q(32) 2] Fail 6:30:32 3 (Paint.txt, 63): %logs [ 32 2 ] = Fail 6:30:32 3 (Paint.txt, 64): end_if 6:30:32 3 (Paint.txt, 66): set #q(32) #q(32) + 1 6:30:32 3 (Paint.txt, 66): #q = 33 6:30:32 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:33 3 (Paint.txt, 69): goto start 6:30:33 3 (Paint.txt, 43): set %logs()[#q(33) 1] timer / 100 6:30:33 3 (Paint.txt, 43): %logs [ 33 1 ] = 70 6:30:33 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:33 3 (Paint.txt, 44): $a = -1 6:30:33 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:33 3 (Paint.txt, 45): #check = 0 6:30:33 3 (Paint.txt, 46): set %logs()[#q(33) 3] $a(-1) 6:30:33 3 (Paint.txt, 46): %logs [ 33 3 ] = -1 6:30:33 3 (Paint.txt, 47): set %logs()[#q(33) 4] #check(0) 6:30:33 3 (Paint.txt, 47): %logs [ 33 4 ] = 0 6:30:33 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:33 3 (Paint.txt, 57): end_for 6:30:33 3 (Paint.txt, 59): if #check0 > 0 6:30:33 3 (Paint.txt, 63): set %logs()[#q(33) 2] Fail 6:30:33 3 (Paint.txt, 63): %logs [ 33 2 ] = Fail 6:30:33 3 (Paint.txt, 64): end_if 6:30:33 3 (Paint.txt, 66): set #q(33) #q(33) + 1 6:30:33 3 (Paint.txt, 66): #q = 34 6:30:33 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:33 3 (Paint.txt, 69): goto start 6:30:33 3 (Paint.txt, 43): set %logs()[#q(34) 1] timer / 100 6:30:33 3 (Paint.txt, 43): %logs [ 34 1 ] = 72 6:30:33 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:33 3 (Paint.txt, 44): $a = -1 6:30:33 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:33 3 (Paint.txt, 45): #check = 0 6:30:33 3 (Paint.txt, 46): set %logs()[#q(34) 3] $a(-1) 6:30:33 3 (Paint.txt, 46): %logs [ 34 3 ] = -1 6:30:33 3 (Paint.txt, 47): set %logs()[#q(34) 4] #check(0) 6:30:33 3 (Paint.txt, 47): %logs [ 34 4 ] = 0 6:30:33 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:33 3 (Paint.txt, 57): end_for 6:30:33 3 (Paint.txt, 59): if #check0 > 0 6:30:33 3 (Paint.txt, 63): set %logs()[#q(34) 2] Fail 6:30:33 3 (Paint.txt, 63): %logs [ 34 2 ] = Fail 6:30:33 3 (Paint.txt, 64): end_if 6:30:33 3 (Paint.txt, 66): set #q(34) #q(34) + 1 6:30:33 3 (Paint.txt, 66): #q = 35 6:30:33 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:33 3 (Paint.txt, 69): goto start 6:30:33 3 (Paint.txt, 43): set %logs()[#q(35) 1] timer / 100 6:30:33 3 (Paint.txt, 43): %logs [ 35 1 ] = 74 6:30:33 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:33 3 (Paint.txt, 44): $a = -1 6:30:33 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:33 3 (Paint.txt, 45): #check = 0 6:30:33 3 (Paint.txt, 46): set %logs()[#q(35) 3] $a(-1) 6:30:33 3 (Paint.txt, 46): %logs [ 35 3 ] = -1 6:30:33 3 (Paint.txt, 47): set %logs()[#q(35) 4] #check(0) 6:30:33 3 (Paint.txt, 47): %logs [ 35 4 ] = 0 6:30:33 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:33 3 (Paint.txt, 57): end_for 6:30:33 3 (Paint.txt, 59): if #check0 > 0 6:30:33 3 (Paint.txt, 63): set %logs()[#q(35) 2] Fail 6:30:33 3 (Paint.txt, 63): %logs [ 35 2 ] = Fail 6:30:33 3 (Paint.txt, 64): end_if 6:30:33 3 (Paint.txt, 66): set #q(35) #q(35) + 1 6:30:33 3 (Paint.txt, 66): #q = 36 6:30:33 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:33 3 (Paint.txt, 69): goto start 6:30:33 3 (Paint.txt, 43): set %logs()[#q(36) 1] timer / 100 6:30:33 3 (Paint.txt, 43): %logs [ 36 1 ] = 77 6:30:33 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:33 3 (Paint.txt, 44): $a = -1 6:30:33 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:33 3 (Paint.txt, 45): #check = 0 6:30:33 3 (Paint.txt, 46): set %logs()[#q(36) 3] $a(-1) 6:30:33 3 (Paint.txt, 46): %logs [ 36 3 ] = -1 6:30:33 3 (Paint.txt, 47): set %logs()[#q(36) 4] #check(0) 6:30:33 3 (Paint.txt, 47): %logs [ 36 4 ] = 0 6:30:33 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:33 3 (Paint.txt, 57): end_for 6:30:33 3 (Paint.txt, 59): if #check0 > 0 6:30:33 3 (Paint.txt, 63): set %logs()[#q(36) 2] Fail 6:30:33 3 (Paint.txt, 63): %logs [ 36 2 ] = Fail 6:30:33 3 (Paint.txt, 64): end_if 6:30:33 3 (Paint.txt, 66): set #q(36) #q(36) + 1 6:30:33 3 (Paint.txt, 66): #q = 37 6:30:33 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:33 3 (Paint.txt, 69): goto start 6:30:33 3 (Paint.txt, 43): set %logs()[#q(37) 1] timer / 100 6:30:33 3 (Paint.txt, 43): %logs [ 37 1 ] = 79 6:30:34 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:34 3 (Paint.txt, 44): $a = -1 6:30:34 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:34 3 (Paint.txt, 45): #check = 0 6:30:34 3 (Paint.txt, 46): set %logs()[#q(37) 3] $a(-1) 6:30:34 3 (Paint.txt, 46): %logs [ 37 3 ] = -1 6:30:34 3 (Paint.txt, 47): set %logs()[#q(37) 4] #check(0) 6:30:34 3 (Paint.txt, 47): %logs [ 37 4 ] = 0 6:30:34 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:34 3 (Paint.txt, 57): end_for 6:30:34 3 (Paint.txt, 59): if #check0 > 0 6:30:34 3 (Paint.txt, 63): set %logs()[#q(37) 2] Fail 6:30:34 3 (Paint.txt, 63): %logs [ 37 2 ] = Fail 6:30:34 3 (Paint.txt, 64): end_if 6:30:34 3 (Paint.txt, 66): set #q(37) #q(37) + 1 6:30:34 3 (Paint.txt, 66): #q = 38 6:30:34 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:34 3 (Paint.txt, 69): goto start 6:30:34 3 (Paint.txt, 43): set %logs()[#q(38) 1] timer / 100 6:30:34 3 (Paint.txt, 43): %logs [ 38 1 ] = 81 6:30:34 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:34 3 (Paint.txt, 44): $a = -1 6:30:34 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:34 3 (Paint.txt, 45): #check = 0 6:30:34 3 (Paint.txt, 46): set %logs()[#q(38) 3] $a(-1) 6:30:34 3 (Paint.txt, 46): %logs [ 38 3 ] = -1 6:30:34 3 (Paint.txt, 47): set %logs()[#q(38) 4] #check(0) 6:30:34 3 (Paint.txt, 47): %logs [ 38 4 ] = 0 6:30:34 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:34 3 (Paint.txt, 57): end_for 6:30:34 3 (Paint.txt, 59): if #check0 > 0 6:30:34 3 (Paint.txt, 63): set %logs()[#q(38) 2] Fail 6:30:34 3 (Paint.txt, 63): %logs [ 38 2 ] = Fail 6:30:34 3 (Paint.txt, 64): end_if 6:30:34 3 (Paint.txt, 66): set #q(38) #q(38) + 1 6:30:34 3 (Paint.txt, 66): #q = 39 6:30:34 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:34 3 (Paint.txt, 69): goto start 6:30:34 3 (Paint.txt, 43): set %logs()[#q(39) 1] timer / 100 6:30:34 3 (Paint.txt, 43): %logs [ 39 1 ] = 84 6:30:34 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:34 3 (Paint.txt, 44): $a = -1 6:30:34 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:34 3 (Paint.txt, 45): #check = 0 6:30:34 3 (Paint.txt, 46): set %logs()[#q(39) 3] $a(-1) 6:30:34 3 (Paint.txt, 46): %logs [ 39 3 ] = -1 6:30:34 3 (Paint.txt, 47): set %logs()[#q(39) 4] #check(0) 6:30:34 3 (Paint.txt, 47): %logs [ 39 4 ] = 0 6:30:34 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:34 3 (Paint.txt, 57): end_for 6:30:34 3 (Paint.txt, 59): if #check0 > 0 6:30:34 3 (Paint.txt, 63): set %logs()[#q(39) 2] Fail 6:30:34 3 (Paint.txt, 63): %logs [ 39 2 ] = Fail 6:30:34 3 (Paint.txt, 64): end_if 6:30:34 3 (Paint.txt, 66): set #q(39) #q(39) + 1 6:30:34 3 (Paint.txt, 66): #q = 40 6:30:34 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:34 3 (Paint.txt, 69): goto start 6:30:34 3 (Paint.txt, 43): set %logs()[#q(40) 1] timer / 100 6:30:34 3 (Paint.txt, 43): %logs [ 40 1 ] = 86 6:30:34 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:34 3 (Paint.txt, 44): $a = -1 6:30:34 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:34 3 (Paint.txt, 45): #check = 0 6:30:34 3 (Paint.txt, 46): set %logs()[#q(40) 3] $a(-1) 6:30:34 3 (Paint.txt, 46): %logs [ 40 3 ] = -1 6:30:34 3 (Paint.txt, 47): set %logs()[#q(40) 4] #check(0) 6:30:34 3 (Paint.txt, 47): %logs [ 40 4 ] = 0 6:30:34 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:34 3 (Paint.txt, 57): end_for 6:30:34 3 (Paint.txt, 59): if #check0 > 0 6:30:34 3 (Paint.txt, 63): set %logs()[#q(40) 2] Fail 6:30:34 3 (Paint.txt, 63): %logs [ 40 2 ] = Fail 6:30:34 3 (Paint.txt, 64): end_if 6:30:34 3 (Paint.txt, 66): set #q(40) #q(40) + 1 6:30:34 3 (Paint.txt, 66): #q = 41 6:30:34 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:34 3 (Paint.txt, 69): goto start 6:30:34 3 (Paint.txt, 43): set %logs()[#q(41) 1] timer / 100 6:30:34 3 (Paint.txt, 43): %logs [ 41 1 ] = 88 6:30:34 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:34 3 (Paint.txt, 44): $a = -1 6:30:34 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:34 3 (Paint.txt, 45): #check = 0 6:30:34 3 (Paint.txt, 46): set %logs()[#q(41) 3] $a(-1) 6:30:34 3 (Paint.txt, 46): %logs [ 41 3 ] = -1 6:30:34 3 (Paint.txt, 47): set %logs()[#q(41) 4] #check(0) 6:30:34 3 (Paint.txt, 47): %logs [ 41 4 ] = 0 6:30:35 3 (Paint.txt, 48): for #i(1) 1 #check(0) 6:30:35 3 (Paint.txt, 57): end_for 6:30:35 3 (Paint.txt, 59): if #check0 > 0 6:30:35 3 (Paint.txt, 63): set %logs()[#q(41) 2] Fail 6:30:35 3 (Paint.txt, 63): %logs [ 41 2 ] = Fail 6:30:35 3 (Paint.txt, 64): end_if 6:30:35 3 (Paint.txt, 66): set #q(41) #q(41) + 1 6:30:35 3 (Paint.txt, 66): #q = 42 6:30:35 3 (Paint.txt, 68): save_array %logs $file(E:\Programming C++\_UOPilot\uopilot_AntiFrost\images\result.txt) 6:30:35 3 (Paint.txt, 69): goto start 6:30:35 3 (Paint.txt, 43): set %logs()[#q(42) 1] timer / 100 6:30:35 3 (Paint.txt, 43): %logs [ 42 1 ] = 91 6:30:35 3 (Paint.txt, 44): set $a(-1) findimage (#StartX((0) #StartY(0) #EndX(1100) #EndY(900) ($path%cash((images\%cash)[0].bmp) %ResultArray #type(2) #accuracy(70) #count(1) #deviation)(5)) 6:30:35 3 (Paint.txt, 44): $a = -1 6:30:35 3 (Paint.txt, 45): set #check(0) size (%ResultArray) 6:30:35 3 (Paint.txt, 45): #check = 0 6:30:35 3 (Paint.txt, 46): set %logs()[#q(42) 3] $a(-1) 6:30:35 3 (Paint.txt, 46): %logs [ 42 3 ] = -1 6:30:35 3 (Paint.txt, 47): set %logs()[#q(42) 4] #check(0)
screenshot всего экрана
файл рисунка открытого в Paint
файл рисунка Paint.bmp
увеличенный рисунок Paint.bmp
FindImage возвращает -1, Вопрос, где собака порылась?
|
|
|
|
|
|
| Scatmen |
13.4.2016, 12:42
|
 
Neophyte
Сообщений: 10
Регистрация: 28.5.2013 Группа: Пользователи Наличность: 0
Пользователь №: 16.104
Возраст: 33

|
Цитата(DarkMaster @ 13.4.2016, 8:19)  Я даже в браузере увеличив масштаб вижу, что они разные. Никогда не снимайте скрины не из целевого приложения.
В своем сообщении #10, я написал, что нижние три шаблона (две картинки ссылками ввиду ограничения на 10 изображений в одном посте) я взял как раз таки заскринив саму игру. Тренируясь на кошках с проблемой разобрался. Проблема в том, что FindImage не получает адрес шаблона для сравнения. Такой код не работает: Код set $path images\ set %cash[0] Paint set $a findimage (#StartX #StartY #EndX #EndY ($path%cash[0].bmp) %ResultArray #type #accuracy #count #deviation)
пробовал по разному Код set $path images\ set %cash[0] Paint.bmp ($path%cash[0]) ---------------- set $path G:\Programming C++\_UOPilot\uopilot_AntiFrost\images\ set %cash[0] Paint.bmp ($path%cash[0])
А такой код работает. Код set $path G:\Programming C++\_UOPilot\uopilot_AntiFrost\images\Paint.bmp set $a findimage (#StartX #StartY #EndX #EndY ($path) %ResultArray #type #accuracy #count #deviation) //и set $path images\Paint.bmp set $a findimage (#StartX #StartY #EndX #EndY ($path) %ResultArray #type #accuracy #count #deviation)
Получается, что FindImage не работает с массивами в адресе шаблона. Ну хоть относительный адрес работает. Можно просто в цикле подставлять переменной $path значение из массива. Видимо и у ТС та же проблема с ($path %cash[0].png).
|
|
|
|
|
|
| Scatmen |
13.4.2016, 13:48
|
 
Neophyte
Сообщений: 10
Регистрация: 28.5.2013 Группа: Пользователи Наличность: 0
Пользователь №: 16.104
Возраст: 33

|
Цитата(cirus @ 13.4.2016, 15:08)  Работает. Элементы начинаются с 1, а не с 0. Это не С++ (IMG: style_emoticons/default/smile.gif) Дома проверю индекс 1. Но когда писал скрипт на поиск трех картинок, вторая и третья тоже не находились. Цитата(dimоn @ 13.4.2016, 15:27)  Уж насколько глаз у меня, не художника, но видно, не вооруженным, цвета на картинках разные.
В текстуре делал равномерный цвет, зеленый. синий, красный. В игре квадрат немного размывался, центр квадрата сохранял оригинальный цвет как в текстуре, края смазывались на пару пикселей внутрь и наружу квадрата. Брал картинку для шаблона как с текстуры, так и с экрана(со смазанными краями). Проблема может быть вообще не в картинке шаблона, а коде скрипта.
|
|
|
|
|
|
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0
|
|