Hi, I'm new to uopilot.
I'm creating some macros for Ragnarok Online, but I've been having some problems with the left mouse click functions.
I'm having to put code checks to see if it was clicked, is there a way to optimize this, is it something related to the game's EAC or is this normal?
I'll leave a code examples that sometimes misses the left click
Код
set $a findimage (0, 0 1920,1080 (imgs\close.bmp) %arr 2)
wait 1s
if $a > 90
move %arr[1 1] %arr[1 2]
left [1 1]
end_if
Код
set $a findimage (0, 0 1920,1080 (imgs\9.bmp) %arr 2)
wait 1s
if $a > 90
move_smooth %arr[1 1] %arr[1 2]
wait 2s
left [1 1]
wait 2s
move_smooth 407, 369
end_if
If anyone can help or give you an idea of what to do, thank you!