Difference between revisions of "Logfile"
Jump to navigation
Jump to search
m (number of deaths + life saving) |
(topten.c, dungeon numbers) |
||
Line 3: | Line 3: | ||
Each line contains several fields, separated by a space, for example: | 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 | + | #: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
+ | data: 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: | The fields are as follows: | ||
− | + | #version. In this case, it's <tt>3.4.3</tt> | |
− | + | #score | |
− | + | #dungeon number | |
− | *dungeon level | + | #*-5 Astral Plane |
− | + | #*-4 Plane of Water | |
− | + | #*-3 Plane of Fire | |
− | + | #*-2 Plane of Air | |
− | + | #*-1 Plane of Earth | |
− | + | #*0 The Dungeons of Doom | |
− | + | #*1 Gehennom | |
− | + | #*2 The Gnomish Mines | |
− | + | #*3 The Quest | |
− | + | #*4 Sokoban | |
− | + | #*5 Fort Ludios | |
− | + | #*6 Vlad's Tower | |
− | + | #*7 unknown | |
+ | #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 | ||
+ | |||
+ | ==References== | ||
+ | *[[topten.c]] | ||
[[Category:Stubs]] | [[Category:Stubs]] | ||
[[Category:Annotations]] | [[Category:Annotations]] |
Revision as of 07:50, 17 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:
#: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 data: 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
- -5 Astral Plane
- -4 Plane of Water
- -3 Plane of Fire
- -2 Plane of Air
- -1 Plane of Earth
- 0 The Dungeons of Doom
- 1 Gehennom
- 2 The Gnomish Mines
- 3 The Quest
- 4 Sokoban
- 5 Fort Ludios
- 6 Vlad's Tower
- 7 unknown
- 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