"
- pl += ""
- pl += "GROUP & PLAYER LIST |
"
+ pl += "GROUP & PLAYER LIST |
"
try:
+
keys = self.groups.keys()
keys.sort(id_compare)
for k in keys:
- groupstring = ""
- groutstring += "Group " + str(k) + ": " + self.groups[k].name + ""
- groupstring += " | Password: \"" + self.groups[k].pwd + "\" | "
- groupstring += " Boot: \"" + self.groups[k].boot_pwd + "\" |
"
+ groupstring = "Group " + str(k) + ": " + self.groups[k].name + ""
+ groupstring += " | Password: \"" + self.groups[k].pwd + "\" | Boot: \"" + self.groups[k].boot_pwd + "\" |
"
pl += groupstring
ids = self.groups[k].get_player_ids()
ids.sort(id_compare)
@@ -2554,20 +2802,18 @@
pl += ""
pl += " (" + (self.players[id]).id + ") "
pl += (self.players[id]).name
- pl += " | "
- pl += "[IP: " + (self.players[id]).ip + "]"
- pl += " | "
+ pl += " | [IP: " + (self.players[id]).ip + "] | "
pl += (self.players[id]).idle_status()
pl += " | "
pl += (self.players[id]).connected_time_string()
pl += ""
+
else:
self.groups[k].remove_player(id)
pl +=" |
Bad Player Ref (#" + id + ") in group"
pl+=" |
"
- pl += ""
- pl += "Statistics: groups: " + str(len(self.groups)) + " "
- pl += "players: " + str(len(self.players)) + " |
"
- except Exception, e: self.log_msg(str(e))
+ pl += "