multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.41k stars 438 forks source link

Freezing remote player's vehicle causing desync #2895

Open Xenius97 opened 1 year ago

Xenius97 commented 1 year ago

Describe the bug

If you freeze remote player's vehicle it will be moving laggy, synced as non streamed in vehicle. GetElementVelocity will returning always 0. This caused #2742

Video: https://streamable.com/fwmq86

Steps to reproduce

Freeze remote player vehicle then sit near him or recon

Version

All

Additional context

No response

Relevant log output

No response

Security Policy

fresholia commented 1 year ago

For fix this, the frozen determined by the client must be synced. However, this creates backward compatibility issues.