Помощь - Поиск - Пользователи - Календарь
Полная версия: help with findimage script
UoKit.com Форумы > Кликер > UO Pilot
shrewdo
hi anyone can make a video show me how to make findimage script for online game to find an item in the inventory?
i read codes and try always have error and never works for me, please make a video show me how.
some players knows how to do it in the game and they don't help us, they ask us to pay them for they share the script.
cirus
Код
--lua
local path = [["C:\image.bmp"]]
local arr, a = findimage (0, 0, 1920, 1080, {path})
if arr then
    kleft (arr[1][1], arr[1][2])
else
    hint ("Not found")
end

Findimage
List of functions
shrewdo
Цитата(cirus @ 21.12.2021, 11:41) *

Код
--lua
local path = [["C:\image.bmp"]]
local arr, a = findimage (0, 0, 1920, 1080, {path})
if arr then
    kleft (arr[1][1], arr[1][2])
else
    hint ("Not found")
end

Findimage
List of functions


how to use lua?i used same steps before and i get error in running script can you please make video of script working or images?


https://i.imgur.com/aYPNr9O.jpg

Изображение
cirus
Why is the path to the image with spaces?
shrewdo
i don't know, you tell me you know better how to fix this? please you can make a short video of findimage script?
Это текстовая версия — только основной контент. Для просмотра полной версии этой страницы, пожалуйста, нажмите сюда.
Русская версия Invision Power Board © 2001-2024 Invision Power Services, Inc.