diff options
author | frosch <frosch@openttd.org> | 2014-09-07 14:21:16 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2014-09-07 14:21:16 +0000 |
commit | e2f5081f40706c389473639165c3cb95b72a4d1b (patch) | |
tree | d1d889cf27ab2e7737feb024d9a6e5057c1a30b5 /docs | |
parent | 9b72a9f6b804fd3bad86e156fea53776eef4b480 (diff) | |
download | openttd-e2f5081f40706c389473639165c3cb95b72a4d1b.tar.xz |
(svn r26788) -Add: Desync replay option to skip/replay failed commands
Diffstat (limited to 'docs')
-rw-r--r-- | docs/desync.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/desync.txt b/docs/desync.txt index fb53b62ae..b0b6bd7d4 100644 --- a/docs/desync.txt +++ b/docs/desync.txt @@ -194,6 +194,7 @@ Table of contents - Get the same version of OpenTTD as the original server was running. - Uncomment/enable the define 'DEBUG_DUMP_COMMANDS' in 'src/network/network_func.h'. + (DEBUG_FAILED_DUMP_COMMANDS is explained later) - Put the 'commands-out.log' into the root save folder, and rename it to 'commands.log'. - Run 'openttd -D -d desync=3 -g startsavegame.sav'. @@ -217,6 +218,11 @@ Table of contents the last dmp_cmds that reproduces the replay and the first one that fails. + If the replay does not succeed without mismatch, you can check the logs + whether there were failed commands. Then you may try to replay with + DEBUG_FAILED_DUMP_COMMANDS enabled. If the replay then fails, the + command test-run of the failed command modified the game state. + If you have the original 'dmp_cmds_*.sav', you can also compare those savegames with your own ones from the replay. You can also comment/disable the 'NOT_REACHED' mentioned above, to get another 'dmp_cmds_*.sav' from |