1. Why are you even using imagesearch? You're not even putting the image into memory and reading it from memory each time, instead you are reading the image over and over and over again... PixelSearch is faster, less intensive and also more reliable.
- Take a screenshot of a monsters health bar.
- Crop the image to just the size of the healthbar
- Upload the image into a site like https://matkl.github.io/average-color/ to get the average color.
- Do a spotted PixelSearch (multiple searches) of the area using the hex color with a variation of 50~
2. What's the white ImageSearch for?
3. Why not add multiple profiles for different planets? That way you can press a different hotkey and it would cycle through different profiles so you can have multiple setup with different red/white settings to be less/more aggressive depending on the environment. Simply add one more config field "ProfileName" and then they can set it to "Titan" for example, use TTS to say the profile name when they cycle through the profiles.
- Take a screenshot of a monsters health bar.
- Crop the image to just the size of the healthbar
- Upload the image into a site like https://matkl.github.io/average-color/ to get the average color.
- Do a spotted PixelSearch (multiple searches) of the area using the hex color with a variation of 50~
2. What's the white ImageSearch for?
3. Why not add multiple profiles for different planets? That way you can press a different hotkey and it would cycle through different profiles so you can have multiple setup with different red/white settings to be less/more aggressive depending on the environment. Simply add one more config field "ProfileName" and then they can set it to "Titan" for example, use TTS to say the profile name when they cycle through the profiles.
