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.42k stars 438 forks source link

Ped rotation sync is broken #3554

Open Zangomangu opened 4 months ago

Zangomangu commented 4 months ago

Describe the bug

maybe caused by https://github.com/multitheftauto/mtasa-blue/commit/f5b599c9f45777f924f7980cadb2d3cc6431d8b8

Steps to reproduce

spawn ped and check rotation for non-syncing player

Version

client 22596 server 22600

Additional context

No response

Relevant log output

No response

Security Policy

dmi7ry commented 4 months ago

I may be an old bug https://github.com/multitheftauto/mtasa-blue/issues/1928#issuecomment-750002744 https://github.com/multitheftauto/mtasa-blue/pull/1506

Zangomangu commented 4 months ago

it started happening after i updated

FileEX commented 4 months ago

it started happening after i updated

Since the commit mentioned was introduced in version r22529, have you checked version r22523?

Commendatore1 commented 4 months ago

Tested this in r22518 and peds synchronised by another client were walking just fine, in r22529 they would constantly reset their rotation and face north.

tederis commented 3 months ago

Wasn't able to reproduce this bug. Additional information required. Please, attach your resource or/and record a video.

Commendatore1 commented 4 weeks ago

ped_sync_fail.zip

Here is a resource that spawns a ped in SFA. It displays the rotation of the ped and if you are the syncer. When the ped is synchronised by another client and you are in a version beyond r22518 it would constantly reset the rotation. Here is a video of the resource: https://github.com/user-attachments/assets/c42e1f2c-a4fd-4b6b-80cb-6612783f5df2