Skip to content

Save & Load basics

tjakubo2 edited this page Jul 20, 2017 · 3 revisions

Saving and loading games in TTS is tricky scripting-wise. We're not given free game state handling, any information that should carry over has to be handled manually (both save and load side) and creates perfect breeding ground for bugs.
Saving the table while there are no dials assigned or ships active is 100% safe. Feel free to e.g. rearrange stuff and save so you can load your customized version. Further problems apply to saving and loading a game in progress.
See Undoing things page for tips on how to recover without using save-load/rewind.

  • Do not save if loading haven't completed - this save will be probably useless.
  • If you're playing multiplayer and are not the host, host issues can translate to your game and save and load won't help.
  • Saving a game in progess and loading afterward is not guaranteed to work perfectly (a lot of items and variables to keep track of).
  • Before save, let all moves finish, return all dials to hidden zones, turn off range rulers, click None on trays.
  • After load, verify if dials are still assigned OK, reassign may (but shouldn't) be needed.
  • After load, verify if all ships are responsive. A 'keep' command on each for example.
  • Only the last position in move history is carried over. Keep that in mind.
  • If loading a game produces errors or is misbehaving right away, ditch it.