[Home] [Groups] - Message: [Prev in Group] [Next in Group]
16597: Re: [MUD-Dev] Introduction Systems
[Full Header] [Plain Text]
From: "Kwon Ekstrom" <justice@softhome.net>
Newsgroups: nu.kanga.list.mud-dev
Date: Mon, 12 Mar 2001 08:21:28 -0700
References: [1] [2] [3] <-newest
Organization: Kanga.Nu
----- Original Message -----
From: "Ben Chambers" <bjchambers@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@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev