[wpdev-commits] xmlscripts/web status_template.html,1.3,1.4
Brought to you by:
rip,
thiagocorrea
From: Incanus <inc...@us...> - 2004-10-14 22:51:52
|
Update of /cvsroot/wpdev/xmlscripts/web In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31659/web Modified Files: status_template.html Log Message: Invis GMs are not shown on server status anymore Index: status_template.html =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/web/status_template.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** status_template.html 28 Aug 2004 16:42:49 -0000 1.3 --- status_template.html 14 Oct 2004 22:51:42 -0000 1.4 *************** *** 82,86 **** <td width="520"><strong>Connected Accounts:</strong> <%=wolfpack.sockets.count()%> of <%=wolfpack.accounts.count()%><br /> <br /> ! <strong>Player Characters:</strong> <%=wolfpack.playercount()%> <br /> <strong>NPCs:</strong> <%=wolfpack.npccount()%> <br /> <strong>Items:</strong> <%=wolfpack.itemcount()%> <br /> --- 82,96 ---- <td width="520"><strong>Connected Accounts:</strong> <%=wolfpack.sockets.count()%> of <%=wolfpack.accounts.count()%><br /> <br /> ! <% ! socket = wolfpack.sockets.first() ! nextsocket = wolfpack.sockets.next() ! count_players = 0 ! while socket: ! if( socket.player and not socket.player.invisible ): ! count_players+=1 ! socket = nextsocket ! nextsocket = wolfpack.sockets.next() ! %> ! <strong>Player Characters:</strong> <%=count_players%> <br /> <strong>NPCs:</strong> <%=wolfpack.npccount()%> <br /> <strong>Items:</strong> <%=wolfpack.itemcount()%> <br /> *************** *** 92,96 **** nextsocket = wolfpack.sockets.next() while socket: ! if socket.player: %> <tr> --- 102,106 ---- nextsocket = wolfpack.sockets.next() while socket: ! if( socket.player and not socket.player.invisible ): %> <tr> *************** *** 131,135 **** %></tr> <% ! if nextsocket and nextsocket.player: %> <tr><td colspan="2" bgcolor="#DDDDDD"><img src="spacer.gif" width="1" height="1"></td></tr> --- 141,145 ---- %></tr> <% ! if( nextsocket and nextsocket.player and not nextsocket.player.invisible ): %> <tr><td colspan="2" bgcolor="#DDDDDD"><img src="spacer.gif" width="1" height="1"></td></tr> |