MinecraftTransportSimulator icon indicating copy to clipboard operation
MinecraftTransportSimulator copied to clipboard

seat_occupied randomly flips to 0 for at least a tick

Open boot2big opened this issue 2 years ago • 4 comments

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)

boot2big avatar May 03 '23 00:05 boot2big

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.

boot2big avatar May 03 '23 01:05 boot2big

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?

DonBruce64 avatar May 03 '23 04:05 DonBruce64

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...

boot2big avatar May 03 '23 04:05 boot2big

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.

DonBruce64 avatar May 10 '23 01:05 DonBruce64