Difference between revisions of "Forum:What does this mean???"

From NetHackWiki
Jump to navigation Jump to search
(Created page with '{{Forumheader|Watercooler}} <!-- Please put your content under this line. Be sure to sign your edits with four tildes ~~~~ --> I'm in the Lawful Quest, and I just killed a basi…')
 
(Reply re "dmonsfree")
 
Line 7: Line 7:
  
 
It sounds like theres an error with my game, but considering that the Lawful quest has strange messages, I'm not sure what to make of it...
 
It sounds like theres an error with my game, but considering that the Lawful quest has strange messages, I'm not sure what to make of it...
 +
:You're clearly playing [[SLASH'EM]], since vanilla doesn't have basilisks.  That does look like a bug.  "dmonsfree" is the function that removes dead monsters from the monster list at the end of a turn.  Apparently dmonsfree thought that there were two monsters killed, but when it scanned the monster list, it found only one dead monster.
 +
:If you can read C, you can find dmonsfree at {{sourcecode|SLASH'EM 0.0.7E7F2/mon.c|1403}}.
 +
:All NetHack variants have a number of checks for inconsistent data; the function that reports a failed check is called "impossible" and reports that "Program in disorder..." message.  This doesn't always mean that your game is in danger of crashing, but you might want to [[savescumming|savescum]] at such a point if you can.  Savescumming to fend off crashing games is not considered dishonorable.--[[User:Ray Chason|Ray Chason]] 17:16, September 19, 2009 (UTC)

Latest revision as of 17:16, 19 September 2009


I'm in the Lawful Quest, and I just killed a basilisk as a monk (with gloves, of course)and I get a weird message:

"You kill the basilisk! dmonsfree: 1 removed doesn't match 2 pending Program in disorder-perhaps you'd better #quit."

It sounds like theres an error with my game, but considering that the Lawful quest has strange messages, I'm not sure what to make of it...

You're clearly playing SLASH'EM, since vanilla doesn't have basilisks. That does look like a bug. "dmonsfree" is the function that removes dead monsters from the monster list at the end of a turn. Apparently dmonsfree thought that there were two monsters killed, but when it scanned the monster list, it found only one dead monster.
If you can read C, you can find dmonsfree at SLASH'EM 0.0.7E7F2/mon.c, line 1403.
All NetHack variants have a number of checks for inconsistent data; the function that reports a failed check is called "impossible" and reports that "Program in disorder..." message. This doesn't always mean that your game is in danger of crashing, but you might want to savescum at such a point if you can. Savescumming to fend off crashing games is not considered dishonorable.--Ray Chason 17:16, September 19, 2009 (UTC)