[DGD] kernel question
Felix A. Croes
felix at dworkin.nl
Thu Dec 6 17:25:25 CET 2007
"chris ." <psych_mayo at hotmail.com> wrote:
> Building atop the kernel library, i have telnetd->select() return my login object.
> The login object uses redirect() to switch the user object to the player object, after
> logging in.
> I noticed today, that when i disconnect locally, reconnect, and as my first input (before
> telnetd->select() ) I enter the login name for the account i had disconnected from, that
> I jump right into the player object, without passing through the login object as instructed
> in telnetd. I feel as though I may be jumping into the undestructed player object leftover
> from before, through a feature in the kernel library which i am not familiar with or else
> a bug in my /System-level code.
> thanks
This will only happen when you use ::login() and ::logout() in your
user object, to register it with the kernel library. It isn't
necessary that you do so; in fact, keeping track of users is
another task that your mudlib should be handling by itself.
Regards,
Dworkin
More information about the DGD
mailing list