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

Traffic Signals Don't Sync On Timed Mode #1692

Open
DonBruce64 opened this issue Jul 29, 2023 · 2 comments
Open

Traffic Signals Don't Sync On Timed Mode #1692

DonBruce64 opened this issue Jul 29, 2023 · 2 comments
Assignees
Labels
bug Code broke, fix yes?

Comments

@DonBruce64
Copy link
Owner

When having a signal controller in the world set to timed mode, signals won't sync properly between clients and servers. If the time is long, and the systems is in the middle of a cycle, it is possible that the signals will be synced mostly together. But other times they end up just being both green and never changing on one client, while changing normally on another. Need to change signal state-logic to send packets to signals to change their state based on packets sent from the controller on the server controlling them rather than having the code run client-side. This ensures better timing than just going by the ticks existed and cooldown, as client-side lag could widen small de-syncs.

@DonBruce64 DonBruce64 added the bug Code broke, fix yes? label Jul 29, 2023
@DonBruce64 DonBruce64 self-assigned this Aug 30, 2024
@DonBruce64
Copy link
Owner Author

Likely fixed in 17edd2d.

@DonBruce64
Copy link
Owner Author

Actually, likely NOT fixed.

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

1 participant