I think for better detection is to also remove the HP bar out of the rat's image as the color of hp changes. If you could make it work, I would just include the nameplate itself if you can target that way. If you could do it this way, you wouldn't even need 4 images for detection as the nameplate is always there. You could even make it so if it detects the nameplate, always click like 10 pixels below where it found the nameplate to compensate.
github.com/SneakyCode/MMORPG.py
I think for better detection is to also remove the HP bar out of the rat's image as the color of hp changes. If you could make it work, I would just include the nameplate itself if you can target that way. If you could do it this way, you wouldn't even need 4 images for detection as the nameplate is always there. You could even make it so if it detects the nameplate, always click like 10 pixels below where it found the nameplate to compensate.
is the script working for you even when you minimize the game? if so how you do it?
script won't work with minimized game because it's detecting objects on screen in rt