NetHack Patch Database v0.27

318 patches

Dump Character

NameDump Character v1.5
Rating96%
AuthorJukka Lahtinen
ForNetHack 3.4.3
DescriptionEnables you to automatically dump certain data on the (most likely) premature death of your character to a file.
 Each time a game really ends (character either dead, quit, or ascended), you can get the dump.

The following data can be dumped:

- character name, alignment, gender, race, role and stats
- the final screen picture
- inventory
- the contents of containers you are carrying
- attributes (what you get from, say, quaffing a potion of enlightenment)
- known spells
- vanquished monsters
- genocided monsters
- voluntary challenges
- skills
- the information on the "Goodbye" screen you see after all this and before the score list. This also includes the "killer" string that is shown on the logfile and highscore list as the reason for game ending.

The dumping takes place exactly at the time when you get presented this data on the screen. Some data is dumped only if you see it on the screen, some is always dumped. Maybe some later version of the patch will dump all of this information regardless of what you decide to view..

This patch is more often known as the "dumplog patch"
DownloadGet it from us (56.2 Kb)
AddedJanuary 30, 2005 18:26
ChangedSeptember 21, 2012 18:27
Submit an update to this patch

8 Comments

 JukkaOctober 20, 2012 16:02
Flippy wrote:

There's a readme for those who need it (like me).
http://www.netsonic.fi/~walker/nh/dump-343.README

The netsonic.fi url no longer works. Use http://www.iki.fi/jslahti/nh/dump-343.README[Quote]
 JukkaAugust 17, 2011 09:47
I added support for macro %d in the file name. It will be replaced with the date and time when the file is created. The version number is now 1.5 but the old link is still valid.[Quote]
 FlippyNovember 22, 2010 05:54
There's a readme for those who need it (like me).
http://www.netsonic.fi/~walker/nh/dump-343.README[Quote]
5KernighDecember 25, 2006 22:59
I encountered the dump/statuscolors conflict while porting both patches to NetHack brass. The http://nethackwiki.com/wiki/Brass_interface_patch crudely resolves this by splitting one function into two similar ones.

In general, I recommend applying the dump patch after other patches, because it seems to cause conflicts.[Quote]
5TartleyDecember 14, 2006 13:17
Brill. Thanks!

Be aware, the diffs from this patch overlap with those of the patch 'Statuscolors' - you will need a little manual tweaking to apply both patches.[Quote]
5MLApril 08, 2005 03:35
This is my favourite patch. Thanks Jukka![Quote]
5bahMarch 26, 2005 02:54
Great. I think that talking about function duplication is nitpicking since it's
not exactly the same content, and having duplicate functions makes it easy to
customize it even more.[Quote]
41KBMarch 15, 2005 10:31
Very useful. The only issue comes from the code point of view: it's bad to
duplicate the functions instead of creating an in-memory windows to dump the
contents.[Quote]

Add a comment

Name ()required
Rating (0 is worst, 5 is best) 
Commentrequired
You can use up to 1024 characters.
Only supported tag is [url]clickable_link[/url].

You will need to answer the following question correctly: What symbol represents a wand?