the-infocom-files / zork3

Zork III: The Dungeon Master
5 stars 3 forks source link

Strange message if you ask the Dungeon Master to kill you #58

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago

I could be wrong, but I think I may have been the one who originally reported this to Graeme Cree's list of Infocom bugs:

MASTER, KILL ME WITH SWORD
"If you wish," he replies.
If you insist.... Poof, you're dead!

   ****  The dungeon master has died  ****

The dungeon master follows you.
Your sword has begun to glow very brightly.

(The aforementioned bug list mentions other strange messages from asking him to kill someone.)

The "If you wish" message comes from this part of DUNGEON-MASTER-F:

              (<VERB? PUSH TURN SPIN FOLLOW STAY OPEN CLOSE WAIT
                  ATTACK WALK-TO>
               <COND (<VERB? STAY FOLLOW WAIT> T)
                 (T <TELL "\"If you wish,\" he replies." CR>)>
               <RFALSE>)

The "If you insist...." message comes from this part of CRETIN-FCN:

               (<VERB? ATTACK MUNG>
                <COND (<AND ,PRSI <FSET? ,PRSI ,WEAPONBIT>>
                       <JIGS-UP "If you insist.... Poof, you're dead!">)
                      (T
                       <TELL "Suicide is not the answer." CR>)>)

And the message saying that the dungeon master has died comes from JIGS-UP when the WINNER isn't the ADVENTURER object.

I have no idea what was supposed to happen here, but since it's clearly not working perhaps ATTACK should simply be dropped from the list of commands that the Dungeon Master will try to obey?

I played through the oldest version I could find (r10), and it has the same bug. So it looks like it never worked right.

eriktorbjorn commented 5 years ago

The reason the dungeon master reappears is that he's following you. If you asked him to stay, he won't reappear. You can still talk to him, though.