[DGD]Yet another newbie question o_0

John West McKenna john at ucc.gu.uwa.edu.au
Wed Mar 22 06:51:45 CET 2000


>I'm taking a stab at it. The kfun 'ansi' which contains the files dgd.ansi, 
>dgd.ansi.host.pat, dgd.ansi.comm.pat get copied into the driver/kfun 
>directory, then I recompile?

No - these are the patch files that tell the "patch" program what changes
to make to the source. dgd.ansi.host.pat describes the changes to be made
to the "host.c" file, dgd.ansi.comm.pat for comm.c

If you don't have "patch", do not fear.  These particular changes are
simple enough to apply by hand.  For example, dgd.ansi.comm.pat says what
lines 289 to 299 look like in the original, and what they should look like
in the patched version.  In this case, the only change is to the line that
starts
} else if ((*p & 0x7f...
Edit this by hand, make similar changes in host.c (simply adding a line),
and you're done.

>While i'm at it, to get the whole thing going I type ./driver somewhere, bin 
>or src?

There will be an executable called "driver" somewhere when you're done (I
can't remember where it is, but it isn't hard to find, and you can move it
somewhere else if you like).  You need to tell it where the mud.dgd file is.  
With my little MUD, I have the two files in the same directory, and I just
say
./driver mud.dgd

>Oh and something else I thought about, is there somewhere in the config 
>files where I put in the ip address for the machine its hosted on? IE i 
>wanted to run a mud off of plasamic.plasmic.com, would I need to add that 
>line somewhere? The place you change the port is in mud.dgd.. i think.

mud.dgd contains everything that needs to be changed.  There's more than
just the port - you need to tell it the directory the MUD is in, the
location of the swap file, and (this is a tricky one!) the name of the
create() function.  From memory, the default is *not* create().  Go through
this file line by line.

>By god i think i'm learning.

Good luck with it all.  I hope you weren't wanting to have time to do
anything else...

John West

List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list