Re: Hcontrol problem - UNDEF players in houses

From: Mark A. Heilpern (heilpern@MINDSPRING.COM)
Date: 04/21/98


At 12:15 AM 4/21/98 +0200, you wrote:
>When doing HCONTROL SHOW I find many <UNDEF> players as guests on houses. I
>think these are self-deleted players. Is there a way to fix this problem ?
>More than that, is THIS the problem ?

Yes, it is.

> I mean, is the fact that players are
>self-deleting that causes UNDEFs ?
>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.

Happy coding...

Mark (Sammy) -- equoria.com 4000


     +------------------------------------------------------------+
     | 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