Emacs dunnet solved

This post is also available at my personal web site: http://milosophical.me/blog/2006/03/08/emacs-dunnet-solved.html

I found this in a slashdot post while trawling for my own net handle… a cheat for the Emacs game dunnet:

get shovel, look shovel, e, e, dig, look, get cpu, look cpu, se, get
food, se, look bear, drop food, look, get key, sw, get bracelet, ne, nw,
nw, ne, ne, ne, e, look bins, w, w, put cpu in computer, type, toukmond,
robert, ls, uncompress paper.o.Z, exit, look paper, type, ftp gamma,
anonymous, toukmond, binary, send lamp.o, send shovel.o, send key.o, send
bracelet.o, send paper.o, quit, rlogin gamma, worms, get lamp, get
shovel, get key, get bracelet, get paper, e, n, e, drop shovel, drop key,
drop bracelet, drop paper, get weight, d, drop weight, nw, u, get
statuette, look statuette, get floppy, se, d, nw, ne, drop floppy, w, s,
e, turn dial clockwise, turn dial clockwise, turn dial clockwise, turn
dial counterclockwise, turn dial counterclockwise, turn dial
counterclockwise, w, n, e, get life, get shovel, get key, get bracelet,
get paper, get floppy, d, nw, u, se, d, nw, nw, s, s, s, s, put diamond
in chute, put bracelet in chute, s, get gold, e, e, s, d, look urinal,
put gold in urinal, flush, n, sleep, d, sw, e, u, dig, look, get
platinum, d, w, ne, u, s, put platinum in urinal, flush, n, d, sw, w, d,
e, get towel, look towel, d, s, s, s, look pc, put floppy in pc, reset, ,
dir, type foo.txt => xxx (combination), exit, n, n, n, n, n, u, look box,
put key in box, u, u, ne, ne, get axe, d, n, w, xxx (combination), cut
cable, exit, get key, e, n, get lamp, get license, get silver, w, put
silver in mail, n, n, e, e, e, e, e, get coins, get egg (in rooms 60 to
78), w, w, w, w, w, s, s, put egg in mail, put coins in mail, n, n, n, n,
e, e, e, e, e, look bus, in, s, s, s, w, w, w, w, w, nw, out, n, get
bone, e, e, get nitric, press switch, n, get glycerine, w, look bone, get
jar, get ruby, s, w, s, in, se, out, e, e, e, e, n, n, put nitric in jar,
put glycerine in jar, drop jar, in, n, n, put ruby in disposal, d, get
amethyst, u, put amethyst in disposal, d, ne, sw, u, u, w, w, s, w, s,
se, s, e, s, w, type, rlogin endgame, drop license, drop bone, drop key,
get diamond, get gold, get platinum, get amethyst, n, n, n, n, get bill,
n, get mona, s, drop bill, drop mona, drop diamond, drop gold, drop
platinum, drop amethyst, s, s, s, s, get silver, get egg, get coins, get
ruby, get bracelet, n, n, n, n, n, drop silver, drop egg, drop coins,
drop ruby, drop bracelet, n, quit

So I’ll have to play again, and make a map too… ’cause it’s the geek thing to do.

UPDATE: 20081126 – Finding the egg

As noted in the cheats above, the egg is in a random spot between rooms 60-78 (inclusive). Here are two stategies (besides peeking at the dunnet.el code) for finding the egg:

  1. In the pokey Unix environment (in-game) do directory listings of all the rooms between Main and Fourth St, intersecting between Maple and Sycamore Ave. If the room contains the egg, it’ll be listed as egg.o in the Unix environment. Note where it is, then go and fetch it.
  2. Head along Main St looking for the egg, then up and down First, Second, Third… &c. until you find it.

Another idea to try (theoretical, but interesting, from TimHorse’ comment below):

  • Login to pokey as the wizard, then type echo $dun-room-objects to find out where ALL of the objects are, find the egg (item 18, see $dun-objects) then have a look at $dun-rooms

More ideas to try as the wizard in pokey (from some tips at the Dunnet author‘s hints page):

  • dun-current-room=tloc to go directly to the room containing the egg
  • dun-items='(append 18 dun-items), to add the egg to your inventory directly (a truely moby hack)

I’m actually motivated to play this game on the train tonight…

I still haven’t made a map, maybe one day. It should be fairly simple to use the code as a starting point, but the up/down could be tricky to map.


18 thoughts on “Emacs dunnet solved

  1. after you complete the game it says the wizard password is “moby”, is there any meaning to this?????

    • Go to the computer then type “dun-mode=”toby”. the password is moby. It helps to find the egg if you cannot find it. But other than that, I have no use for it.

  2. Yes, but I think it’s an in-joke.

    The term moby seems to have had a signifacant history in early Hacker PDP 6/11 culture. To me this would seem appropriate given that Dunet was written about the time that the early VAX machines were popular, and much of the Dunet game appears to take place in different levels of reality inside VAX computers (decendents of PDPs).

    But I’m only guessing from above link and playing the game. I’m not an insider, and if it is meant to be a joke, I don’t get it 😦

  3. I got the coins using get coins
    but unable to get eggs
    >get egg
    I do not see that here.
    >get egg (in rooms 60 to 78)
    I do not see that here.

    Please help

    • for me the egg was at a different location. just go back a few steps to a previous intersection. it was there, not the same place where the coins were. dont just blindly enter the walkthrough, try to actually play the game. you wouldve seen that it said “there is an egg here” at one of the previous intersections.

  4. Hmmm, yes I can repeat your error Ankit. Seems I should have tested it before I posted! How embarrasing!

    Well, I googled for “emacs dunnet cheat” and found a Macintosh forum discussing dunnet. In it there’s another cheat mentioned serval times, which moved, but is presently at http://members.lycos.co.uk/szunvukung/texts/dunnet.txt. This one looks fun, and explains how to find the hidden areas at least, which the above walkthrough left me mystified with.

    Disclaimer: I haven’t tested this second walkthrough yet, either! But it seems there’s more than one way to skin this dunnet cat. For reference, according to this second walkthrough, you go north after taking the coins, then go west a bit to find the eggs. I don’t know why the cheat I found is wrong, maybe it’s for an earlier version of dunnet?

  5. im having trouble with the uncompress paper.o.Z ive had this thing figured out once on an older version of this on linux, but this is on a brand new “linspire” POS. the command UMCOMPRESS PAPER.O.Z just doesnt work… solutions?

  6. ankit: the egg is in a different spot every time i think. For me it was in the corner of north end of first and sycamore…which is w w w w from the bus.

  7. The wizard password allow you in the UNIX emulation mode to modify run-time variables for debugging purposes. pokey is the only UNIX terminal you can access; it is located across from the mailroom in the first building you encounter. Once pokey has a CPU, use the ‘type’ command to enter UNIX mode. From here you can use the echo command to examine any of the runtime lisp variables, e.g.:

    $ echo $dun-mode

    You can also set any of these variables using standard UNIX assignment:

    $ dun-mode=”Toby”
    Enter wizard password: moby
    $ echo $dun-mode

    The set function should understand emacs assignment of lists using parenthesis and you COULD theoretically change things like room descriptions, but only if you typed in definitions for all 104 rooms at the same time. You only need to enter the wizard (super-user) password once and it is permanant even for restored games until the dunnet game is completely exited.

    Feel free to play with this and your results may vary.

  8. If you get to the end and it asks you what your anonymous ftp password is, but you left it blank, you can edit your save file with a text editor and insert the password of your choice. The save files use a Caesar cipher with a 13-letter offset. You can find all the questions in the endgame hallway in your save file as ciphered phrases, such as “Jung cnffjbeq qvq lbh hfr qhevat nabalzbhf sgc gb tnzzn?” which is followed by the answer(s). You can go to http://www.secretcodebreaker.com/caesar.html to “encipher” an answer and put it into your file. When you restore the game from that file, you can use the deciphered version in the game.

    If you’re using the website above to cipher phrases, use the letter “N” as your key.

  9. Looks like it works. Granted, you do have to search for the egg, but that’s not too hard. And the questions in the last hallway are not hard if you’ve been doing this in one sitting and have the text to go back and refer to. Nice little game.

  10. @Devvyn Murphy: great tip. You can also decode the save file with emacs: open file in emacs, then M-x rot13-other-window

    I love this. So many layers within layers, and emacs itself becomes part of the game!

    • You have to go into the computer running DOS and find the passkey inside the text file (the command is “type foo.txt”)

Comments are closed.