On Mon, Feb 04, 2002 at 03:08:45PM -0800, Jamie Harrell wrote:
> Say you create 2 characters under your account....
> dumb & bumm - for the sake of argument...
> 
> say your account name is Jason
> 
> So you'd have 2 pfiles:
> 
> Baggins.Jason
> Jessie.Jason
> 
> Now, if you were to try to login under either of those, I need 
> to make sure Baggins.Jason exists, no biggy there, access() would 
> work fine...
> 
> But say then you tried to login under a name that is not yours, say for 
> instance: Penthral
> 
> So it would look for Penthral.Jason
> 
> No biggie there, if that character isn't created, however, if that 
> happens to be under another name, say the pfile  Penthral.Weirdo 
> already exists, well, I need to make sure that you dont create 
> that character...  Hence the reason I'm checking against Penthral.* 

Why don't you store this information in player-files instead of in
filenames? I have two fields in my playerfiles, Alt and UberAlt.
UberAlt is the name of the account which has access to this character,
Alt is a list of names of characters to which this playerfile has
access.

At connection time the characterfile is loaded and checked for
Alt-tags. If so, these player-files are checked for UberAlt tags
and the ones which match are displayed to him for loading.

During gametime you can create a new alt, just create a character
and say "my uberalt is ..." and then the UberAlt character has
accept the new one as an alt with "my alt is ...". So if halfway
the game you don't like it anymore and want to get rid of the
character or want to give it to somebody else the alt has to say
"my new uberalt is ..." and the new UberAlt has to say "my new alt
is ..." or either the alt or uberalt has to say "I don't accept ...
anymore as alt/uberalt".

(Sounds confusing, doesn't it? :-P)

This way you can still use all the normal routines for charactername
checks (finger, loading, notes) without knowing the alts, you can
login via the UberAlt and then choose an alt to play with or directly
via the alt-character. And your alts can control other alts without
giving you the access to it :-)

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED] |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

Reply via email to