Hi everyone
Did a bit of work this past week to help with teleports at high ping, and now have ktx/mvdsv/ezquake changes to try and counteract the effect of the delay.
Short version: When teleporting, the server rotates subsequent movement requests as if you teleported immediately. You still face the old way. When spawning, it ignores the direction you're looking until you've actually spawned client-side.
Long version (with subtitles for those who can't understand me): https://youtu.be/AFdHhxVYxd8
The main downside is that you have to get used to it - if you are used to holding a key until you see you have teleported, teleport behaviour might seem a bit weird with the option enabled. If you anticipate the teleport and change direction, this should get rid of having to face a certain way to make certain moves (aerowalk > high rl) work.
You can try it out on dev.badplace.eu if you grab the latest nightly build, and enable '/cl_pext_lagteleport 1' before connecting. It's off by default, so no surprises for people upgrading.
Haven't pushed the main mvdsv/ktx repos yet, but will do soon if there's no obvious problems in testing.
Let me know what you think.
Did a bit of work this past week to help with teleports at high ping, and now have ktx/mvdsv/ezquake changes to try and counteract the effect of the delay.
Short version: When teleporting, the server rotates subsequent movement requests as if you teleported immediately. You still face the old way. When spawning, it ignores the direction you're looking until you've actually spawned client-side.
Long version (with subtitles for those who can't understand me): https://youtu.be/AFdHhxVYxd8
The main downside is that you have to get used to it - if you are used to holding a key until you see you have teleported, teleport behaviour might seem a bit weird with the option enabled. If you anticipate the teleport and change direction, this should get rid of having to face a certain way to make certain moves (aerowalk > high rl) work.
You can try it out on dev.badplace.eu if you grab the latest nightly build, and enable '/cl_pext_lagteleport 1' before connecting. It's off by default, so no surprises for people upgrading.
Haven't pushed the main mvdsv/ktx repos yet, but will do soon if there's no obvious problems in testing.
Let me know what you think.