<HTML>
<HEAD>
<TITLE> Erwin's home page - MUD Snippets</TITLE>
</HEAD>
<BODY>
<H1><CENTER>A list and description of various MUD snippets by Erwin
Andreasen</H1></CENTER>

None of the files are very large, so you might be better off just getting 
<a href="ftp://pip.dknet.dk/pub/pip1773/easnip9610.tgz"><emp>easnip9610.tgz</emp></A> - the whole thing and reading 
the documentation inside. (Last updated: October 96).
<P>
<strong>
Note that if you use any of those snippets, you are required to mail me - 
at least saying you are using them. I am happy to provide free source
code to the MUD community, but I have to know if anyone uses it at all!
</strong>
<P>
<H2><A HREF="ftp://pip.dknet.dk/pub/pip1773/auction.v2">Automated auction system</A></H2>
This is a classic command, used on many MUDs, but probably most influenced by
the Mystic Adventure one. It changes the auction channel into an automated one,
giving the buyers the ability to see the stats of an item and bid on it. One
item is auctioned at a time.
<em><BR>Version 2, last update: December 95.</em>
<P>

<H2><A HREF="ftp://pip.dknet.dk/pub/pip1773/mercobjl.v1">Object lister <em>(MERC)</em></A></H2>
This utility command writes all the items reset on the MUD
into a comma-delimetered file, perfect for importing into Excel or another
spreadsheet. All the stats on items are written, including level. It is then
easy to sort the list, and find out what level equipment is lacking, which
weapon has the highest damage roll etc. A ROM 2.4b2 version is also available,
get <A HREF="ftp://pip.dknet.dk/pub/pip1773/romobjl.v1">this</A>.
<em><BR>Both are version 1, last update: November 95.</em>
<P>

<H2> <A HREF="ftp://pip.dknet.dk/pub/pip1773/buy.v1">Buying multiple objects</A></H2>
After having played the <a href="http://sneezy.stanford.edu 7900">Sneezy MUD</A>, 
I very much liked the idea of buying all of your bread at once. This modified <em>do_buy</em> 
allows that, so you now can type <em>buy 20 bread</em> and avoid getting spammed!
<em><BR>Version 1, last update: October 95.</em>
<P>

<H2> <A HREF="ftp://pip.dknet.dk/pub/pip1773/scan.v1">The classic <em>scan</em> command</A></H2>
My version of the classic <em>scan</em> command. It is not very advanced, but it works :)
<em><BR>Version 1, last update: August 95.</em>
<P>

<H2> <A HREF="ftp://pip.dknet.dk/pub/pip1773/wizutil.v3">Various Immortal utilities</A></H2>
This package includes: <em>exlist</em> which lists all the areas having exits to or from
the current area, <em>vlist</em>, which shows which areas occupy which series of
VNUMs, <em>for</em> - an extended <em>AT</em> which allows a command to be executed 
on/at every player, and finally <em>rename</em>, which allow safe renaming of players on-line.
<em><BR>Version 3, last update: January 96.</em>
<P>

<H2> <A HREF="ftp://pip.dknet.dk/pub/pip1773/board-2.tgz">Multi-board note system</A></H2>
This is a board system, much resembling the one of Mystic Adventure. It
allows the implementor to create a number of board for messages, like
"General", "Ideas", "Bugs" etc. for easier overview. 
<BR>Each board can have a minimum level for reading as well as writing, 
so you can have Immortal-Only boards. There is also an expire system, where notes 
are automatically moved to another file when old.
<BR>A new editor is included which lets you write your note more directly, prompting
you for each item (much like mail editors do) instead of using NOTE +, NOTE TO etc.
<em><BR>Version 2, last update: May 96.</em>
<P>

<H2> <A HREF="ftp://pip.dknet.dk/pub/pip1773/redit-4.tgz">Room-based reset editting package</A></H2>
This package includes a number of Immortal commands for easier reset
editting. It is not an OLC in itself, so you need one to save the areas
editted. Basically, the concept is to view resets on room basis; You use the
<em>RLOOK</EM> command to see what resets in the current room, then you can
e.g. insert E or G resets by referring to a mob's keyword instead of vnum
(like <emp>RGIVE sword 2.guard</emp> - give the first sword of this area to the 2nd
guard in this room). Recently updated to be compatible with ILAB OLC where
there is a reset list for each room.
<BR><em>Version 4, last update: October 96.</em>
<P>

<H2> <A HREF="ftp://pip.dknet.dk/pub/pip1773/disable.v1">Command disabling utility</A></H2>
This handy immortal command allows you to tempoarily disable certain
commands online. If a new command has just been implemented, but shows
buggy, just <em>DISABLE</em> it! Or if you feel your players <em>CHAT</em> too much,
disable that! :) Status of disabled commands saves over reboots.
<em><BR>Version 1, last update: January 96.</em>
<P>

<H2> <A HREF="ftp://pip.dknet.dk/pub/pip1773/merc.dual.v1">Wielding two weapons
<em>(MERC)</em></A></H2>
A relatively small snippet of code I forgot to move to here from
ftp.game.org. Basically, it's an example of a dual wield command
implementation.
<em><BR>Version 1, last update: January 95.</em>
<P>

<H2> <A HREF="ftp://pip.dknet.dk/pub/pip1773/social-3.tgz">Online social editor</A></H2>
Online social editor - instead of hardcoding the socials, edit them online
and let your immortals and dozens of new ones at players' request!
<em><BR>Version 3, last update: May 95.</em>
<P>

<H2> <A HREF="ftp://pip.dknet.dk/pub/pip1773/copyover.v1">Copyover - hot reboot</A></H2>
Reboot your MUD without players losing link. This command spawns a new copy
of the MUD via exec, thus inheriting descriptors. Players' names are written
to a file and players are reloaded later and hooked up to the right
descriptors, meaning only that there is some temporary lag while the MUD
reloads.
<em><BR>Version 1, last update: June 95.</em>
<P>

<H2> <A HREF="ftp://pip.dknet.dk/pub/pip1773/class-1.tgz">Online skill/spell level editting</A></H2>
This snippet makes it possible to online edit the level a class gains a
skill/spell. This makes adding new classes much easier, if you have many
skills.
<em><BR>Version 1, last update: October 95.</em>
<P>

<H2> <A HREF="ftp://pip.dknet.dk/pub/pip1773/buffer-1.tgz">Dynamic, crashproof buffer</A></H2>
A dynamic, crashproof string buffer which expands as needed. No more crashes
because you added a area, and the static size buffer in do_areas()
overflowed.
<em><BR>Version 1, last update: October 95.</em>
<P>

<H2> <A HREF="ftp://pip.dknet.dk/pub/pip1773/short-1.tgz">Various, small snippets</A></H2>
This package includes: using signals to prevent deadlock, using signals to
save last command that occurred before crash, using stdarg.h to make your
life easier.
<em><BR>Version 1, last update: October 95.</em>
<P>

<H2>Coming <B>Real Soon Now</B>:</H2>
<P>
Since I do have my own <A HREF="http://www.world-net.net/~seraph/ar.html">MUD</A> 
now, my work is centered on working for that MUD, rather than something that could be 
generally useful. Nonetheless, some stuff will be forthcoming. Alas, my MUD does not need a fully
functional Arena right now, so this one will not appear until later.
<P>
If any of these links do not function, please mail me at <strong><AHREF="mailto:erwin@pip.dknet.dk">erwin@pip.dknet.dk</A></strong>
<P>
<A HREF="index.html">Back to main page</A HREF>
<ADDRESS>Erwin's Snippets / Erwin S. Andreasen, <em><ahref="mailto:erwin@pip.dknet.dk">erwin@pip.dknet.dk</A></em></ADDRESS>
</BODY>
</HTML>