Why is it not more common to implement anti-cheat on the server instead of the client? Is that not more secure? Couldn’t the server just check what vision a player should have and not provide any other information to prevent wallhacks or maphacks? Or check how fast it is possible to move to prevent speedhacks? Aimbot is a bit harder to detect I guess but what about the other ones?
Pre-aiming hitscan is an ancient workaround by players for bad networking. Lag compensation fixes that. This basic problem has been overcome long time ago and is not present anymore in “most games”.
Pre-aiming projectiles is a basic fps weapon mechanic but has nothing to do with networking. However, it might be influenced by the networking logic by e.g. by increasing or decreasing a delay after shooting to compensate for certain ping values. This depends on the engine the game implements.
But if you overcompensate because of lag, the local machine will tell the server you missed all the shots…
I think you misunderstood me, I meant that most games will handle the bullet simulation on the server, but you no longer have to pre aim because of lag compensation.