» Contents
» (0) Quickstart
» (1) Introduction
» (2) Installation & setup
» (2.3) TomeNET return values
» (3) Creating a character & starting to play
» (4) The world
» (5) Item and flag details, elements
» (6) Monster details
» (7) Character details
» (8) Tactics & strategy
» (9) Miscellaneous

Search
Previous
(2.2b) Editing sound and music manually/Creating own packs
Next
(2.4) Starting TomeNET and getting to play on an internet server
(2.3) TomeNET return values                                                     
---------------------------
The executable binary 'tomenet' (POSIX) or 'TomeNET.exe' (Windows) gives the
following return values on exit:

All systems:
   0: On successful run, the player quits the game (usually via CTRL+Q).
      Note that this is also returned if you quit the game via ALT+F4 or by
      clicking the main window's close-button (usually the 'x' button).
   1: Server returned an unknown error in the process of logging in.
   2: Client quits with any error message
      (eg server timeout on connection attempt).
   3: Server quit to apply updates and should be back online within seconds.
   4: Unlike normal server shutdowns which just apply updates and have the
     server back up and running within seconds, this code means that the
     server reported that it is actually 'Terminating', which means the server
     will be down for an extended maintenance period (rare case, usually only
     happens for critical problems or version updates).
POSIX only:
  20: Startup failed - cannot initialize display, ie GCU or X11.
  30: GCU event processing failed (ERR) when waiting.
  31: GCU event processing failed (EOF) when waiting.
  32: GCU event processing failed (any other error).
 128+ (signal-induced termination):
      128 plus the signal number is returned for signal deaths,
      eg 137 if TomeNET is forcibly killed ('kill -9' command) since SIGKILL is
      signal 9, so 128 + 9 = 137.
Windows only:
  10: Quit with various errors (before windows initialization).
  11: Quit with various errors (after windows initialization).
  20: Startup failed - cannot register window class.
  21: Startup failed - cannot register window class.
Previous
(2.2b) Editing sound and music manually/Creating own packs
Next
(2.4) Starting TomeNET and getting to play on an internet server