Problem: Damage can be prevented by successfully sneaking within the ping time of the attacker. This still consumes their AP because attacking is client-side, whereas server-side the damage is not registered due to the person being attacked having a different state (not visible). Where a player may be pursuing a sneaker, if they stop to attack, the sneaker has the opportunity to move out of range and automatically sneak successfully again, mitigating any damage from their pursuer. Invisible cannot be hit whereas visible can, so within the ping time of the attacker if the sneaker switches states, the attack will not hit.
Steps to recreate:
1. Create an environment where one player (player 1 henceforth) has a steady, high ping.
2. Have another player (player 2 henceforth) with 300% sneak or some guarantee for successful sneak.
3. Have player 1 attack player 2.
4. Before the data can be sent to the server, have player 2 sneak.
5. Observe as Player 2 takes no damage but player 1 loses their AP.
This problem manifests mostly as chasing a sneaker and being unable to damage them despite having a clear shot client-side, but the above will prove the presence of the issue in a more controlled environment.
Proposed workaround 1: Seeing a sneaker disables their sneak and it is not automatically activated when they would have a successful sneak. The sneaker will know that they have been caught as they will no longer be transparent, a cue that they must move elsewhere and resneak.
Proposed workaround 2: Calculate AP reduction after ammo reduction. This prevents the AP being sapped with no damage done. (implies AP is deducted after server registers hit.)
Proposed workaround 3: Play animation after ammo reduction. This prevents the attack animation from inhibiting a player with a ping higher than their opponent from hitting said opponent. (Implies animation is played after server registers hit.)
Personal experience: Although a frequent problem, it was most notable in tonight's TC when a sneaker survived a wealth of gunfire that would have killed him a hundred times over because he was at such a distance from his pursuers that by the time they played the animation to attack him, he was already far enough out from their FOV that he would have a successful sneak, so he was marked as invisible and not damageable. This was later tested with other sneakers in an isolated setting, with my having 400 ping providing convenient conditions for testing. This is the only time I have ever benefited from my ISP being incompetent.
Solution: Permit damage to invisible players by other players. Invisible players cannot be targeted by other players anyway, so if an attack is directed at them then it should register. Disabling damage to invisible players is redundant.