Re: [CODE/RP] Adding PC sdescs

From: Admin of The Keep (
Date: 09/10/96

On Tue, 10 Sep 1996, Skylar wrote:

> On Sun, 8 Sep 1996, Alex wrote:
> > This is what I've done:
> -snipped-
> I looked over all that code you posted and it looks nearly exactly like
> my own (I'm using short descrips and long descrips too).  I cant see any
> problems or reason for it to be crashing on ya... the only thing I can
> think of is maybe try using str_dup() everywhere you used strdup() the
> former is part of circle (in utils.c).  I've found the normal strdup()
> function to be a little unreliable in circlemud, as well as not being
> available on some OS's...

Oh, and in db.c I think short_description, etc. are all set to NULL for
players.  So make sure you get rid of that, otherwise all of your players
will have NULL descripts and you'll possibly get crashes (BSDI and Linux
don't crash, though).


| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

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