[MUD-Dev] Introduction Systems
Kwon Ekstrom
justice at softhome.net
Mon Mar 12 08:21:28 CET 2001
----- Original Message -----
From: "Ben Chambers" <bjchambers at phoenixdsl.com>
> File storage is done using ASCII. That means you have an 8 bit per
> character. 999 would require 24 bits or 3 bytes. Then you have to
> players P. The storage required is P * ( P * (N + 3)) bytes. Now,
> for 999 characters, with average name length 6, you would have a
> required storage of 999 * 999 * 9 or: 8.98 MB. With the 10 in my
Understandable that you're losing space with this system, but if
you're worried about space, why save in ASCII? There are a variety of
ways to save data direct into binary and preserve the ability to
expand. A large amount of the data saved in a MU* is integer or
floating point data, which for a 32 bit integer can take up 10
characters for 80 bits in ASCII or 320 bits in Unicode.
I personally don't use ID numbers for my players, since it'd be rather
confusing to be holding a meeting about a troublemaker named Krule for
example, if there are 8 players who use the name. It'd be fairly
difficult, unless there was repeated discussion to follow one about
Player 985.
-- Kwon Ekstrom
_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev
More information about the mud-dev-archive
mailing list