Wurm Online Server Status
Server Status:

Login Server
Freedom Cluster
Epic Cluster
Test Servers
"; foreach ($ip as $cluster => $value){ $type = $cluster; $timeout = array('sec'=>1,'usec'=>100000); foreach ($ip[$type] as $key => $server) { //Test if socket is enable if (($sock = @socket_create(AF_INET, SOCK_STREAM, SOL_TCP)) === false) { echo "socket_create() failed: reason: " . socket_strerror(socket_last_error()) . "\n"; }else{ @socket_set_option($sock, SOL_SOCKET, SO_SNDTIMEO, $timeout); /*if($type==$test){ // ------- TEST AREA ----- if (@socket_connect($sock, $t_server, $server) === false) { $response = "\"Server ".$name[$type][$key]."
"; $online = 'offline'; }else{ $response = "\"Server ".$name[$type][$key]."
"; $online = 'online'; } // ----------------------- }else{*/ if (@socket_connect($sock, $server, $port) === false) { $response = "\"Server ".$name[$type][$key]."
"; $online = 'offline'; }else{ $response = "\"Server ".$name[$type][$key]."
"; $online = 'online'; } //} //printing procedure if($type == $epic){ stampa($response, 'epic', $online); }else if ($type == $new){ stampa($response, 'new', $online); }else if ($type == $test){ stampa($response, 'test', $online); }else{ switch($server){ case '148.251.21.205': stampa($response, 'login', $online); break; default: stampa($response, 'freedom', $online); break; } } socket_close($sock); } } } echo ""; $page = ob_get_contents(); ob_end_flush(); $fp = fopen($filename,"w"); fwrite($fp,$page); fclose($fp); //------------ END IF --------------- }else{ echo file_get_contents($filename); } function stampa($cosa,$cat,$status){ echo "jQuery('#".$cat."').append('
".$cosa."
');"; } ?>
Vai alle Mappe
Wurm Online is a game produced by Code Club AB. Wurm Online and Code Club AB do not endorse and are not responsible or liable for any content, products, services or information available on WurmOnlineItalia.
WurmOnlineItalia is not connected to Wurm Online nor is it the official website. Please visit the Wurm Online Official Site at www.wurmonline.com.