Difference between revisions of "Impossible"

From NetHackWiki
Jump to navigation Jump to search
m (fix link to message)
Line 1: Line 1:
 
NetHack generates an '''impossible''' message when something such as a [[monster]] or [[object]] reaches a state that it should not be possible to reach; it displays a short description of the problem, followed by "'''[[Source:pline.c#line260|Program in disorder - perhaps you'd better #quit.]]'''". These messages are generated by the [[Source:pline.c#line246|impossible()]] function in [[Source:pline.c|pline.c]].
 
NetHack generates an '''impossible''' message when something such as a [[monster]] or [[object]] reaches a state that it should not be possible to reach; it displays a short description of the problem, followed by "'''[[Source:pline.c#line260|Program in disorder - perhaps you'd better #quit.]]'''". These messages are generated by the [[Source:pline.c#line246|impossible()]] function in [[Source:pline.c|pline.c]].
  
Some [[bugs in NetHack 3.4.3]] generate impossible messages; for example, C343-33, "Sometimes a monster may remain hidden under a corpse that has rotted away.", can result in a player polymorphed into a hiding monster hiding under a non-existent object, generating the message "[[Source:mhitu.c#line423|hiding under nothing?" when a monster tries to attack the polymorphed player.
+
Some [[bugs in NetHack 3.4.3]] generate impossible messages; for example, C343-33, "Sometimes a monster may remain hidden under a corpse that has rotted away.", can result in a player polymorphed into a hiding monster hiding under a non-existent object, generating the message "[[Source:mhitu.c#line423|hiding under nothing?]]" when a monster tries to attack the polymorphed player.
  
 
If an error results in the session being unable to continue, the game will normally [[panic]] instead of issuing an impossible message.
 
If an error results in the session being unable to continue, the game will normally [[panic]] instead of issuing an impossible message.
 
 
[[Category:Bugs]]
 
[[Category:Bugs]]

Revision as of 00:49, 20 April 2012

NetHack generates an impossible message when something such as a monster or object reaches a state that it should not be possible to reach; it displays a short description of the problem, followed by "Program in disorder - perhaps you'd better #quit.". These messages are generated by the impossible() function in pline.c.

Some bugs in NetHack 3.4.3 generate impossible messages; for example, C343-33, "Sometimes a monster may remain hidden under a corpse that has rotted away.", can result in a player polymorphed into a hiding monster hiding under a non-existent object, generating the message "hiding under nothing?" when a monster tries to attack the polymorphed player.

If an error results in the session being unable to continue, the game will normally panic instead of issuing an impossible message.