Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Server Status

Elite Diviner
Joined
Feb 28, 2007
Messages
446
Reaction score
4
Code:
<?php $srvip = "[COLOR=Red]YourIP[/COLOR]";
$srvport = "[COLOR=Red]5816[/COLOR]";?>
<td align="left">[COLOR=Red]Eudemons[/COLOR]: 
   
<?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.
 
Initiate Mage
Joined
Dec 22, 2008
Messages
1
Reaction score
0
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?
 
DRGunZ 2 Creator
Loyal Member
Joined
Jan 21, 2007
Messages
4,493
Reaction score
161
hellhazor dont bump old threads, this is from the beginning of the year, too long.
 
Newbie Spellweaver
Joined
Feb 19, 2008
Messages
10
Reaction score
1
thx alot will help me when i get my server up (if i can :()
 
Initiate Mage
Joined
Jan 27, 2009
Messages
1
Reaction score
0
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
 
Back
Top