Sample naive algo:
-Get a color range (RBG) of the enemy model's head.
-Take screenshot of screen and scan for pixel in that range.
-If match, get the x,y pos of that pixel.
-Set mouse(or controller) pos to that x,y pos.
-Click
E.g https://github.com/Dewep/POC-AimBot-Overwatch
The sample code worked well enough for Blizzard to forcibly take it off the internet.
However, for the aimbots, since you are sending your input to Google's servers, they could detect the input patterns of cheaters.
Isn't that exactly what happens today on a console or a PC?
Sample naive algo:
-Get a color range (RBG) of the enemy model's head.
-Take screenshot of screen and scan for pixel in that range.
-If match, get the x,y pos of that pixel.
-Set mouse(or controller) pos to that x,y pos.
-Click
E.g https://github.com/Dewep/POC-AimBot-Overwatch
The sample code worked well enough for Blizzard to forcibly take it off the internet.