NullCGT / SpliceHack

An in-progress nethack variant based on version 3.7. An attempt to build a "kitchen sink" style variant that is easy to pick up and play.
Other
29 stars 12 forks source link

Food Poisoning occurs far too frequently. #147

Closed NullCGT closed 3 years ago

NullCGT commented 3 years ago

Eating a corpse that is only a few turns old seems to result in food poisoning. I have a hunch that this was caused when merging the moldy corpses patch, but I'm not sure what exactly the root cause is.

Doesnty commented 3 years ago

Fairly confident it's variable aged being uninitialized in make_corpse() (mon.c) that's doing it, although I had the reverse issue from it; corpses were dated to turn 80 million something so pets would eagerly snack on zombie corpses.

copperwater commented 3 years ago

Does this present in xNetHack as well? I haven't seen any such reports with respect to moldy corpses.

RojjaCebolla commented 3 years ago

Does this present in xNetHack as well? I haven't seen any such reports with respect to moldy corpses.

i think the bug cropped up from fuzzer-centric fixes, not the moldy patch!