[DGD] Persistent Users
Gary
gary at mups.co.uk
Wed Sep 21 17:59:09 CEST 2016
Hey all,
Assuming a mudlib has separate connection, user and player body
object(s) (Phantasmal for example has a separate player body)
For persistent muds, the player body never needs to be saved out when
the user disconnects. It just remains where it was left (or moved to a
meat locker etc).
What I was pondering earlier today is whether there's any reason to not
also make the user object[^1] itself persistent.
This would avoid the need to save out the password (and any other user
account data that is added). Cloning of the user object would then only
occur when no user object exists in the userd for that name. Destroying
would only occur for actual account deletion.
Over time you could end up with a number of inactive user object hanging
around in the swap unused. However, that would appear to be the same
problem you face with unused player bodies and could likely be dealt
with via the same mud policies.
Other than the increase in inactive objects am I overlooking a major
flaw with this idea?
Cheers,
Gary
[1]: The hard-coded kernel "admin" user would continue to use a .pwd file.
More information about the DGD
mailing list