Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetVehicleDoorBroken doesnt sync when vehicle is created Server side #1858

Closed
JericoFX opened this issue Feb 17, 2023 · 2 comments
Closed

SetVehicleDoorBroken doesnt sync when vehicle is created Server side #1858

JericoFX opened this issue Feb 17, 2023 · 2 comments

Comments

@JericoFX
Copy link

Hi, i was trying to sync the vehicle doors but in this case it doesn't matter if the door is deleted on the server or the client side, always the other person will see the door model on the ground.
The steps to reproduce:
1)- Create a vehicle server side (any vehicle) with CreateVehicleServerSetter.
2)- Create a Command and send an event to the server and delete the door (i even did the SetVehicleDoorBroken on client to test and same result).
3)- For the person who trigger the command the door disappears, but the rest of the people the door remains in the ground.

First Video:
https://cdn.discordapp.com/attachments/1076002989099192350/1076002991691284480/Desktop_17-2-2023_1-23-11_-_Trim.mp4

Second Video:
https://streamable.com/n8z20y

PD: On the first video i already delete the door server side when the vehicle spawn.
On the second video i remove a door with a command then i take the second character and go really far from the vehicle, when i come back the doors are deleted from the ground.

PD2: If the vehicle is created client side the problem doesn't not exist.

@JericoFX
Copy link
Author

After Using Statebags the problem does not exist anymore

@gottfriedleibniz
Copy link
Contributor

This issue is a little stale now, but from recollection (hazy) issue was related to door fragments and scoping (e.g., coming into the vehicles scope vs. already being in it).

Since you have a fix, I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants