Name | Stateless 1.1 |
Rating | Not rated |
Author | Jean-Baptiste Mazon |
For | NetHack 3.4.3 |
Description | Reproducible 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 | |
Download | Get it from us (6.6 Kb) |
Added | January 17, 2010 17:04 |
Changed | January 23, 2010 18:01 |
Submit an update to this patch |