Re: [code] Playerfile conversion

From: Niese-Petersen (
Date: 10/07/96

On Mon, 7 Oct 1996, Admin of The Keep wrote:

> On Sat, 5 Oct 1996, Niese-Petersen wrote:
> > [snip]
> > 
> > the space I save.. And extra information like that, will just add up.
> > Thats why I take the chance and load/save in the same order :)
>   You could save more space if you have fields that are set to the
>   default and just completely eliminate them from the file.   That
>   way, while you are gaining a bit of space for the "field"  being
>   there, you are also eliminating "0 0 (null) (null) 0 0 0"   from
>   the file.

Not many default values.. Besides name, but read below.

>   I personally don't see why, though, you'd need to  do
>   a save of their name in the pfile considering the name is  known
>   by the time we are reading the pfile (eg., "spawn.plr" obviously
>   belongs to the person named, "Spawn," no ned to have that in the
>   actual pfile).

Well.. depends how you look at it :)
A player could have a name with more than one capital letter. Like: BRiT
Then the question is: Do you want filenames like BRiT.pfile or
brit.pfile ? :)

Erik Niese-Petersen
Aka Quint The typo God
Realms of Darkness IMP

| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

This archive was generated by hypermail 2b30 : 12/18/00 PST