TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 321
  • Total: 321

[Block] Aion Server Status

Started by Gax, September 15, 2009, 04:32:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gax

I'll update this if Server IP's change.

You'll need to upload up.gif and down.gif to your images directory.





Demo: http://www.paragonsite.net


/***********************************
********Created by Gax********
****www.paragonsite.net****
*************Paragon*************
*************************************/

//needed to work in a php block
global $uport, $sport, $lport, $port, $l1, $u1;

//Update server
$u1 = '206.127.153.187';

//Login Server
$l1 = '206.127.153.247';

//Servers
$d1 = '206.127.155.67';
$d2 = '206.127.155.69';
$d3 = '206.127.155.71';
$d4 = '206.127.155.73';
$d5 = '206.127.155.75';
$d6 = '206.127.155.77';
$d7 = '206.127.155.66';
$d8 = '206.127.155.70';
$d9 = '206.127.155.72';
$d10 = '206.127.155.74';
$d11 = '206.127.155.76';
$d12 = '206.127.155.68';
$d13 = '206.127.155.82';
$d14 = '206.127.155.83';

//login Server name
$nl1 = 'Login';

//Update Server name
$nu1 = 'Update';

//Server Names

$n1 = 'Israphel'; //East
$n2 = 'Zikel'; //East
$n3 = 'Triniel'; //East
$n4 = 'Lumiel'; //East
$n5 = 'Marchutan'; //East
$n6 = 'Azphel'; //East
$n7 = 'Siel'; //West
$n8 = 'Vaizel'; //West
$n9 = 'Kaisinel'; //West
$n10 = 'Yustiel'; //West
$n11 = 'Ariel'; //West
$n12 = 'Nezekan'; //Oceanic
$n13 = 'Fregion'; //West
$n14 = 'Meslamtaeda'; //East

//Login Port
$lport = '2106';

//Server Port
$sport = '7777';

//Update Port
$uport = '80';


//Function to check response time
//Edit below at your own risk
function pingDomain($domain){

    global $uport, $sport, $lport, $port, $l1, $u1;
   
    if ($domain == $l1){
       $port = $lport;
        }
    else if ($domain == $u1){
       $port = $uport;
       }
    else{
        $port = $sport;
        }

    $starttime = microtime(true);
    $file      = @fsockopen($domain, $port, $errno, $errstr, 1);
    $stoptime  = microtime(true);
    $status    = 0;

    if (!$file) $status = -1;  // Site is down
    else {
        fclose($file);
        $status = ($stoptime - $starttime) * 1000;
        $status = floor($status);
    }
    return $status;
}

echo'
<style type="text/css">
body, table {
font-family: Tahoma, Verdana, Arial, sans-serif;
font-size: 11px;
font-weight: bold;
}

hr {
color: #ffffff;
background-color: #ffffff;
height: 2px;
}

</style>
<table>';

     $status = pingDomain($u1);
     if ($status != -1) echo '<tr><td width="80">' ,$nu1, '</td><td width="15"><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td width="80">' ,$nu1, '</td><td width="15"><img src="/images/down.gif"></td><td></td></tr>';

     $status = pingDomain($l1);
     if ($status != -1) echo '<tr><td>' ,$nl1, '</td><td width="15"><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td>' ,$nl1, '</td><td width="15"><img src="/images/down.gif"></td><td></td></tr>';

echo'
</table>
<br />
<table width="100%">
     <tr><td width="55"><hr></td><td align="center">East</td><td width="55"><hr></td></tr>
</table>
<table>';

     $status = pingDomain($d1);
     if ($status != -1) echo '<tr><td width="80">' ,$n1, '</td><td width="15"><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td width="80">' ,$n1, '</td><td width="15"><img src="/images/down.gif"></td><td></td></tr>';

     $status = pingDomain($d2);
     if ($status != -1) echo '<tr><td>' ,$n2, '</td><td><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td>' ,$n2, '</td><td><img src="/images/down.gif"></td><td></td></tr>';

     $status = pingDomain($d3);
     if ($status != -1) echo '<tr><td>' ,$n3, '</td><td><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td>' ,$n3, '</td><td><img src="/images/down.gif"></td><td></td></tr>';

     $status = pingDomain($d4);
     if ($status != -1) echo '<tr><td>' ,$n4, '</td><td><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td>' ,$n4, '</td><td><img src="/images/down.gif"></td><td></td></tr>';

     $status = pingDomain($d5);
     if ($status != -1) echo '<tr><td>' ,$n5, '</td><td><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td>' ,$n5, '</td><td><img src="/images/down.gif"></td><td></td></tr>';

     $status = pingDomain($d6);
     if ($status != -1) echo '<tr><td>' ,$n6, '</td><td><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td>' ,$n6, '</td><td><img src="/images/down.gif"></td><td></td></tr>';

     $status = pingDomain($d14);
     if ($status != -1) echo '<tr><td>' ,$n14, '</td><td><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td>' ,$n14, '</td><td><img src="/images/down.gif"></td><td></td></tr>';
     
echo'
</table>
<br />
<table width="100%">
     <tr><td width="55"><hr></td><td align="center">West</td><td width="55"><hr></td></tr>
</table>
<table>';

     $status = pingDomain($d7);
     if ($status != -1) echo '<tr><td width="80">' ,$n7, '</td><td width="15"><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td width="80">' ,$n7, '</td><td width="15"><img src="/images/down.gif"></td><td></td></tr>';

     $status = pingDomain($d8);
     if ($status != -1) echo '<tr><td>' ,$n8, '</td><td><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td>' ,$n8, '</td><td><img src="/images/down.gif"></td><td></td></tr>';

     $status = pingDomain($d9);
     if ($status != -1) echo '<tr><td>' ,$n9, '</td><td><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td>' ,$n9, '</td><td><img src="/images/down.gif"></td><td></td></tr>';

     $status = pingDomain($d10);
     if ($status != -1) echo '<tr><td>' ,$n10, '</td><td><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td>' ,$n10, '</td><td><img src="/images/down.gif"></td><td></td></tr>';

     $status = pingDomain($d11);
     if ($status != -1) echo '<tr><td>' ,$n11, '</td><td><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td>' ,$n11, '</td><td><img src="/images/down.gif"></td><td></td></tr>';

     $status = pingDomain($d13);
     if ($status != -1) echo '<tr><td>' ,$n13, '</td><td><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td>' ,$n13, '</td><td><img src="/images/down.gif"></td><td></td></tr>';
     
echo'
</table>
<br />
<table width="100%">
     <tr><td width="45"><hr></td><td align="center">Oceanic</td><td width="45"><hr></td></tr>
</table>
<table>';

     $status = pingDomain($d12);
     if ($status != -1) echo '<tr><td width="80">' ,$n12, '</td><td width="15"><img src="/images/up.gif"></td><td>(' ,$status, ' ms)</td></tr>';
     else               echo '<tr><td width="80">' ,$n12, '</td><td width="15"><img src="/images/down.gif"></td><td></td></tr>';

     echo '</table>';



ZarPrime

Hello Gax,

Welcome to TinyPortal.

Do you have a demo setup that people can see?

ZarPrime

Gax

Quote from: ZarPrime on September 15, 2009, 04:43:37 PM
Hello Gax,

Welcome to TinyPortal.

Do you have a demo setup that people can see?

ZarPrime

Just added. ;)


Freddy

Nice site - just wondering if this game is subscription based or a one-off purchase ?

Cheers :)

Gax

Purchase the game and comes with free expansions. Monthly fee of $14.99 USD

Freddy

Thanks.  I was hoping it would be non-subscription... like Guild Wars.

Trolle

Hi, awesome bloc, but now I wanna change it for EU servers, how do I find the ips for eu?

Freddy

If the details have been released to the public then I guess you should be asking that question on some of the many forums dedicated to the game.

Trolle

Ah, yeah maybe. Just thought he had some way to get the US, didn't know if that they were officially released. But I'll check on that, thanks  :-*

This website is proudly hosted on Crocweb Cloud Website Hosting.