[Home] [Groups] - Message: [Prev in Group] [Next in Group]
9768: Re: [MUD-Dev] Naming and Directories?
[Full Header] [Plain Text]
From: Mik Clarke <mikclrk@ibm.net>
Newsgroups: nu.kanga.list.mud-dev
Date: Sat, 13 Mar 1999 23:48:29 +0000
References: [1]
Organization: Kanga.Nu
Chris Gray wrote:
> [Mark Gritter:]
>
> >In MUDs I'm familiar with, directories seem to be done in a very ad-hoc
> >fashion. Objects may have no name associated with them at all, or a
> >name can be discovered only by exhaustive search.
> >
> >Dikus are a partiularly bad example here. Doing a "tell" may involve
> >scanning the entire list of online players. Objects (I mean driver-level
> >objects including mobs and items) are named only by their location in memory;
> >object prototypes have essentially meaningless integer IDs.
Not a reply to Chris, but to the original, which seems to have escaped me.
Given a task of sending a message to a specific player, when that player could be
located anywhere within the mud, how do you propose to do it faster than by running
the list of all connected players? Sure, a binary index by name might help, but I
suspect you'd have trouble seeing the saving...
Mik
_______________________________________________
MUD-Dev maillist - MUD-Dev@kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev