Logfile

From NetHackWiki
Revision as of 14:54, 22 September 2006 by Paxed (talk | contribs) (first info. stub.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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
  • 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