Den

Note: den.cubik.org was once the official web site, but access to it was lost and this page is newer.

Den is a distributed MUD system written in E by Kevin Reid.

It was last tested on E 0.8.28e.

The source code is available in a Subversion repository at
 * http://switchb.org/svn/den/den/trunk/

What It Is
Den is/will be a peer-to-peer MUD system, theoretically supporting mutual suspicion between parts of its world.

Den's world model is currently room-based, insofar as it cares. I hope to eventually support coordinate systems and graphical UI &mdash; possibly losing the text UI &mdash; but not yet.

Den is definitely not useful or &lsquo;interesting&rsquo; (other than being written in E, perhaps) yet. It is only an experiment in using E. It may or may not eventually become something more widely useful.

How to use it
 


 * First run:


 * Further runs:


 * Non-persistent:

(You may need to increase the JVM's maximum heap or stack size. For Mac OS X, specify   before the other arguments to .)

Three windows will be opened.

The narrow one at the top contains commands for performing a checkpoint and some other systemwide functions.

A checkpoint will be performed when this window is closed (which also stops the program), or via the &ldquo;Save&rdquo; command in its World menu.

The second is the inspector, which lets you view and manipulate the state of objects making up the world. The  object has a name   object mapping for convenience in accessing important objects, and also lists all SturdyRefs currently existing, since they may need to be manually deleted. (This UI is clearly poor and I hope to replace it with something better soon.)

The third (to the right or overlapping the inspector) is the terminal, with which you control a character in text-mud style.

(The default world's &ldquo; &rdquo; exit is a locked door, and to go through it you need to use the command &ldquo; &rdquo;. (I need to write some documentation for the commands&mdash;for now, see .))

Setting up cross-vat travel:
 In the inspector window, select &ldquo;Sturdy Entrance&rdquo; from the &ldquo;Make&rdquo; menu. Choose the room which it will lead to, the name by which it will be known for later editing, and the message shown in that room when something arrives through it. Click Create. Copy the  URI from the resulting window. In the other world/vat/Den-instance, select &ldquo;Exit&rdquo; from the &ldquo;Make&rdquo; menu. Choose the room in which it will be placed, the name in that room, and the message when something uses that exit. Select &ldquo;Far&rdquo; and paste in the  URI from step 2. Click Create. 

Repeat the above procedure to create an exit for the other direction.