On Mon, Feb 11, 2002 at 05:22:39AM -0800, Jason Snuggs wrote:
> How exactly does player_list differ from descriptor list, other
> than being in the char_data format rather than descriptor?  Not
> that it's a huge deal, but I'm having problems seeing much value
> in having a seperate list of things that can so easily be extrapolated
> from the descriptor list.  Just wondering how y'all use this, for
> my own information.

It's just that neither char_list and descriptor_list are the right
list if you need a list of all players in the game.

Descriptor-list is a list of all descriptors, so it includes your
non-mud descriptors (your http-connections, your pop3-connections,
your logged-mobs etc). The char_list does include way too much
non-players.

So, if you need a list of all players in the game, for example in
the who-list or in a social-communicatin command (gossip, quote,
music etc), then go through the player-list instead of the
descriptor/char-list and filter out the ones you don't need.

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED] |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

Reply via email to