Nesenai mano tinklapio nariai pradėjo rašyti jog neina prisijungti į tinklapį ir į patį hostingas.in
Tad vakar parašiau į hostingas.in ir paklausiau kodėl neina prisijungti. Mat daugumai IP yra uždėtas apribojimas nes daug kartų atidarinėja servinfo2.php failą (jis yra ant pačio headerio.)
Atsiuntė sesijų logus: 0-6 5893 0/78/51214 W 1.84 174 0 0.0 0.75 364.27 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
1-6 7473 0/37/47582 W 0.54 158 0 0.0 0.19 436.86 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
2-6 3388 0/323/46570 W 4.65 389 0 0.0 1.38 333.81 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
3-6 7186 0/118/44768 W 1.02 190 0 0.0 3.77 362.73 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
8-6 7188 0/58/42602 W 0.89 197 0 0.0 0.18 349.29 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
12-6 3978 0/310/40385 W 7.94 228 0 0.0 2.92 332.34 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
13-6 9381 0/131/36359 W 1.93 11 0 0.0 0.48 247.29 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
14-6 6124 0/208/36485 W 3.68 215 0 0.0 0.88 257.70 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
15-6 5886 0/333/30830 W 4.88 187 0 0.0 2.04 232.74 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
16-6 7168 0/46/29059 W 0.80 220 0 0.0 0.07 195.47 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
17-6 7190 0/122/29640 W 2.85 184 0 0.0 0.65 220.17 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
18-6 7809 0/66/22051 W 0.73 98 0 0.0 0.51 197.06 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
20-6 7178 0/162/18039 W 2.51 200 0 0.0 0.51 131.98 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
21-6 5579 0/381/12894 W 8.22 139 0 0.0 1.49 138.29 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
22-6 5863 0/254/11275 W 6.84 75 0 0.0 1.25 65.17 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
26-6 7510 0/360/6637 W 7.01 19 0 0.0 13.07 75.08 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
27-6 7214 0/67/3224 W 1.49 171 0 0.0 0.31 18.98 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
29-6 7216 0/25/2238 W 0.88 118 0 0.0 0.05 10.33 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
31-6 7479 0/6/1830 W 0.06 157 0 0.0 0.01 11.89 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
32-6 7480 0/109/778 W 2.32 142 0 0.0 0.22 4.42 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
33-6 9349 0/116/1581 W 1.72 43 0 0.0 0.78 12.29 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
39-6 7520 0/147/547 W 2.36 88 0 0.0 0.84 8.33 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
40-6 7521 0/58/235 W 0.72 126 0 0.0 0.25 2.08 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
42-6 9350 0/69/568 W 0.93 50 0 0.0 0.32 2.74 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
43-6 7529 0/103/546 W 2.75 14 0 0.0 0.78 4.55 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
44-6 9354 0/9/102 W 0.21 52 0 0.0 0.00 6.42 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
45-6 7713 0/1/33 W 0.01 120 0 0.0 0.00 0.11 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
47-6 9359 0/178/226 W 3.06 20 0 0.0 0.87 1.20 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
53-6 7792 0/2/2 W 0.10 116 0 0.0 0.01 0.01 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
54-6 9370 0/97/315 W 1.92 32 0 0.0 6.69 7.99 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
55-6 7800 0/29/29 W 0.63 46 0 0.0 0.09 0.09 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
56-6 7815 0/74/77 W 1.29 97 0 0.0 0.34 0.34 212.12.200.113 www.fcg.wu.lt GET /themes/fcg.wu.lt/code/servinfo2.php HTTP/1.0
ir nelabai susigaudau kas čia per logai. ir sako jog yra blogas servinfo failas:
<html>
<head>
<title>SA:MP Server Query Script</title>
<style type="text/css">
body { font-family: verdana; font-size: 11px; }
td { font-family: verdana; font-size: 11px; }
</style>
</head>
<body bgcolor="#191b1d" text="#EEEEEE">
<table width="350" bgcolor="#000000" cellpadding="1" cellspacing="1" align="center">
<?
if (!isset($ip))
$ip = '78.61.28.2';
if (!isset($port))
$port = 7777;
$fp = fsockopen('udp://' . $ip, $port, $errno, $errstr);
if (!$fp)
{
echo "<tr><td bgcolor=\"#191b1d\">Socket Error: $errno - $errstr</td></tr>\n";
}
else
{
$packet = 'SAMP';
$packet .= chr(strtok($ip, '.'));
$packet .= chr(strtok('.'));
$packet .= chr(strtok('.'));
$packet .= chr(strtok('.'));
$packet .= chr($port & 0xFF);
$packet .= chr($port >> 8 & 0xFF);
fwrite($fp, $packet.'i');
fread($fp, 11);
$is_passworded = ord(fread($fp, 1));
$plr_count = ord(fread($fp, 2));
$max_plrs = ord(fread($fp, 2));
$strlen = ord(fread($fp, 4));
$hostname = fread($fp, $strlen);
$strlen = ord(fread($fp, 4));
$gamemode = fread($fp, $strlen);
$strlen = ord(fread($fp, 4));
$mapname = fread($fp, $strlen);
echo ' <tr><td bgcolor="#191b1d" colspan="2" align="center"><b>' . $hostname . '</b></td></tr>'."\n";
echo ' <tr><td bgcolor="#191b1d" colspan="2" align="center"><b><span style="color:red"><b>Serverio ip:</b></span> <span style="color:lime"><b>78.61.28.2:7777 </b></span> </b></td></tr>'."\n";
echo ' <tr><td bgcolor="#191b1d" width="100">Žaidėjų: </td><td bgcolor="#191b1d" width="250">' . $plr_count . ' / ' . $max_plrs . '</td></tr>'."\n";
echo ' <tr><td bgcolor="#191b1d">Versija: </td><td bgcolor="#191b1d">' . $gamemode . '</td></tr>'."\n";
echo ' <tr><td bgcolor="#191b1d">Žemėlapis: </td><td bgcolor="#191b1d">' . $mapname . '</td></tr>'."\n";
if ($is_passworded)
{
echo ' <tr><td bgcolor="#191b1d">Slaptažodis: </td><td bgcolor="#191b1d">Yra</td></tr>'."\n";
} else {
echo ' <tr><td bgcolor="#191b1d">Slaptažodis: </td><td bgcolor="#191b1d">Nėra</td></tr>'."\n";
}
fwrite($fp, $packet.'c');
fread($fp, 11);
$plr_count = ord(fread($fp, 2));
if ($plr_count > 0)
{
echo ' </table><br>'."\n";
echo ' <table width="350" bgcolor="#000000" cellpadding="4" cellspacing="1" align="center">'."\n";
echo ' <tr><td bgcolor="#2B5486" colspan="2" align="center"><b>Players:</b></td></tr>'."\n";
echo ' <tr><td bgcolor="#2B5486" align="center" width="250"><b>Player</b></td><td bgcolor="#2B5486" align="center" width="100"><b>Score</b></td></tr>'."\n";
for ($i=0; $i<$plr_count; $i++)
{
$strlen = ord(fread($fp, 1));
$plrname = fread($fp, $strlen);
$score = ord(fread($fp, 4));
echo ' <tr><td bgcolor="#2B5486">' . $plrname . '</td><td bgcolor="#2B5486">' . $score . '</td></tr>'."\n";
}
}
fclose($fp);
}
?>
</table>
</body>
</html>
Gal kas žino kas jame blogai?
|