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

seat_occupied randomly flips to 0 for at least a tick #1620

Open
boot2big opened this issue May 3, 2023 · 4 comments
Open

seat_occupied randomly flips to 0 for at least a tick #1620

boot2big opened this issue May 3, 2023 · 4 comments
Labels
bug Code broke, fix yes?

Comments

@boot2big
Copy link
Contributor

boot2big commented May 3, 2023

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
Copy link
Contributor Author

boot2big commented May 3, 2023

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.

@DonBruce64
Copy link
Owner

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?

@boot2big
Copy link
Contributor Author

boot2big commented May 3, 2023

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

@DonBruce64
Copy link
Owner

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 DonBruce64 added the bug Code broke, fix yes? label May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Code broke, fix yes?
Projects
None yet
Development

No branches or pull requests

2 participants