getAllInfos(); // $server2 = new GSQ_UT2003("207.115.47.136"); // $gotAllInfos2 = $server2->getAllInfos(); include("/home/quakeshit/public_html/phpQStat.php"); $totalplayers = 0; $maxplayers = 0; function outputplayers($num,$tot) { global $totalplayers, $maxplayers; $font = ""; $endfont = ""; if ($num == $tot): $font = ""; elseif ($num >= ($tot / 2)): $font = ""; elseif ($num > 0): $font = ""; elseif ($num < $tot): $font = ""; endif; $totalplayers = $totalplayers + $num; $maxplayers = $maxplayers + $tot; if ($tot == 0) { print "DOWN"; } else { print "$font$num / $tot"; } } function othernumplayers ($type, $server, $port) { $server = new phpQStat("$type","$server:$port", true, true); $num_players = $server->server_num_players; $sv_maxclients = $server->server_num_players_max; outputplayers($num_players, $sv_maxclients); } function numplayers ($server, $port) { global $totalplayers, $maxplayers; exec("status/queso $server $port",$fuck); $crack = split("[\]",$fuck[0]); $x = count($crack); $num_players = count($fuck) - 1; for ($i = 0; $i < $x; $i += 2) { $name = $crack[$i]; $val = $crack[$i+1]; if ($name == "sv_maxclients") { $sv_maxclients = $val; } } outputplayers($num_players, $sv_maxclients); } ?> QuakeShit
Quake 3 Arena:
Quakeshit Clan Arena0 / 0
Soldier Of Fortune II:
Infiltration0 / 0
Infiltration #20 / 0
Other Servers:
|UgX| CS:S0 / 0
Departments:
Home
Stats
Message Forums
File Section
Server Rules
Privacy Policy
Advertise