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 related to diagonal track next to dock end #8119
Comments
Looks like various calls to SetDockingTile must be replaced with calls to CheckForDockingTile. The latter also updates the station's area. |
SamuXarick
added a commit
to SamuXarick/OpenTTD
that referenced
this issue
May 8, 2020
…agonal rail next to a dock end
SamuXarick
added a commit
to SamuXarick/OpenTTD
that referenced
this issue
May 8, 2020
…agonal rail next to a dock end
SamuXarick
added a commit
to SamuXarick/OpenTTD
that referenced
this issue
May 9, 2020
…agonal rail next to a dock end
Quick test using the provided savegame and desync debug
|
glx22
changed the title
Desync after building diagonal track next to dock end
Desync related to diagonal track next to dock end
May 9, 2020
Desync still happens when destroying (not removing) the diagonal rail track in the attached save |
glx22
added a commit
to glx22/OpenTTD
that referenced
this issue
May 9, 2020
LordAro
pushed a commit
to LordAro/OpenTTD
that referenced
this issue
May 10, 2020
…agonal rail next to a dock end (OpenTTD#8124)
LordAro
pushed a commit
to LordAro/OpenTTD
that referenced
this issue
May 10, 2020
LordAro
pushed a commit
that referenced
this issue
Jun 1, 2020
LordAro
pushed a commit
that referenced
this issue
Jun 1, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version of OpenTTD
1.10.1, also head as of bc83337
CmdBuildRailroadTrack does not keep the 'is dockable' tile status bit intact. (CmdBuildSingleRail does). This can easily lead to a desync.
To reproduce, load the attached savegame. The ship is able to dock at Benfingford Docks. When you remove/rebuild the diagonal tracks, the ship can no longer dock. Any client that connects after rebuilding the tracks will instantly desync since the ship can still dock on the client.
desync.zip
The text was updated successfully, but these errors were encountered: