NetHack Patch Database v0.27

323 patches

Stateless

NameStateless 1.1
RatingNot rated
AuthorJean-Baptiste Mazon
ForNetHack 3.4.3
DescriptionReproducible games
 This is version 1.1 of the stateless patch.

This patch aims at making the bot maintainer's life easier by making
games a bit more reproducible. Just define the NETHACKSTATE
environment variable with the RNG seed you want used instead of time()
prior to launching the game.

For example, the following command line always yields a lawful male
human knight, with a pet pony and a fountain in the starting room.
Going straight to the fountain to quaff gives the see invisible
intrinsic and dries out the fountain.

NETHACKSTATE=2 nethack

Obviously, if you use a different RNG, you'll get a different result
on this one, but at least it'll be stable.


LIMITATIONS
- no bones for you
- time-of-day-related behavior (undead, gremlins) is static per game

BUGS
- state isn't preserved across savefiles
- moreover, attempting to restore a stateless game would mess up the
log file--just don't
DownloadGet it from us (6.6 Kb)
AddedJanuary 17, 2010 17:04
ChangedJanuary 23, 2010 18:01
Submit an update to this patch

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 something edible?