[Release] Server Status

Results 1 to 9 of 9
  1. #1
    Account Upgraded | Title Enabled! Amandy is offline
    MemberRank
    Feb 2007 Join Date
    Crapvile, USALocation
    768Posts

    [Release] Server Status

    Code:
    <?php $srvip = "YourIP";
    $srvport = "5816";?>
    <td align="left">Eudemons: 
       
    <?php 
    $fp = @fsockopen($srvip, $srvport, $errno, $errstr, 1);
    if (!$fp) {
        echo "<font style='color: #FF3300'><B>Offline</B></font></br>";
    } else {
        echo "<font style='color: #009933'><B>Online</B></font></br>";
        fclose($fp);
    } ?></td>
    Change your IP to well the server's IP address
    Port 5816 - Account Server.
    And you can change the Eudemons to what ever you like.


  2. #2
    Member heartlesss is offline
    MemberRank
    Mar 2008 Join Date
    69Posts

    Re: [Release] Server Status

    where should i place the code?

  3. #3
    Novice hellhazor is offline
    MemberRank
    Dec 2008 Join Date
    1Posts

    Re: [Release] Server Status

    how do I connect my password to the server?
    For example, when the server is in blacknull,
    how do I connect my password to test the server of the game so that I can test in the game?

  4. #4
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: [Release] Server Status

    hellhazor dont bump old threads, this is from the beginning of the year, too long.

  5. #5
    Apprentice bddog134 is offline
    MemberRank
    Dec 2008 Join Date
    7Posts

    Re: [Release] Server Status

    sorry didnt notice date
    Last edited by bddog134; 22-12-08 at 10:35 PM.

  6. #6

    Re: [Release] Server Status

    thx alot will help me when i get my server up (if i can :()

  7. #7
    King Canadian whhacker93 is offline
    MemberRank
    Apr 2008 Join Date
    CanadaLocation
    926Posts

    Re: [Release] Server Status

    nice. job buddy

  8. #8
    Apprentice snipermmmm is offline
    MemberRank
    Feb 2008 Join Date
    5Posts

    Re: [Release] Server Status

    nice work

  9. #9
    Apprentice The Crasher is offline
    MemberRank
    Jan 2009 Join Date
    belgiumLocation
    5Posts

    Re: [Release] Server Status

    nice script , but is there a way you can make it so fsocket doesnt get used (not all servers accept fsocket)

    i use a kind of script that shows a icon if it get a response
    is maybe easyer to add for some persones that dont know php or how to add it
    and because this is the status script , so maybe its the right place to post this to :D

    Code:
    <div><b>LowRate:<img alt="DemonPower LowRate" src="http://dehost.org/status/status.php?link=66.96.229.89:5816" border="0"><br></b></div>
    that will show a online status icon and text

    now lets explain what you need to change to make it works for you

    first you see this
    Code:
    LowRate:
    change this to the text you like , or to your server name
    then you can change this
    Code:
    alt="DemonPower LowRate"
    change this to your server name , so when the image doesnt display then it says your server name

    then you can change this ip to your ip
    Code:
    link=66.96.229.89:5816"
    change it to your ip and it will show your ip status

    then you see the last number
    Code:
    :5816
    This is the server port number of the game server or account server or any other port

    change it to the port you like to give the status of
    example

    66.96.229.89:80 means the http port
    66.96.229.89:3306 means mysql port

    if you got Questions over it , feel free to ask
    and i hope it helps , it is realy easy to inplent :D

    Thank you
    greets From The Crasher



Advertisement