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

Desync in multiplayer #3619

Closed
DorpsGek opened this issue Feb 13, 2010 · 4 comments
Closed

Desync in multiplayer #3619

DorpsGek opened this issue Feb 13, 2010 · 4 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Combuster opened the ticket and wrote:

Net sync error appears between 5 seconds and one minute of connecting a game.

To reproduce:
Start server from save game (attached)
Start a client and connect to the server (either of joining the company and spectating will do)
Wait.
(reproducability: always)

Version used is r19068

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/3619
@DorpsGek
Copy link
Member Author

Combuster wrote:

Minor correction: Reproducability rates lie somewhere around 85%. Repeated attempts to join this game eventually succeed.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3619#comment7585

@DorpsGek
Copy link
Member Author

frosch wrote:

The desync is caused by trains choosing different platforms at the dropoff station. It is not specific to a certain train or date, but seems to depend on join date. The time until desync varies from few days to few months.

Enabling the yapf cache debugging triggers shortly after loading the game in singleplayer (actually not at the dropoff station). However the stuff in dbg_helper is totally broken :/


This comment was imported from FlySpray: https://bugs.openttd.org/task/3619#comment7587

@DorpsGek
Copy link
Member Author

planetmaker wrote:

Just a short remark on the savegame: the big drop station is not one station, but 6 separate ones interwoven as much as possible where tracks alternate every station track of it.

EDIT and disabling the yapf cache on both, server and client seems to let me connect without desync (frosch's patch http://devs.openttd.org/~frosch/diffs/disableyapfcache.diff )
EDIT2: Note also the trains' orders: the main drop station is not part of the orders.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3619#comment7590

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r19141


This comment was imported from FlySpray: https://bugs.openttd.org/task/3619

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant