Immersive Vehicles (Formerly Transport Simulator)

Immersive Vehicles (Formerly Transport Simulator)

4M Downloads

seat_occupied randomly flips to 0 for at least a tick

boot2big opened this issue ยท 4 comments

commented

Long enough to trigger sounds or close out cameras, unsure of how to reproduce and occurs in singleplayer. Have yet to test in multiplayer

Affects both seat_occupied and seat_occupied_client (as well as numerically referenced variants, I've found through cameras on vehicles automatically switching themselves)

commented

Strange. Will check this with the seat code. I'm inverting things in the current brach-betas, so it should never be 0 unless I tell it to be such. Mojank can go suck an egg.

commented

Happens at lower speeds though, unless "fast" is considered slow enough to keep up with on foot. (Sprinting, at least)
Have even had it happen while the vehicle is standing still, which is obviously when it isn't moving.

But on 1.12.2 correct, forgot I might need to test bugs on two versions at once now. Grahh...

commented

To clarify: Only occurs when seat_occupied(_client) is 1, doesn't seem to randomly flip to 1 from 0 whenever a seat isn't occupied either.

commented

I'm due to work on rider seat code next, but I wanted to push out this update first to fix the major lag. I suspect this issue is related to riders being removed from seats. Probably 1.12.2 when you're going fast I think?