Trying to Finish Dungeon (Mainframe Zork)

I first discovered Zork on my college mainframe in the fall of 1981. My friends and I spent many hours on it, playing separately while giving each other occasional hints, but we didn’t come close to finishing. Nor did we hear of anyone who did.

Two and a half years later, I bought my first computer. Seeing Zork II on the software shelf, I added it to my purchase. Not long after that, I added Zork I and Zork III to my collection and eventually (with a little help) completed them.

But in the back of my mind I always wanted to complete the original Dungeon. I gave it a shot about 25 years ago, but came up a few treasures short. Now, armed with my Trilogy knowledge and a walkthrough, I’m determined to finish!

I started with Ethan Dicks’ Inform port (Release 13), playing with Gargoyle. It wasn’t long, however, before I ran into inventory problems. Not because I was carrying too much stuff, but due to an apparent bug in the game.

> look
Posts Room
This is an enormous room, in the center of which are four
wooden posts delineating a rectangular area, above which is
what appears to be a wooden roof. In fact, all objects in this
room appear to be abnormally large. To the east is a
passageway. There is a large chasm on the west and the
northwest.
There is an ivory torch here.
A clear glass bottle is here.
There is a pearl necklace here with hundreds of large pearls.
There is a tin of rare spices here.
There is a brass lantern (battery-powered) here.
There is an elvish sword here.
There is a piece of cake with blue icing here.

> i
You are carrying:
A piece of cake with orange icing

> get blue cake
Your load is too heavy. You will have to leave something
behind.

Hmm. Two cakes are hardly “too heavy.” A little further investigation seemed to suggest that one part of the code thought I was carrying certain items and another part (that which displayed my inventory) thought I wasn’t.[/spoiler]

In any case, the game soon became unplayable. I still had Release 12 kicking around on my hard disk from years ago, so I tried that. This time, no inventory problems, but instead, the lamp timer seemed to be malfunctioning.

Wanting to preserve the lamp’s batteries as long as possible, I started the game and immediately went to the Torch Room, turned off the lamp and used the torch for light. So the lamp was on for less than 10 turns.

I then did a bunch of stuff without using the lamp: the maze, the well, the Bank of Zork, the dam and the Frigid River, meanwhile picking up assorted treasures and killing the thief in my travels.

Needing the lamp for the coal mine, I went there next:

> ne
Shaft Room
This is a large room, in the middle of which is a small shaft
descending through the floor into darkness below. To the
west and the north are exits from this room. Constructed overthe top of the shaft is a metal framework to which a heavy
iron chain is attached.
At the end of the chain is a basket.

> turn on lamp
The lamp is now on.
The lamp appears to be getting dimmer.

> score
Your score would be 402 [total of 646 points], in 609 moves.
This score gives you a rank of Hacker.

I’m sure I wasted a bunch of moves stumbling through unfamiliar passages, but with the lamp off, I wasn’t worried about it. But still, “The lamp appears to be getting dimmer?” After being on for less than 10 moves?

Oh well, I got through the coal mine efficiently, turned off the lamp again, and did the Royal Puzzle and the palantirs. Now for the volcano. Off to the Glacier Room

/> throw torch at glacier
The torch hits the glacier and explodes into a great ball of
flame, devouring the glacier. The water from the melting
glacier rushes downstream, carrying the torch with it. In the
place of the glacier, there is a passageway leading west. The
melting glacier seems to have carried the torch away, leaving
you in the dark.
/
It is now pitch dark in here!
/
/> turn on lamp
The lamp is now on.
The lamp appears to be getting dimmer.

And then a few moves later:

/> light newspaper with match
The newspaper burns inside the receptacle.
The cloth bag inflates as it fills with hot air.
/> z
Time passes.
The match has gone out.
/
/> z
Time passes.
The lamp is dying.
/
/> score
Your score would be 571 [total of 646 points], in 872 moves.
This score gives you a rank of Winner.

There I was, 872 moves in, well less than 100 with the lamp on, and I didn’t have enough light to complete the game.

Could this possibly be a Gargoyle (version 2019.1.1) bug? It just runs Frotz, right? The version of Frotz in this folder is 2.50. So maybe that’s where the bug is. (Please forgive my ignorance of which app is doing what.)

In the folder with Release 12, I found some old save files from 1999(!). They wouldn’t load in Gargoyle, but Frotz (version 2.32) loaded them just fine. The most recent file was still a little short of the 646 total points, but I gathered up the missing ones I knew about and headed to the Tomb. Alas, at 644 points, I couldn’t enter the crypt without surviving, and I had just a few turns left on my candles. For the record, I had made 1106 moves, but how many I made with the lamp on (25+ years ago), I couldn’t tell you. But before replaying the entire game in Frotz, I thought I’d check here and see if this was a known bug. Or maybe someone can suggest a game/interpreter version pair that they know works. I’d like to play the full 646 point version.

Of course, there’s also the problem of the missing 2 points.

In the trophy case, I have:
a pearl necklace
a white crystal sphere
a tin of spices
a painting
a chalice
a portrait of J. Pierpont Flathead
a stack of zorkmid bills
a platinum bar
a fancy violin
a trunk of jewels
a crystal trident
a clockwork canary
a beautiful brass bauble
a grail
a jewel-encrusted egg
a jade figurine
a sapphire bracelet
a huge diamond
a bag of coins
a pot of gold
a statue
a large emerald
a gold card
a coffin
a ruby
a priceless zorkmid
a burned out ivory torch
a crown
a stamp
a red crystal sphere
a blue crystal sphere
a Don Woods stamp

Am I missing something?

Any light anyone can shed on this would be enormously appreciated. (Sorry, the pun seemed necessary for my mental health at this point.)

3 Likes

No. You’re describing a game logic bug, not an interpreter problem.

It’s very possible that the Inform port you’re talking about was never seriously tested.

1 Like

Ah! Very interesting. Now I’m even more curious to know if anyone has completed this version.

I don’t know why this version have 646 points, but in the original MDL version (or the Fortran port) it is 616 points in the regular game and then 100 points in the end game.

How points are awarded:

Regular Game
============                    
                                      Get     In Case        Other  
                                      ===     =======        =====
Jewel-Encrusted Egg                     5           5           
Reaching "Kitchen"                                              10  
Reaching "Cellar"                                               25  
Reaching "East-West Passage"                                     5  
Ivory Torch                            14           6               
Bag of Coins                           10           5               
Reaching "Strange Passage"                                      10  
Reaching "Treasure Room"                                        25  
Clockwork Canary                        6           2               
Brass Bauble                            1           1               
Painting                                4           7               
Portrait                               10           5               
Stack of Zorkmid Bills                 10          15               
Silver Chalice                         10          10               
Gold Card                              15          10               
Trunk with Jewels                      15           8               
Crystal Trident                         4          11               
Gold Coffin                             3           7               
Emerald                                 5          10               
Pot of Gold                            10          10               
Don Woods Stamp                         0           1   
Platinum Bar                           12          10
Pearl Necklace                          9           5   
Reaching "Top of Well"                                          10  
Tin of Rare Spices                      5           5   
White Crystal Sphere                    6           6   
Grail                                   2           5           
Fancy Violin                           10          10
Blue Crystal Sphere                    10           5
Small Statue                           10          13
Reaching "Land of the Living Dead"                              30
Jade Figurine                           5           5   
Sapphire Bracelet                       5           3           
Enter "Lower Shaft"                                             10  
Huge Diamond                           10           6       
Red Crystal Sphere                     10           5
Moby Ruby                              15           8   
Zorkmid Coin                           10          12   
Flathead Stamp                          4          10   
Gaudy Crown                            15          10
                                      ---         ---          ---
                                      260         231          125 = 616
End Game
========            
Enter "Crypt"                                                    5  
Enter "Top of Stairs"                                           10  
Enter "Inside Mirror"                                           15  
Enter "Dungeon Entrance"                                        15  
Enter "Narrow Corridor"                                         20  
Enter "Treasury of Zork"                                        35
                                                               ---
                                                               100 = 100

Not much that adds up to 2 and it looks like you have them, so hard to tell… I’ll see if I do a playthrough later today to see what’s going on.

2 Likes

I finished Release 13 Serial 040826.
You lost points because your ivory torch is burnt out.
Edit: That isn’t it, and I don’t know what the discrepency is caused by.

Points are as follows(+ a second number is for putting it in the case):
10 Enter Kitchen
25 Enter Cellar
5 Enter East-West Passage
25 Enter Treasure Room
5 Enter Strange Passage
10 Enter Top of Well
10 Enter Lower Shaft
35 Enter Sooty Room
30 Enter Land of the Living Dead
5+5 Egg
10+5 Portrait
10+15 Zorkmid Bills
10+5 Bag of Coins
14+6 Ivory Torch
10+5 Blue Crystal Sphere
4+7 Painting
9+5 Pearl Necklace
2+5 Grail
6+2 Clockwork Canary
10+10 Chalice
10+15 Gold Card
5+5 Tin of Spices
6+6 White Crystal Sphere
10+10 Violin
12+10 Platinum Bar
15+8 Trunk of Jewels
4+11 Crystal Trident
5+10 Emerald
10+13 Statue
10+10 Pot of Gold
1+1 Brass Bauble
5+5 Jade Figurine
5+3 Sapphire Bracelet
10+6 Diamond
3+7 Gold Coffin
15+8 Ruby
10+5 Red Crystal Sphere
10+12 Priceless Zorkmid
4+10 Stamp
15+10 Crown
0+1 Don Woods Stamp
646 Total

This version gives 35 points for entering the Sooty Room, but only 5 for the Strange Passage, yielding a 30 point difference.

2 Likes

I also finish release 13 with 646 points and no issue with the lamp (but I used it sparingly by gettting the ivory torch as fast as possible).

>drop rope,book,matchbook,lamp
rope: Dropped.
purple book: Dropped.
matchbook: Dropped.
lamp: Dropped.

>put all in case
burned out ivory torch: Done.
crown: Done.
stamp: Done.
priceless zorkmid: Done.
ruby: Done.

>get lamp
Taken.

>score
Your score would be 646 [total of 646 points], in 1104 moves.
This score gives you a rank of Cheater.

>version
ZORK

Welcome to ZORK.
Release 13 / Serial number 040826 / Inform vS Library 6/7
Standard interpreter 1.1 (4F) / Library serial number 970918

Do you mean the lamp, because I don’t think the torch burns out?

1 Like

No, it’s possible to extinguish the torch in solving a puzzle but doing that is not the preferred solution.

Extinguishing the torch makes it worth less.

1 Like

Now I’m intrigued… How do you do it in an unpreferred way?

My torch get extinguished by throwing it at the ice, and I get max points. How do you solve the ice without throwing the torch?

1 Like

It’s been a loooong time since I played this…trying to remember.

Edit: Maybe I am wrong and you have to extinguish the torch. I distinctly remember the torch being worth fewer points when burned out though. I’ll do a new play through later and test.

1 Like

Thanks - this list is great! I see I have the same 32 treasures, so why the 30-point difference?

And now we know!

First, congratulations on completing Release 13! I also played serial number 040826, so it’s interesting you (apparently) didn’t encounter the same inventory bug. I wonder what I typed to create such a state.

Second, many thanks for identifying the missing 2 points, but I’m still in the dark (yeah, that pun again). If I try to relight the torch with a match, I get the message “I don’t think you can burn a burned out ivory torch.” So, if the torch cannot be relit (perhaps there is another way to do so?), how to melt the ice? Throwing the candles gives the message “The glacier is unmoved by your ridiculous attempt.”

Oh, now I see from your latest post that you’re not sure either!

Congrats to you also!

So it appears that release 13 doesn’t have the lamp bug that release 12 has (because I used the lamp very sparingly). Maybe I should try that again and hope to not encounter the inventory bug.

Again, many thanks to both of you for your help!

Anyway… If you (nudge, nudge) want to play the original 616 version there’re a few alternatives here. If you are on Windows, Jeff Claar made a C++ version that very true to the original here (precompiled downloads under the download tab).

1 Like

Yes, it sounds like the original 616-point version is the one I want. I’ve downloaded the C++ version and will give it a try. Thanks!

I guess I was completely wrong here - perhaps thinking of the dragon in Zork II. I still remember losing points for extinguishing the torch, but that doesn’t seem to be the case. I claim Mandela effect.

1 Like

Well… I almost made it through Claar’s C++ version. It’s a little buggy - VERBOSE doesn’t work and the parser sometimes get confused - but I could live with that. I might add that the thief is particularly annoying in this version, but if that’s true to the original, it’s okay with me. Frequent saves until I killed him off solved that problem.

So I got to the end game, successfully navigated the mirror box and met the Dungeon Master. I then followed these instructions from the walkthrough at ifdb.org:

Now go north twice, east, and north twice. Set the dial to 4.
Push the button. Tell master, stay. Go south. Open the
door. Go in. Tell master, set dial to 6. Tell master, push
button. Open the bronze door. Go south. At last the
treasures of Dungeon of Zork are yours!

This got me to the final 2 moves:

>open bronze door
The bronze door opens.
On the other side of the door is a narrow passage which opens out
into a larger area.
>s
The door is securely fastened.

Note that “open cell door” also gives me the message “The door is securely fastened,” while “open bronze door” tells me “Look around.” This suggests that the cell door is now to the south and the bronze door is to the north, but when I tried to go north, the program ended. Maybe it crashed, or maybe it displayed a final message and then ended normally before I could see it, but in any case I didn’t get to see the coveted final text.

By the way, ENTER BRONZE DOOR or WALK THROUGH BRONZE DOOR just gives me the message “You hit your head against the bronze door as you attempt this feat.” It appears a direction is needed.

Please tell me that I’m doing something wrong and that I don’t need to find another version to play!

Try running the game from within a command window so you can see the last message.

1 Like

That did it!

Your score in the end game is 100 [total of 100 points], in 46 moves.
This score gives you the rank of Dungeon Master.

You have been playing ZORK for 0 hours, 4 minutes, and 37 seconds.

100 end game points, 46 moves, 0 deaths. In Treasury of Zork. Won Totally!

Thanks so much to you and @Mike_G for your help. I usually try to avoid hints and walkthroughs, but in this case, I’m very glad I did.

5 Likes

congratulations!

1 Like

That’s quite the speedrun!

(I do realise this is just you replaying for that final commands to work, but I think this is funny.)

1 Like

VERBOSE mode in mainframe Zork is weird. Rather than forcing it to always print the full description, if I read it correctly it only forces the full description sometimes:

	    <TELL <RDESC2 .RM>>
	    <COND (<OR <AND <NOT .FULL> ,SUPER-BRIEF!-FLAG>
		       <AND <RTRNN .RM ,RSEENBIT>
			    <OR ,BRIEF!-FLAG <PROB 80>>
			    <NOT .FULL>>>)
		  (<AND <EMPTY? <RDESC1 .RM>> <SET RA <RACTION .RM>>>
		   <PERFORM .RA <FIND-VERB "LOOK">>
		   <PUT ,PRSVEC 1 <FIND-VERB "FOO">>
		   <PUT ,PRSVEC 2 <>>)
		  (<TELL <RDESC1 .RM> ,LONG-TELL1>)>
	    <RTRO .RM ,RSEENBIT>
	    <AND .AV <TELL "You are in the " ,POST-CRLF <ODESC2 .AV> ".">>)>
2 Likes