Re: Hcontrol problem - UNDEF players in houses

From: Tony Robbins (tonyr@NWPACLINK.COM)
Date: 04/21/98


Ron Cole wrote:
>
> >>If so, it would be easy to add a check: when deleting players, remove them
> >>from being guests in houses (and clans, and all the like of course....)
> >
> >Sure, it wouldn't be hard. You'll also want to cover the "set file player
> >deleted on"
> >case. Or, perhaps, in hcontrol show, in the case of undef, just remove the
> >offending character id.
>
> I just added some code to remove them when the houses boot, but you could do it
> hcontrol show too, if you never want to see a <UNDEF>.  I don't recall, its been
> a while, but I think it was a fairly simple thing to do.  Also, it was an older
> version, and MAX_GUESTS was not enforced.  You should check that too, it will
> overlay the last pay date when they add too many guests.
>
> Ron
>
I'd love to see this code, as all I've managed to do is NOTHING!  I
can't get rid
of those damn UNDEF's.

---

"Guilds" are done, and a patch is available (though I don't know if I've
left any
new modifications on it).  If you've been following it and are
interested, e-mail me
privately and I will make it available to you.

-B.


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



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