Ive written a SearchImage function in DotNet.
It works perfectly when searching image in my desktop but when I tried to search this image when Paladins is running. The SearchImage function will return 0.
Paladins is Run through Borderless Window Mode @ 1280x720 Resolution.
The idea is to create a Soft Aim bot for Paladins Online where I search for the enemy HP bar in my desktop screen and take a snapshot, compare it to my SearchImage function and move my Cursor to the location where the Image was spotted and "click" attack.
Of course, when it finds the image that matches with the SearchImage function, the cursor is already adjusted to "point to" the Character/Toon and not the HP Bar.
See Example:
I coded the function as to move the mouse cursor when it finds the matching image.
And of course, that's not the only images I have in my search list.
The function will Loop through these images and scans the entire desktop.
Now, this leads me to believe that like other DirectX games when you take a screenshot the Window will just appear "black" and makes my SearchImage function null and returns 0.
I also considered that the Images Im trying to search is "Too small" perhaps. Nonetheless, I tried moving the images (using image viewer) in real time and the function still works.
It just doesnt work while Paladin is running.
Any thoughts about this? Any help is appreciated.
Thanks!
P.S: Soft Aimbot, idk if there's already an existing term for this but I call it this way. Basically, its a image search function and when image is found, compared & matches your cursor will move instantly to the position where the image is located. It works similar to Aimbot but you're not altering the game client by using DLL or manipulating the DirectX functions.
So, this means, not game hacking or memory editing. And no Bans.