Difference between revisions of "Logfile"

From NetHackWiki
Jump to navigation Jump to search
(first info. stub.)
 
m (number of deaths + life saving)
Line 14: Line 14:
 
*hit points
 
*hit points
 
*maximum hit points
 
*maximum hit points
*number of deaths
+
*number of deaths. This increases even if the death was averted with [[amulet of life saving]].
 
*end date in YYYYMMDD format
 
*end date in YYYYMMDD format
 
*start date in YYYYMMDD format
 
*start date in YYYYMMDD format

Revision as of 19:30, 16 July 2007

logfile is the file that contains a line of data for each game played. This file is in the same directory as the nethack executable binary.

Each line contains several fields, separated by a space, for example:

3.4.3 916 0 5 6 0 28 1 20060611 20060611 1031 Wiz Gno Fem Neu paxed,killed by a boiling potion

The fields are as follows:

  • version. In this case, it's 3.4.3
  • score
  • dungeon number
  • dungeon level
  • maximum level
  • hit points
  • maximum hit points
  • number of deaths. This increases even if the death was averted with amulet of life saving.
  • end date in YYYYMMDD format
  • start date in YYYYMMDD format
  • user ID. This is the UID NetHack runs as, and is only relevant for operating systems that use userIDs.
  • role
  • race
  • gender
  • alignment
  • name and reason for game ending, separated by a comma