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!

Server Status.php

Banned
Banned
Joined
Dec 20, 2011
Messages
462
Reaction score
30
Open Notepad

Paste this in it
Code:
<? 
$ip = "SERVER IP"; 
$port = "7002"; 
if (! $sock = @fsockopen($ip, $port, $num, $error, 5)) 
echo '<B>Server <FONT COLOR=red>Offline</b></FONT>'; 
else{ 
echo '<B>Server <FONT COLOR=lime>Online</b></FONT>'; 
fclose($sock); 
} 
?>

Save it as status.php and upload it :D
 
Banned
Banned
Joined
Dec 20, 2011
Messages
462
Reaction score
30
I tried that one but it doesn't work for me..

And I'm using No-Ip to host my server so it doesn't show my server status.
 
Newbie Spellweaver
Joined
May 11, 2009
Messages
95
Reaction score
8
http://forum.ragezone.com/f705/release-simple-server-status-php-761087/

But nice try, won't update very well and if the server crashes but the program is still open it will say server is online.

That's because all fsock does is checks to see if the port is in use by the server, if the server crashes but the process remains running then ofc it's going to say it's online but you can't get around that, php wasn't written to handle anything as indepth as that. That and pokenet is a piece of sh** anyway and looks like it was coded by a Special person so again, theres no getting around it.

Thanks for the share anyway mrsunny even if something similar has already been posted!
 
Back
Top