Willkommen bei der Schrei Community

Ark - Survival Evolved (Aberration):  193.111.199.141:27015    Ark - Survival Evolved (Ragnarok):  193.111.199.141:27016    Reign of Kings: 193.111.199.141:7350    Rust PVP Server: 193.111.199.141:28015    Rust Beast Server: 193.111.199.141:28025    Teamspeak 3: 193.111.199.141
Sidebar umschalten
News Feed
Neueste Updates
  • Beitrag wartet auf Freischaltung
    Gonzo hat den Artikel Rust Neu aktualisiert.

    Rust Neu

    Geschrieben in Slider am 18th Mai, 2018

    Unsere Rust Server


    Schrei.Community PVP Direkt Verbinden

    Der Main-Server

    Moderat gemoddeter Server mit sehr vielen Plugins.

    • 4000er Map
    • 3x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Noob Protection (4h Spielerschutz, 24h Gebäudeschutz)
    • Solo Player Bonus (doppeltes Farming etc)
    • Happy Hour
    • Lusty Map
    • Shop
    • Events (stündlich Deathmatch und Team Deathmatch)
    • viele weitere Plugins

     


    Schrei.Community PVE Direkt Verbinden

    PVE Server

    Hier liegt der Schwerpunkt auf farmen und bauen. Die Gruppengröße ist auf 6 beschränkt.

    • 4000er Map
    • 5x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Happy Hour
    • Lusty Map
    • Shop
    • viele weitere Plugins

     


    The Beast Direkt Verbinden

    Der Battlefield Server für den schnellen Spass.

    Optimiert auf hohe Framerate. Keine unnötigen Plugins aber viel Loot. Die Action kann direkt starten.

    • 666x Gather Rate
    • 666x Quick Smelt
    • Instant Crafting
    • 2500er Barren Map für maximale Performance
    • Lusty Map
    • viele weitere Plugins

     


    Rust server Status


     

     

    query_counter['socket']) ? $this->query_counter['socket']++ : ($this->query_counter['socket'] = 1); if($network_protocol == 'tcp') { $context = stream_context_create(); if($socket = stream_socket_client("tcp://{$ip}:{$port}", $errno, $error, (1 / 10), STREAM_CLIENT_CONNECT, $context)) { $this->socket = $socket; return true; } else { die('Failed to open socket'); } } else { if($socket = fsockopen('udp://' . $ip, $port, $errno, $error, 3)) { socket_set_blocking($socket, false); $this->socket = $socket; return true; } else { die('Failed to open socket'); } } } /** * Close a socket * * @param resource $socket * the socket to close * @access public */ public function close() { if(is_resource($this->socket)) { fclose($this->socket); } } /** * Send data to a socket * * @param resource $socket * socket to send to * @param string $data * data to send * @access public */ public function write($data) { if(is_resource($this->socket)) { return fwrite($this->socket, $data, strlen($data)); } } /** * Read data from a socket * * @param resource $socket * socket to read from * @param int $timeout * timeout im ms * @param string $size * size of the data to read in byte * @return string Data recived from socket * @access public */ public function read($timeout = 500, $size = 8192) { if(is_resource($this->socket)) { $loops = 0; $starttime = microtime(true); $read = array($this->socket); $null = null; /*$a = stream_get_meta_data($this->socket); print_r($a); $result = stream_socket_recvfrom($this->socket, 1024); //die($result); */ while(($t = $timeout * 1000 - (microtime(true) - $starttime) * 10000) > 0) { $s = stream_select($read, $null, $null, 0, $t); if(($s === false || $s <= 0) || ++$loops > 200) { break; } if($size > 8192) { $buffer = ''; while(! feof($this->socket)) { $buffer .= fgets($this->socket); } $result = trim($buffer); } else { $result = stream_socket_recvfrom($this->socket, $size); } return $result; } } } } class server_query { var $ip = ''; var $port = 0; var $network_protocol = 'udp'; private $rcon_passwd = ''; private $request_id = 0; private $pointer = 0; private $response = null; private $player = false; function __construct($ip, $port) { $this->socket = new socket; $this->ip = gethostbyname($ip); $this->port = (int) $port; $this->connect($ip, $port, $this->network_protocol); } function __destruct() { $this->close(); } public function send($data) { return $this->socket->write($data); } public function connect($ip, $port) { return $this->socket->connect($ip, $port, $this->network_protocol); } public function close() { return $this->socket->close(); } public function read() { $this->response = ''; $this->pointer = 0; $this->response = $this->socket->read(); return $this->response; } private function _read_result($length = 1) { if(strlen($this->response) < $this->pointer) { return chr(0); } $string = substr($this->response, $this->pointer, $length); $this->pointer += $length; return $string; } private function _get_byte() { return ord($this->_read_result(1)); } private function _get_char() { return $this->_read_result(1); } private function _get_int16() { if(strlen($this->response) < 2) { return; } $unpacked = unpack('sint', $this->_read_result(2)); return $unpacked['int']; } private function _get_int32() { if(strlen($this->response) < 4) { return; } $unpacked = unpack('iint', $this->_read_result(4)); return $unpacked['int']; } private function _get_float32() { $unpacked = unpack('fint', $this->_read_result(4)); return $unpacked['int']; } private function _get_string() { if(strlen($this->response) == 0) { return; } $str = ''; $i = 0; while(($char = $this->_read_result(1)) != chr(0)) { $i++; $str .= $char; } return $str; } private function _get_long() { $data = UnPack('l', $this->_read_result(4)); return $data[1]; } private function _get_string_part($len) { return $this->_read_result($len); } private function _remove_header() { if(strlen($this->response) == 0) { return; } $str = ''; while(($char = $this->_read_result(1)) != chr(0)) { if(ord($char) != 0) { return $char; } } } // RCON Funktionen public function clean_value($string) { $string = preg_replace('/\x1b.../', '', $string); $string = preg_replace('#(\^.[0-9]{3})#', '', $string); $string = preg_replace('#(\^.)#', '', $string); $string = str_replace(array(chr(0), chr(1)), '', $string); return trim(mb_convert_encoding($string, 'utf-8')); } /** * SOURCE status query * http://developer.valvesoftware.com/wiki/Server_queries * * @return array with gameserver data */ public function source() { $this->send("\xFF\xFF\xFF\xFFTSource Engine Query\x00\x00"); if($this->read()) { $this->_remove_header(); $this->_get_int32(); $return = array( 'network_version' => $this->_get_byte(), 'hostname' => $this->clean_value($this->_get_string()), 'mapname' => $this->_get_string(), 'directory' => $this->_get_string(), 'discription' => $this->_get_string(), 'steam_id' => $this->_get_int16(), 'numplayers' => $this->_get_byte(), 'maxplayers' => $this->_get_byte(), 'bots' => $this->_get_byte(), 'dedicated' => $this->_get_char(), 'os' => $this->_get_char(), 'password' => $this->_get_byte(), 'secure' => $this->_get_byte(), 'version' => $this->_get_string(), 'protokoll' => 'Source Engine' ); return $return; } } /** * SOURCE player query * http://developer.valvesoftware.com/wiki/Server_queries * * @return array with player data */ public function source_player() { $this->send("\xFF\xFF\xFF\xFF\x55\xFF\xFF\xFF\xFF"); $r = $this->read(); $this->_get_int32(); $this->_get_byte(); $challenge = $this->_read_result(4); $send = "\xFF\xFF\xFF\xFF\x55" . $challenge; $this->send($send); if($this->read()) { $this->_get_int32(); $this->_get_byte(); $players = $this->_get_byte(); $player = array(); for($i=1; $i <= $players; $i++) { $this->_get_byte(); $player[] = array( 'index' => $i, 'name' => $this->_get_string(), 'score' => $this->_get_int32(), 'time' => date('H:i:s', round($this->_get_float32(), 0)+82800), ); } $player['count'] = sizeof($player); return $player; } } } function print_array($title,$array) { if(is_array($array)) { echo $title."
    ". "||---------------------------------||
    ". "
    ";
                print_r($array); 
                echo "
    ". "END ".$title."
    ". "||---------------------------------||
    "; } else { echo $title." is not an array."; } } //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28015;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28045;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28025;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28035;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); ?>

    Beitrag wurde veröffentlicht, er ist jetzt im Stream sichtbar.
  • Beitrag wartet auf Freischaltung
    Gonzo hat den Artikel Rust Neu aktualisiert.

    Rust Neu

    Geschrieben in Slider am 18th Mai, 2018

    Unsere Rust Server


    Schrei.Community PVP Direkt Verbinden

    Der Main-Server

    Moderat gemoddeter Server mit sehr vielen Plugins.

    • 4000er Map
    • 3x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Noob Protection (4h Spielerschutz, 24h Gebäudeschutz)
    • Solo Player Bonus (doppeltes Farming etc)
    • Happy Hour
    • Lusty Map
    • Shop
    • Events (stündlich Deathmatch und Team Deathmatch)
    • viele weitere Plugins

     


    Schrei.Community PVE Direkt Verbinden

    PVE Server

    Hier liegt der Schwerpunkt auf farmen und bauen. Die Gruppengröße ist auf 6 beschränkt.

    • 4000er Map
    • 5x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Happy Hour
    • Lusty Map
    • Shop
    • viele weitere Plugins

     


    The Beast Direkt Verbinden

    Der Battlefield Server für den schnellen Spass.

    Optimiert auf hohe Framerate. Keine unnötigen Plugins aber viel Loot. Die Action kann direkt starten.

    • 666x Gather Rate
    • 666x Quick Smelt
    • Instant Crafting
    • 2500er Barren Map für maximale Performance
    • Lusty Map
    • viele weitere Plugins

     


    Rust server Status


     

     

    query_counter['socket']) ? $this->query_counter['socket']++ : ($this->query_counter['socket'] = 1); if($network_protocol == 'tcp') { $context = stream_context_create(); if($socket = stream_socket_client("tcp://{$ip}:{$port}", $errno, $error, (1 / 10), STREAM_CLIENT_CONNECT, $context)) { $this->socket = $socket; return true; } else { die('Failed to open socket'); } } else { if($socket = fsockopen('udp://' . $ip, $port, $errno, $error, 3)) { socket_set_blocking($socket, false); $this->socket = $socket; return true; } else { die('Failed to open socket'); } } } /** * Close a socket * * @param resource $socket * the socket to close * @access public */ public function close() { if(is_resource($this->socket)) { fclose($this->socket); } } /** * Send data to a socket * * @param resource $socket * socket to send to * @param string $data * data to send * @access public */ public function write($data) { if(is_resource($this->socket)) { return fwrite($this->socket, $data, strlen($data)); } } /** * Read data from a socket * * @param resource $socket * socket to read from * @param int $timeout * timeout im ms * @param string $size * size of the data to read in byte * @return string Data recived from socket * @access public */ public function read($timeout = 500, $size = 8192) { if(is_resource($this->socket)) { $loops = 0; $starttime = microtime(true); $read = array($this->socket); $null = null; /*$a = stream_get_meta_data($this->socket); print_r($a); $result = stream_socket_recvfrom($this->socket, 1024); //die($result); */ while(($t = $timeout * 1000 - (microtime(true) - $starttime) * 10000) > 0) { $s = stream_select($read, $null, $null, 0, $t); if(($s === false || $s <= 0) || ++$loops > 200) { break; } if($size > 8192) { $buffer = ''; while(! feof($this->socket)) { $buffer .= fgets($this->socket); } $result = trim($buffer); } else { $result = stream_socket_recvfrom($this->socket, $size); } return $result; } } } } class server_query { var $ip = ''; var $port = 0; var $network_protocol = 'udp'; private $rcon_passwd = ''; private $request_id = 0; private $pointer = 0; private $response = null; private $player = false; function __construct($ip, $port) { $this->socket = new socket; $this->ip = gethostbyname($ip); $this->port = (int) $port; $this->connect($ip, $port, $this->network_protocol); } function __destruct() { $this->close(); } public function send($data) { return $this->socket->write($data); } public function connect($ip, $port) { return $this->socket->connect($ip, $port, $this->network_protocol); } public function close() { return $this->socket->close(); } public function read() { $this->response = ''; $this->pointer = 0; $this->response = $this->socket->read(); return $this->response; } private function _read_result($length = 1) { if(strlen($this->response) < $this->pointer) { return chr(0); } $string = substr($this->response, $this->pointer, $length); $this->pointer += $length; return $string; } private function _get_byte() { return ord($this->_read_result(1)); } private function _get_char() { return $this->_read_result(1); } private function _get_int16() { if(strlen($this->response) < 2) { return; } $unpacked = unpack('sint', $this->_read_result(2)); return $unpacked['int']; } private function _get_int32() { if(strlen($this->response) < 4) { return; } $unpacked = unpack('iint', $this->_read_result(4)); return $unpacked['int']; } private function _get_float32() { $unpacked = unpack('fint', $this->_read_result(4)); return $unpacked['int']; } private function _get_string() { if(strlen($this->response) == 0) { return; } $str = ''; $i = 0; while(($char = $this->_read_result(1)) != chr(0)) { $i++; $str .= $char; } return $str; } private function _get_long() { $data = UnPack('l', $this->_read_result(4)); return $data[1]; } private function _get_string_part($len) { return $this->_read_result($len); } private function _remove_header() { if(strlen($this->response) == 0) { return; } $str = ''; while(($char = $this->_read_result(1)) != chr(0)) { if(ord($char) != 0) { return $char; } } } // RCON Funktionen public function clean_value($string) { $string = preg_replace('/\x1b.../', '', $string); $string = preg_replace('#(\^.[0-9]{3})#', '', $string); $string = preg_replace('#(\^.)#', '', $string); $string = str_replace(array(chr(0), chr(1)), '', $string); return trim(mb_convert_encoding($string, 'utf-8')); } /** * SOURCE status query * http://developer.valvesoftware.com/wiki/Server_queries * * @return array with gameserver data */ public function source() { $this->send("\xFF\xFF\xFF\xFFTSource Engine Query\x00\x00"); if($this->read()) { $this->_remove_header(); $this->_get_int32(); $return = array( 'network_version' => $this->_get_byte(), 'hostname' => $this->clean_value($this->_get_string()), 'mapname' => $this->_get_string(), 'directory' => $this->_get_string(), 'discription' => $this->_get_string(), 'steam_id' => $this->_get_int16(), 'numplayers' => $this->_get_byte(), 'maxplayers' => $this->_get_byte(), 'bots' => $this->_get_byte(), 'dedicated' => $this->_get_char(), 'os' => $this->_get_char(), 'password' => $this->_get_byte(), 'secure' => $this->_get_byte(), 'version' => $this->_get_string(), 'protokoll' => 'Source Engine' ); return $return; } } /** * SOURCE player query * http://developer.valvesoftware.com/wiki/Server_queries * * @return array with player data */ public function source_player() { $this->send("\xFF\xFF\xFF\xFF\x55\xFF\xFF\xFF\xFF"); $r = $this->read(); $this->_get_int32(); $this->_get_byte(); $challenge = $this->_read_result(4); $send = "\xFF\xFF\xFF\xFF\x55" . $challenge; $this->send($send); if($this->read()) { $this->_get_int32(); $this->_get_byte(); $players = $this->_get_byte(); $player = array(); for($i=1; $i <= $players; $i++) { $this->_get_byte(); $player[] = array( 'index' => $i, 'name' => $this->_get_string(), 'score' => $this->_get_int32(), 'time' => date('H:i:s', round($this->_get_float32(), 0)+82800), ); } $player['count'] = sizeof($player); return $player; } } } function print_array($title,$array) { if(is_array($array)) { echo $title."
    ". "||---------------------------------||
    ". "
    ";
                print_r($array); 
                echo "
    ". "END ".$title."
    ". "||---------------------------------||
    "; } else { echo $title." is not an array."; } } //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28015;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28045;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28025;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28035;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); ?>

    Beitrag wurde veröffentlicht, er ist jetzt im Stream sichtbar.
  • Beitrag wartet auf Freischaltung
    Paddy hat sich gerade auf der Seite registriert
    Beitrag wurde veröffentlicht, er ist jetzt im Stream sichtbar.
  • Beitrag wartet auf Freischaltung
    Paddy hat das Abzeichen Newbie freigeschaltet
    Newbie
    Congrats on registering on the site!
    Beitrag wurde veröffentlicht, er ist jetzt im Stream sichtbar.
  • Beitrag wartet auf Freischaltung
    Gonzo hat den Artikel Rust Neu aktualisiert.

    Rust Neu

    Geschrieben in Slider am 18th Mai, 2018

    Unsere Rust Server


    Schrei.Community PVP Direkt Verbinden

    Der Main-Server

    Moderat gemoddeter Server mit sehr vielen Plugins.

    • 4000er Map
    • 3x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Noob Protection (4h Spielerschutz, 24h Gebäudeschutz)
    • Solo Player Bonus (doppeltes Farming etc)
    • Happy Hour
    • Lusty Map
    • Shop
    • Events (stündlich Deathmatch und Team Deathmatch)
    • viele weitere Plugins

     


    Schrei.Community PVE Direkt Verbinden

    PVE Server

    Hier liegt der Schwerpunkt auf farmen und bauen. Die Gruppengröße ist auf 6 beschränkt.

    • 4000er Map
    • 5x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Happy Hour
    • Lusty Map
    • Shop
    • viele weitere Plugins

     


    The Beast Direkt Verbinden

    Der Battlefield Server für den schnellen Spass.

    Optimiert auf hohe Framerate. Keine unnötigen Plugins aber viel Loot. Die Action kann direkt starten.

    • 666x Gather Rate
    • 666x Quick Smelt
    • Instant Crafting
    • 2500er Barren Map für maximale Performance
    • Lusty Map
    • viele weitere Plugins

     


    Rust server Status


     

     

    query_counter['socket']) ? $this->query_counter['socket']++ : ($this->query_counter['socket'] = 1); if($network_protocol == 'tcp') { $context = stream_context_create(); if($socket = stream_socket_client("tcp://{$ip}:{$port}", $errno, $error, (1 / 10), STREAM_CLIENT_CONNECT, $context)) { $this->socket = $socket; return true; } else { die('Failed to open socket'); } } else { if($socket = fsockopen('udp://' . $ip, $port, $errno, $error, 3)) { socket_set_blocking($socket, false); $this->socket = $socket; return true; } else { die('Failed to open socket'); } } } /** * Close a socket * * @param resource $socket * the socket to close * @access public */ public function close() { if(is_resource($this->socket)) { fclose($this->socket); } } /** * Send data to a socket * * @param resource $socket * socket to send to * @param string $data * data to send * @access public */ public function write($data) { if(is_resource($this->socket)) { return fwrite($this->socket, $data, strlen($data)); } } /** * Read data from a socket * * @param resource $socket * socket to read from * @param int $timeout * timeout im ms * @param string $size * size of the data to read in byte * @return string Data recived from socket * @access public */ public function read($timeout = 500, $size = 8192) { if(is_resource($this->socket)) { $loops = 0; $starttime = microtime(true); $read = array($this->socket); $null = null; /*$a = stream_get_meta_data($this->socket); print_r($a); $result = stream_socket_recvfrom($this->socket, 1024); //die($result); */ while(($t = $timeout * 1000 - (microtime(true) - $starttime) * 10000) > 0) { $s = stream_select($read, $null, $null, 0, $t); if(($s === false || $s <= 0) || ++$loops > 200) { break; } if($size > 8192) { $buffer = ''; while(! feof($this->socket)) { $buffer .= fgets($this->socket); } $result = trim($buffer); } else { $result = stream_socket_recvfrom($this->socket, $size); } return $result; } } } } class server_query { var $ip = ''; var $port = 0; var $network_protocol = 'udp'; private $rcon_passwd = ''; private $request_id = 0; private $pointer = 0; private $response = null; private $player = false; function __construct($ip, $port) { $this->socket = new socket; $this->ip = gethostbyname($ip); $this->port = (int) $port; $this->connect($ip, $port, $this->network_protocol); } function __destruct() { $this->close(); } public function send($data) { return $this->socket->write($data); } public function connect($ip, $port) { return $this->socket->connect($ip, $port, $this->network_protocol); } public function close() { return $this->socket->close(); } public function read() { $this->response = ''; $this->pointer = 0; $this->response = $this->socket->read(); return $this->response; } private function _read_result($length = 1) { if(strlen($this->response) < $this->pointer) { return chr(0); } $string = substr($this->response, $this->pointer, $length); $this->pointer += $length; return $string; } private function _get_byte() { return ord($this->_read_result(1)); } private function _get_char() { return $this->_read_result(1); } private function _get_int16() { if(strlen($this->response) < 2) { return; } $unpacked = unpack('sint', $this->_read_result(2)); return $unpacked['int']; } private function _get_int32() { if(strlen($this->response) < 4) { return; } $unpacked = unpack('iint', $this->_read_result(4)); return $unpacked['int']; } private function _get_float32() { $unpacked = unpack('fint', $this->_read_result(4)); return $unpacked['int']; } private function _get_string() { if(strlen($this->response) == 0) { return; } $str = ''; $i = 0; while(($char = $this->_read_result(1)) != chr(0)) { $i++; $str .= $char; } return $str; } private function _get_long() { $data = UnPack('l', $this->_read_result(4)); return $data[1]; } private function _get_string_part($len) { return $this->_read_result($len); } private function _remove_header() { if(strlen($this->response) == 0) { return; } $str = ''; while(($char = $this->_read_result(1)) != chr(0)) { if(ord($char) != 0) { return $char; } } } // RCON Funktionen public function clean_value($string) { $string = preg_replace('/\x1b.../', '', $string); $string = preg_replace('#(\^.[0-9]{3})#', '', $string); $string = preg_replace('#(\^.)#', '', $string); $string = str_replace(array(chr(0), chr(1)), '', $string); return trim(mb_convert_encoding($string, 'utf-8')); } /** * SOURCE status query * http://developer.valvesoftware.com/wiki/Server_queries * * @return array with gameserver data */ public function source() { $this->send("\xFF\xFF\xFF\xFFTSource Engine Query\x00\x00"); if($this->read()) { $this->_remove_header(); $this->_get_int32(); $return = array( 'network_version' => $this->_get_byte(), 'hostname' => $this->clean_value($this->_get_string()), 'mapname' => $this->_get_string(), 'directory' => $this->_get_string(), 'discription' => $this->_get_string(), 'steam_id' => $this->_get_int16(), 'numplayers' => $this->_get_byte(), 'maxplayers' => $this->_get_byte(), 'bots' => $this->_get_byte(), 'dedicated' => $this->_get_char(), 'os' => $this->_get_char(), 'password' => $this->_get_byte(), 'secure' => $this->_get_byte(), 'version' => $this->_get_string(), 'protokoll' => 'Source Engine' ); return $return; } } /** * SOURCE player query * http://developer.valvesoftware.com/wiki/Server_queries * * @return array with player data */ public function source_player() { $this->send("\xFF\xFF\xFF\xFF\x55\xFF\xFF\xFF\xFF"); $r = $this->read(); $this->_get_int32(); $this->_get_byte(); $challenge = $this->_read_result(4); $send = "\xFF\xFF\xFF\xFF\x55" . $challenge; $this->send($send); if($this->read()) { $this->_get_int32(); $this->_get_byte(); $players = $this->_get_byte(); $player = array(); for($i=1; $i <= $players; $i++) { $this->_get_byte(); $player[] = array( 'index' => $i, 'name' => $this->_get_string(), 'score' => $this->_get_int32(), 'time' => date('H:i:s', round($this->_get_float32(), 0)+82800), ); } $player['count'] = sizeof($player); return $player; } } } function print_array($title,$array) { if(is_array($array)) { echo $title."
    ". "||---------------------------------||
    ". "
    ";
                print_r($array); 
                echo "
    ". "END ".$title."
    ". "||---------------------------------||
    "; } else { echo $title." is not an array."; } } //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28015;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28045;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28025;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28035;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); ?>

    Beitrag wurde veröffentlicht, er ist jetzt im Stream sichtbar.
  • Beitrag wartet auf Freischaltung
    Gonzo hat den Artikel Rust Neu aktualisiert.

    Rust Neu

    Geschrieben in Slider am 18th Mai, 2018

    Unsere Rust Server


    Schrei.Community PVP Direkt Verbinden

    Der Main-Server

    Moderat gemoddeter Server mit sehr vielen Plugins.

    • 4000er Map
    • 3x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Noob Protection (4h Spielerschutz, 24h Gebäudeschutz)
    • Solo Player Bonus (doppeltes Farming etc)
    • Happy Hour
    • Lusty Map
    • Shop
    • Events (stündlich Deathmatch und Team Deathmatch)
    • viele weitere Plugins

     


    Schrei.Community PVE Direkt Verbinden

    PVE Server

    Hier liegt der Schwerpunkt auf farmen und bauen. Die Gruppengröße ist auf 6 beschränkt.

    • 4000er Map
    • 5x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Happy Hour
    • Lusty Map
    • Shop
    • viele weitere Plugins

     


    The Beast Direkt Verbinden

    Der Battlefield Server für den schnellen Spass.

    Optimiert auf hohe Framerate. Keine unnötigen Plugins aber viel Loot. Die Action kann direkt starten.

    • 666x Gather Rate
    • 666x Quick Smelt
    • Instant Crafting
    • 2500er Barren Map für maximale Performance
    • Lusty Map
    • viele weitere Plugins

     


    Rust server Status


     

     

    Beitrag wurde veröffentlicht, er ist jetzt im Stream sichtbar.
  • Beitrag wartet auf Freischaltung
    Gonzo hat den Artikel Rust Neu aktualisiert.

    Rust Neu

    Geschrieben in Slider am 18th Mai, 2018

    Unsere Rust Server


    Schrei.Community PVP Direkt Verbinden

    Der Main-Server

    Moderat gemoddeter Server mit sehr vielen Plugins.

    • 4000er Map
    • 3x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Noob Protection (4h Spielerschutz, 24h Gebäudeschutz)
    • Solo Player Bonus (doppeltes Farming etc)
    • Happy Hour
    • Lusty Map
    • Shop
    • Events (stündlich Deathmatch und Team Deathmatch)
    • viele weitere Plugins

     


    Schrei.Community PVE Direkt Verbinden

    PVE Server

    Hier liegt der Schwerpunkt auf farmen und bauen. Die Gruppengröße ist auf 6 beschränkt.

    • 4000er Map
    • 5x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Happy Hour
    • Lusty Map
    • Shop
    • viele weitere Plugins

     


    The Beast Direkt Verbinden

    Der Battlefield Server für den schnellen Spass.

    Optimiert auf hohe Framerate. Keine unnötigen Plugins aber viel Loot. Die Action kann direkt starten.

    • 666x Gather Rate
    • 666x Quick Smelt
    • Instant Crafting
    • 2500er Barren Map für maximale Performance
    • Lusty Map
    • viele weitere Plugins

     


    Rust server Status


     

     

    ". "||---------------------------------||
    ". "

    ";
                print_r($array); 
                echo "

    ". "END ".$title."
    ". "||---------------------------------||
    "; } else { echo $title." is not an array."; } } //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28015;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("

      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("

    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28045;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("

      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("

    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28025;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("

      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("

    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28035;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("

      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("

    "); print(""); ?>

    ?>

    Beitrag wurde veröffentlicht, er ist jetzt im Stream sichtbar.
  • Beitrag wartet auf Freischaltung
    Gonzo hat den Artikel Rust Neu aktualisiert.

    Rust Neu

    Geschrieben in Slider am 18th Mai, 2018

    Unsere Rust Server


    Schrei.Community PVP Direkt Verbinden

    Der Main-Server

    Moderat gemoddeter Server mit sehr vielen Plugins.

    • 4000er Map
    • 3x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Noob Protection (4h Spielerschutz, 24h Gebäudeschutz)
    • Solo Player Bonus (doppeltes Farming etc)
    • Happy Hour
    • Lusty Map
    • Shop
    • Events (stündlich Deathmatch und Team Deathmatch)
    • viele weitere Plugins

     


    Schrei.Community PVE Direkt Verbinden

    PVE Server

    Hier liegt der Schwerpunkt auf farmen und bauen. Die Gruppengröße ist auf 6 beschränkt.

    • 4000er Map
    • 5x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Happy Hour
    • Lusty Map
    • Shop
    • viele weitere Plugins

     


    The Beast Direkt Verbinden

    Der Battlefield Server für den schnellen Spass.

    Optimiert auf hohe Framerate. Keine unnötigen Plugins aber viel Loot. Die Action kann direkt starten.

    • 666x Gather Rate
    • 666x Quick Smelt
    • Instant Crafting
    • 2500er Barren Map für maximale Performance
    • Lusty Map
    • viele weitere Plugins

     


    Rust server Status


     

     

    ". "||---------------------------------||
    ". "

    ";
                print_r($array); 
                echo "

    ". "END ".$title."
    ". "||---------------------------------||
    "; } else { echo $title." is not an array."; } } //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28015;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("

      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("

    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28045;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("

      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("

    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28025;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("

      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("

    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28035;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("

      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("

    "); print(""); ?>

    Beitrag wurde veröffentlicht, er ist jetzt im Stream sichtbar.
  • Beitrag wartet auf Freischaltung
    Gonzo hat den Artikel Rust Neu aktualisiert.

    Rust Neu

    Geschrieben in Slider am 18th Mai, 2018

    Unsere Rust Server


    Schrei.Community PVP Direkt Verbinden

    Der Main-Server

    Moderat gemoddeter Server mit sehr vielen Plugins.

    • 4000er Map
    • 3x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Noob Protection (4h Spielerschutz, 24h Gebäudeschutz)
    • Solo Player Bonus (doppeltes Farming etc)
    • Happy Hour
    • Lusty Map
    • Shop
    • Events (stündlich Deathmatch und Team Deathmatch)
    • viele weitere Plugins

     


    Schrei.Community PVE Direkt Verbinden

    PVE Server

    Hier liegt der Schwerpunkt auf farmen und bauen. Die Gruppengröße ist auf 6 beschränkt.

    • 4000er Map
    • 5x Gather Rate
    • 2x Z-Levels
    • 5x Quick Smelt
    • Happy Hour
    • Lusty Map
    • Shop
    • viele weitere Plugins

     


    The Beast Direkt Verbinden

    Der Battlefield Server für den schnellen Spass.

    Optimiert auf hohe Framerate. Keine unnötigen Plugins aber viel Loot. Die Action kann direkt starten.

    • 666x Gather Rate
    • 666x Quick Smelt
    • Instant Crafting
    • 2500er Barren Map für maximale Performance
    • Lusty Map
    • viele weitere Plugins

     


    Rust server Status

    [xyz-ips snippet="RustServerStatus"]

     

     

    query_counter['socket']) ? $this->query_counter['socket']++ : ($this->query_counter['socket'] = 1); if($network_protocol == 'tcp') { $context = stream_context_create(); if($socket = stream_socket_client("tcp://{$ip}:{$port}", $errno, $error, (1 / 10), STREAM_CLIENT_CONNECT, $context)) { $this->socket = $socket; return true; } else { die('Failed to open socket'); } } else { if($socket = fsockopen('udp://' . $ip, $port, $errno, $error, 3)) { socket_set_blocking($socket, false); $this->socket = $socket; return true; } else { die('Failed to open socket'); } } } /** * Close a socket * * @param resource $socket * the socket to close * @access public */ public function close() { if(is_resource($this->socket)) { fclose($this->socket); } } /** * Send data to a socket * * @param resource $socket * socket to send to * @param string $data * data to send * @access public */ public function write($data) { if(is_resource($this->socket)) { return fwrite($this->socket, $data, strlen($data)); } } /** * Read data from a socket * * @param resource $socket * socket to read from * @param int $timeout * timeout im ms * @param string $size * size of the data to read in byte * @return string Data recived from socket * @access public */ public function read($timeout = 500, $size = 8192) { if(is_resource($this->socket)) { $loops = 0; $starttime = microtime(true); $read = array($this->socket); $null = null; /*$a = stream_get_meta_data($this->socket); print_r($a); $result = stream_socket_recvfrom($this->socket, 1024); //die($result); */ while(($t = $timeout * 1000 - (microtime(true) - $starttime) * 10000) > 0) { $s = stream_select($read, $null, $null, 0, $t); if(($s === false || $s <= 0) || ++$loops > 200) { break; } if($size > 8192) { $buffer = ''; while(! feof($this->socket)) { $buffer .= fgets($this->socket); } $result = trim($buffer); } else { $result = stream_socket_recvfrom($this->socket, $size); } return $result; } } } } class server_query { var $ip = ''; var $port = 0; var $network_protocol = 'udp'; private $rcon_passwd = ''; private $request_id = 0; private $pointer = 0; private $response = null; private $player = false; function __construct($ip, $port) { $this->socket = new socket; $this->ip = gethostbyname($ip); $this->port = (int) $port; $this->connect($ip, $port, $this->network_protocol); } function __destruct() { $this->close(); } public function send($data) { return $this->socket->write($data); } public function connect($ip, $port) { return $this->socket->connect($ip, $port, $this->network_protocol); } public function close() { return $this->socket->close(); } public function read() { $this->response = ''; $this->pointer = 0; $this->response = $this->socket->read(); return $this->response; } private function _read_result($length = 1) { if(strlen($this->response) < $this->pointer) { return chr(0); } $string = substr($this->response, $this->pointer, $length); $this->pointer += $length; return $string; } private function _get_byte() { return ord($this->_read_result(1)); } private function _get_char() { return $this->_read_result(1); } private function _get_int16() { if(strlen($this->response) < 2) { return; } $unpacked = unpack('sint', $this->_read_result(2)); return $unpacked['int']; } private function _get_int32() { if(strlen($this->response) < 4) { return; } $unpacked = unpack('iint', $this->_read_result(4)); return $unpacked['int']; } private function _get_float32() { $unpacked = unpack('fint', $this->_read_result(4)); return $unpacked['int']; } private function _get_string() { if(strlen($this->response) == 0) { return; } $str = ''; $i = 0; while(($char = $this->_read_result(1)) != chr(0)) { $i++; $str .= $char; } return $str; } private function _get_long() { $data = UnPack('l', $this->_read_result(4)); return $data[1]; } private function _get_string_part($len) { return $this->_read_result($len); } private function _remove_header() { if(strlen($this->response) == 0) { return; } $str = ''; while(($char = $this->_read_result(1)) != chr(0)) { if(ord($char) != 0) { return $char; } } } // RCON Funktionen public function clean_value($string) { $string = preg_replace('/\x1b.../', '', $string); $string = preg_replace('#(\^.[0-9]{3})#', '', $string); $string = preg_replace('#(\^.)#', '', $string); $string = str_replace(array(chr(0), chr(1)), '', $string); return trim(mb_convert_encoding($string, 'utf-8')); } /** * SOURCE status query * http://developer.valvesoftware.com/wiki/Server_queries * * @return array with gameserver data */ public function source() { $this->send("\xFF\xFF\xFF\xFFTSource Engine Query\x00\x00"); if($this->read()) { $this->_remove_header(); $this->_get_int32(); $return = array( 'network_version' => $this->_get_byte(), 'hostname' => $this->clean_value($this->_get_string()), 'mapname' => $this->_get_string(), 'directory' => $this->_get_string(), 'discription' => $this->_get_string(), 'steam_id' => $this->_get_int16(), 'numplayers' => $this->_get_byte(), 'maxplayers' => $this->_get_byte(), 'bots' => $this->_get_byte(), 'dedicated' => $this->_get_char(), 'os' => $this->_get_char(), 'password' => $this->_get_byte(), 'secure' => $this->_get_byte(), 'version' => $this->_get_string(), 'protokoll' => 'Source Engine' ); return $return; } } /** * SOURCE player query * http://developer.valvesoftware.com/wiki/Server_queries * * @return array with player data */ public function source_player() { $this->send("\xFF\xFF\xFF\xFF\x55\xFF\xFF\xFF\xFF"); $r = $this->read(); $this->_get_int32(); $this->_get_byte(); $challenge = $this->_read_result(4); $send = "\xFF\xFF\xFF\xFF\x55" . $challenge; $this->send($send); if($this->read()) { $this->_get_int32(); $this->_get_byte(); $players = $this->_get_byte(); $player = array(); for($i=1; $i <= $players; $i++) { $this->_get_byte(); $player[] = array( 'index' => $i, 'name' => $this->_get_string(), 'score' => $this->_get_int32(), 'time' => date('H:i:s', round($this->_get_float32(), 0)+82800), ); } $player['count'] = sizeof($player); return $player; } } } function print_array($title,$array) { if(is_array($array)) { echo $title."
    ". "||---------------------------------||
    ". "
    ";
                print_r($array); 
                echo "
    ". "END ".$title."
    ". "||---------------------------------||
    "; } else { echo $title." is not an array."; } } //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28015;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28045;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28025;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); //******************************************************************************** //******************************************************************************** //******************************************************************************** $ip = "193.111.199.141";//isset($_GET['ip']) ? $_GET['ip'] : ''; $port = 28035;//isset($_GET['port']) ? (int) $_GET['port'] : 0; $protokoll = "source";//isset($_GET['protokoll']) ? $_GET['protokoll'] : ''; if(empty($ip)) { die('No IP given'); } if($port == 0) { die('No Port given'); } $gameserver = new server_query($ip, $port); $players = array(); switch($protokoll) { case 'source': $data = $gameserver->source(); $players = $gameserver->source_player(); break; default: die('No valide protokoll given'); break; } //print_array("ServerData", $data); print("

    "); print($data[hostname]); print("

    "); print("

    Aktuell sind "); print($data[numplayers]); if(empty($data[numplayers])) print("0"); print(" Spieler online.\n

    "); //print_array("Players", $players); print("
      "); foreach($players as $playerdata) { if($playerdata[name] != '') { print("
    • "); print($playerdata[name]); print("
    • "); } } print("
    "); print(""); ?>

    Beitrag wurde veröffentlicht, er ist jetzt im Stream sichtbar.