Re: Questions about FORK.

"Mark Roberts" <[email protected]> Tue, 15 Aug 2006 20:12:04 +0000
Newsgroups gmane.games.devel.mud.rom
Message-ID <[email protected]>
Honestly, the 2nd option is probably the cleanest and most efficient way =
to validate accounts my email address.

I would store all account information by email address either in a single=
 account file or in a subdirectory containing all pfiles for that player.

Example:
You have 5 players, bob, sue, john, ellen, and michael (all @example.com)=
.  You might have such a directory structure as this:

~/accts/[email protected]/bob.pfile

~/accts/[email protected]/sue.pfile
~/accts/[email protected]/irtehleetkillar.pfile

~/accts/[email protected]/john.pfile

~/accts/[email protected]/ellen.pfile

~/accts/[email protected]/michael.pfile
~/accts/[email protected]/korteliandree4431.pfile
~/accts/[email protected]/somesillynamethaticannotpronouncegivenadictio=
naryandacompass.pfile

Now, someone goes to log into your system.  They log in with the name tye=
@example.com (or try to log in anyway)

We'll notice there is no accts/[email protected] directory.  So we immediat=
ely know that we have to create a new account.

Now, [email protected] decides to come play, and you immediately notice=
 that there is a [email protected] directory.
So you get a list of all the .pfile's in the directory and present them a=
s character choices to play as.

Mark
--=20
ROM mailing list
[email protected]
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom