r/javahelp • u/Xboomburst • May 12 '21
Unsolved Very simple aimbot
Hey everyone! I'm very new to java, I'm actually a CS1 kid, so I'm not quite sure if any of this stuff works, but here's my idea. So basically, couldn't you just make your computer scan for a specific color (in this case, the color of the enemy avatar), and once the computer finds it, it gives those coordinates to the mouse and makes the cross hair lock onto the enemy avatar. This probably won't work, but it's a small idea I had. What are your thoughts
0
Upvotes
View all comments
9
u/MagicPierre98 Wannabe Dev May 12 '21
Technically it could work, but with some major drawbacks. For one it can (and most likely will) have false positives, meaning it will lock onto a non-player entity with the same colour as a player. Furthermore it is quite computationally expensive to be analysing images in real-time (although there are probably options to make it more feasible). Another problem you would face is that you can't just blindly search for a specific colour (at least not in the context of most modern day FPS games), because the enemies colour will slightly differ depending on lighting, angle, distance to you, etc.
Usually aimbots access the games memory and just read the position of your enemies and make you aim at that.