Also I have died way more times after the laser has passed me since this 0 ping started than I ever did before.
Read my post again, that's the drawback.
Normally the laser and your jump is delayed.
But I compensate that delay by using the laser position from your clients packet.
So lets say you have a ping of 100, which means your latency (one way) is about 50ms.
The server spawns a laser, it takes about 50ms for you to see it.
By the time you see it the laser has already moved forwards on the server, so the laser you see if out of date.
You jump but it takes 50ms for your jump packet to reach the server, the laser has moved during this time.
So without lag compensation the laser would kill you on the server before it's even close to you on your client.
You'd get the death event right about when the laser is at your position.
You'd have to jump 100ms earlier to actually jump over it, the laser you see is wrong.
With lag compensation the laser would be moved back, just for you, before any packet from your client is processed.
It takes the real tick from your client packet, just like the already built in lag compensation in source does it for when you shoot at other players.
Where you see the laser on your client and when you jump over it is exactly the same on the server now.
So the laser is moved back by 100ms before your client is simulated so it matches with how you see it on your screen.
So you can only get hit by the laser on the server when you've already been hit on your own screen.
And remember we move it back by 100ms, so it takes at least 100ms for you to get hit on the server.
And then it takes another 50ms for the death event to reach your client, so you die 150ms after you got hit by the laser.
Again:
The world you see on your client is 50ms behind the server world.
When you send a command to the server it travels for 50ms.
So when the command reaches the server the world has changed for 100ms.
And for the server to send a command back to you it takes another 50ms so 150ms.
That's the reality of the delayed death phenomenon.
I could put up noctalis laser training map on a server with the plugin enable so people can practice there.
It's much better imo. once you get used to it. And it's only fair because now it's the same for everyone.