Re: Obj Mail Patch

From: Sammy (Samedi@cris.com)
Date: 12/29/96


On Sat, 28 Dec 1996, Nicholas S. Wourms wrote:

- Ok, has anyone fix the bug in obj mail, where if you send a bag, it looses
- all the contents?  Also, there is a bug where if the mailer aborts the
- mail, he looses the eq.  Any ideas?  Thanks in advance!

THat's no bug, that's a feature :)

Without looking at the code, I'd say it's only written to mail a single
object.  If that's the case, then it's working just fine if the bag is
mailed correctly.  I suppose you'd have to either do a major rewrite to
get multiple objects to mail, or mail one object at a time.  You should be
able to fix the zbort bug easily.  Just add a little safety netting to the
patch.

Once I got my ascii rent file code working, I made it nice and generic so
that now I can easily use it to save object lists for other features.
Saving rooms (which will allow corpses and donation rooms to save) and
mailing multiple objects is pretty easy now.  I'm sure you could do the
same thing with modified house code.

I'll post some of my object saving/loading functions when I get everything
working, though it's not even close to working with stock circle and I
doubt I'll ever have time to port it.  It may be useful as a guide, or
could be modified to suit your needs if you're very comfortable with the
code.

Sam

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST