mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
#280: GameQ, statuscheck.php, UT1/99, UT2004
This commit is contained in:
parent
625a510ada
commit
8fb5927408
@ -186,7 +186,13 @@ if (!isset($ip) or $ui->escaped('SERVER_ADDR', 'server') == $ip or in_array($ip,
|
||||
// without the gameq value we cannot query. So this results need to be sorted out.
|
||||
if (!in_array($row['gameq'], array('', null, false))) {
|
||||
|
||||
$serverBatchArray[] = array('id' => $row['id'], 'type' => $row['gameq'], 'host' => $row['serverip'] . ':' . $row['port']);
|
||||
if ($row['gameq'] == 'ut' or $row['gameq'] =='ut2004' or $row['gameq'] =='ut3') {
|
||||
$checkAtIPPort = $row['serverip'] . ':' . $row['port2'];
|
||||
} else {
|
||||
$checkAtIPPort = $row['serverip'] . ':' . $row['port'];
|
||||
}
|
||||
|
||||
$serverBatchArray[] = array('id' => $row['id'], 'type' => $row['gameq'], 'host' => $checkAtIPPort);
|
||||
$i++;
|
||||
|
||||
if ($i == 50) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user