Re: Max players on this boot: (%d = boot_max?)

From: Edward Felch (dustlos@hotmail.com)
Date: 07/07/01


Its easy enough, declare a global variable like: int max_boot = 0; maybe in
interp.c and whenever a person logs on and enters the game, for loop through
the descriptor list and count how many players are playing, and increase an
int each time, then compare this int to max_boot, whichever is larger
becomes the new max_boot. Then extern the int max_boot in act.info and tack
it on somewhere.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST