Immersive Vehicles (Formerly Transport Simulator)

Immersive Vehicles (Formerly Transport Simulator)

4M Downloads

Players sometimes don't stay in their seats on other clients in multiplayer when loading from data.

UTrosh opened this issue ยท 5 comments

commented

In multiplayer, the players are sometimes outside the vehicles but only visual, because for them they are indeed in the vehicle, I don't know how to explain but it's a visual bug, as soon as possible i share a video.

commented

I've seen it. This bug happens if you go to a person already in a vehicle, but does not happen if both of you are next to a vehicle, and then you both get in when close to one another, correct?

commented

Correct. I've seen this bug myself and kept forgetting to report it. Note however that while the player isn't visually there, you can at times interact with them regardless (attacks mostly) as long as you know where in the vehicle they are.

commented

yeah but for roleplay server its annoying.. Do you know how to patch it?

commented

The issue is down to some bug with how the client-side saved-rider-linking code is handled. This causes the rider to be loaded on the server (and thus able to be hit if you know where they are), but for some reason this isn't translated to clients via the NBT data. When you're right next to the player when they mount, you don't need the NBT data, as your client just gets the same "poot rider in car" packet that the actual rider got. It's only when they're in the seat and you go into that chunk and start loading the vehicle that something is borked and makes them not mount. It's just been such a low priority because the bug is fairly minor that I haven't fixed it yet.

commented

Fixed in 22.5.0.