From: Andy D. <kha...@us...> - 2004-12-24 15:45:15
|
Update of /cvsroot/planeshift/planeshift/src/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24610/src/server Modified Files: usermanager.cpp Log Message: Added player count to /who command. Added a basic, unfair flushing mechanism to CSV log files. Index: usermanager.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/usermanager.cpp,v retrieving revision 1.167 retrieving revision 1.168 diff -C2 -d -r1.167 -r1.168 *** usermanager.cpp 15 Dec 2004 12:02:51 -0000 1.167 --- usermanager.cpp 24 Dec 2004 15:45:06 -0000 1.168 *************** *** 593,596 **** --- 593,597 ---- Client *curr; + unsigned count = 0; // guild rank, guild and title should come from acraig's player prop class. *************** *** 632,636 **** --- 633,639 ---- guildTitle.GetData(), guildName.GetData()); + count++; } + psserver->SendSystemInfo(clientnum, "%u players shown", count); } |