require('cfg/nyxcod_config.php'); if(isset($_GET['ip'])) { $serverIP = $_GET['ip']; } if(isset($_GET['port'])) { $serverPort = $_GET['port']; } function cod ($ip, $port) { global $send; global $resp; unset ($output); $connect = fsockopen ("udp://${ip}", $port); socket_set_timeout ($connect, 1, 000000); fwrite ($connect, $send); $output = fread ($connect, 1); if (!empty($output)) { do { $status_pre = socket_get_status ($connect); $output = $output . fread ($connect, 1); $status_post = socket_get_status ($connect); } while ($status_pre[unread_bytes] != $status_post[unread_bytes]); } fclose ($connect); $output = trim (str_replace ("\0", chr(253), $output)); if (!empty($resp)) { $output = ereg_replace ($resp, "", $output); } $output = str_replace (chr(253), "\0", $output); return ($output); } $gameData = array(); $send = "˙˙˙˙getstatus"; $resp = "˙˙˙˙statusResponse\n\\\\|\^[0-9]"; $result = cod ($serverIP, $serverPort) or $stat = "down"; if (strpos ($result, "\n")) { //jeden a vice hracu $eoGameData = strpos ($result, "\n"); $boUsersData = strpos ($result, "\n") + 1; $usersData = substr($result, $boUsersData, strlen($result)); $result = substr($result, 0, $eoGameData); $result = explode("\\", $result); for($loop = 0; $loop < count($result); $loop += 2){ $key = $result[$loop]; $gameData[$key] = $result[$loop + 1]; } $usersData = explode("\n", $usersData); $userCount = count($usersData); } else {//nula hracu $result = explode("\\", $result); for($loop = 0; $loop < count($result); $loop += 2){ $key = $result[$loop]; $gameData[$key] = $result[$loop + 1]; } $userCount = '0'; } ?>
Server name: | |
Server Address: | |
Server Version: | |
Players: | / |
Admin Name: | |
Server Location: | |
Password protected: | no |
Protocol: | |
Mod used: | no |
Max rate: | 0 kB/s |
Min ping: | ms |
Max ping: | ms |
Private clients: | |
Flood protection: | no |
Allow anonymous: | no |
Pure server: | no |
Killcam enabled: | no |
Friendly Fire: | shared |
PunkBuster enabled: | no |
Current map: | |
Gametype: |
We want the nyxCoD server to be an enjoyable place to play, therefore, we have enforced, and monitor for, the following rules on the server. Players can be banned at the discretion of the server admins for violating one or more of the following rules.
nyxCod server actively monitor for all the above. Players deemed cheating by the server monitor will be automatically kicked and banned without hesitation.
Keep the language clean - we have players of all ages on our server. Players using offensive language will be kicked without hesitation.
Players joining the server with an offensive player name will be automatically kicked without warning.
Players using racist names or language will be kicked AND banned. Racism is not tolerated.
Don't spam the console advertising your clan, your website, etc. If you want to advertise, do it on your own server and/or website.
We play for fun. Those players being offensive to other players about their abilities - whether good or not so good, will be kicked. People join our servers to play a game and have fun.
Keep the sides as even as possible at all times, team balance is running to overcome this issue it need be.
Enjoy your stay on our servers. We run CHEATS OFF and FUN ON.