Server Administration

From #openttdcoop wiki

Revision as of 11:15, 15 April 2007 by Osai (Talk | contribs) (just began to write that page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

On this page all the needed commands are shown to administrate a Server via SSH and especially those for administrating the #openttdcoop Servers

Directories

Starting the Server (via autopilot)

  • Start a new game: ./autopilot.tcl new
  • Load the default savegame (save/game.sav): ./autopilot.tcl load
  • Load another savegame: ./autopilot.tcl load save/game/path.sav

Basic SVN Commands

  • We are updating our Server's via SVN: svn up -r $revision_number
  • Sometimes everything is screwed up and we need to check out a new version (its very bad if this happens):
    • Backing up the old data: i.e. cp -r ~/svn-coop/bin ~/backup
    • Remove the corrupt copy: rm -rf ~/svn-coop
    • Check out a new working copy via svn: svn co -r $revision_number svn://svn.openttd.org/trunk svn-coop
    • Configure and Compile: ./configure && make
    • Restore files from the backup like grfs and openttd.cfg
Powered by MediaWiki