Talk:Player monster

From NetHackWiki
Revision as of 05:26, 10 July 2012 by Ion frigate (talk | contribs)
Jump to navigation Jump to search

Player monsters in the Valley of the Dead

Some people report live player monsters in the Valley. How can that happen? They are only ever created in Src:Ref/final_level for the Astral plane, and Source:Sp_lev.c#line815 for special level loading. But I don't see any player monsters in gehennom.des. --Tjr (talk) 20:04, 9 July 2012 (UTC)

I've definitely seen this. I'm not sure, but I think it might have something to do with the des file. I'm not seeing anything in it that suggests why, though; what code is called to place objects and monsters as specified in the .des? That seems like it'd be a good place to start. Perhaps something strange occurs like the code trying to place one of those player monster corpses in an invalid location, getting confused, and placing the monster instead of the corpse. Basically, the Valley of the Dead sometimes has anomalous player monsters, and it's also the only place in the game where player monster corpses are explicitly placed. These would seem to be related. -Ion frigate (talk) 05:22, 10 July 2012 (UTC)
Also, maybe these corpses are being revived somehow, maybe always on the first turn after they're created? It's a long shot, but it doesn't seem impossible. -Ion frigate (talk) 05:26, 10 July 2012 (UTC)