OldUnreal / UnrealTournamentPatches

Other
991 stars 29 forks source link

[469d] Warped forward on spawn #1496

Open mbovijn opened 9 months ago

mbovijn commented 9 months ago

Hi all. A 469d player has reported being warped forward on spawn during online play. It only happens very sporadically, and is very very hard to reproduce. Any idea what could cause this? Or how we can further investigate this?

Furthermore, it only seems to happen when the player respawns after just having capped. Since you can still see the cap/teleport effect near the flag, after the player has spawned.

https://github.com/OldUnreal/UnrealTournamentPatches/assets/11621254/e684032e-3cfb-43a2-af19-f0c5dc3effa9

Demos which show this issue: demos.zip (You should be able to resolve all packages with this redirect: api.utbt.net/redirect)

PS: you can find me on Discord under the name Riverside or Fulcrum.

SeriousBuggie commented 9 months ago

If there use some kind of newnet? What exactly happen when player touch flag? Simple teleport it to player start? Such action can lead to reaply all saved moves on client/server side, and add additional movement, where it must be reset.

Such happen only on 469d? What about 469b and 469c?

mbovijn commented 9 months ago

To answer your questions Buggie:

I do know that the player in question tries to dodge as soon as possible when coming out of spawn. Could it be that somehow a dodge is initiated before actually spawning 🤔 since the player is not warped forward in a straight line, but rather diagonally. Similarly to when a spawn point is up in the air. After capping, and respawning quickly, the player sometimes falls down really really quick.

SeriousBuggie commented 9 months ago

Where exactly you call this code?

Pay attention, you can't do anything in Touch event about modify actor location or speed/rotation. You must do this on PostTouch. Look as Kicker work.