Topic: My idea to detect aimbots
Hi, I have an idea to detect aimbots. I'm not sure how exactly an aimbot works. I assume an aimbot is a modified client which would get the x and y of all enemy tee's in the map from the server (I really haven't looked at the source code of Teeworlds, sorry if I'm not making sense at all. but bear with me.) and find the closest one and aim at it. In this case what if we modify the server so that it feeds a few fake and random enemy tee positions to clients, but (I'm not sure how yet) not visible to the actual players. In other words, a few invisible enemy tees flying around the map which the aimbot cannot differ from real enemies,but a player can. I hope with this method it would be possible to detect aimbots easily since this makes them to act different from a say "highly skilled player" (I hope no one is skilled enough to see an invisible tee, tough ). I call these fake enemy tees, "test tee" or "Ttee". because they are used for testing integrity of players.
after the hard part is implemented, it would be really easy to detect cheaters. To find the cheaters, server can check if a player is constantly aiming at Ttees around him or not. for example whenever a new Ttee appears, if someone suddenly aim at it, it would mean he failed the integrity check. and to avoid false alarms and to be almost sure, if someone fails the test for like 5 times, then server can confirm he is aimbot.
Or instead of aiming we can use shooting. if someone's bullets hit a newly appeared Ttee, it would count as one fail. but I think it would raise the rate of false alarms since spamming bullets or grenades are a common behavior.
Behavior of Ttees have several practical possibilities. I suggest a limited number of Ttee, randomly appearing around players, moving around, then disappearing.
But in order to make them act like humans we can record player movements and make Ttees replay them. but I don't think it would be necessary.
Or maybe all it needs is Ttees appearing and then disappearing instantly.
Although I don't know almost anything about the source code of Teeworlds, but I think it is possible to implement such thing. If you think this is not a good idea or it can not be implemented, please provide your argument. I'm open to further discuss the idea.
thanks for your time.