Sir R. M8gic1an
2009-12-13 05:42:18
This is an idea I've have for a while… I'll just qickly explain it, and i'll probably use it for my guildminer.
To first detect the symbols, do an outline search, meaning the black color on the outside of the circle.
From that, get a TBox of the area the symbol covers.
As NPC dots, Item dots and Player dots share the same outline color we have to sort those out.
To do this, search for the greyish color of the inside of a symbol.
Now you should have a TBoxArray or an ATPA or a TPA of the symbols.
With this, search for colors specific to your symbol.
You are now sure you detected the correct symbol :)
~RM
To first detect the symbols, do an outline search, meaning the black color on the outside of the circle.
From that, get a TBox of the area the symbol covers.
As NPC dots, Item dots and Player dots share the same outline color we have to sort those out.
To do this, search for the greyish color of the inside of a symbol.
Now you should have a TBoxArray or an ATPA or a TPA of the symbols.
With this, search for colors specific to your symbol.
You are now sure you detected the correct symbol :)
~RM