Opeth Posted October 5, 2013 Share Posted October 5, 2013 Hi, Im running a website/board, there is any script/code that i can use for check Game Server + Login status (on/off) from another game server? Link to comment Share on other sites More sharing options...
0 Akken Posted October 5, 2013 Share Posted October 5, 2013 add the another server ip in http://www.status.blackout-gaming.net/ with ports and take the code and add it on site Link to comment Share on other sites More sharing options...
0 ^Wyatt Posted October 5, 2013 Share Posted October 5, 2013 (edited) Hi, Im running a website/board, there is any script/code that i can use for check Game Server + Login status (on/off) from another game server? Do you mean... a php code like this? <?php $da = fsockopen("udp://176.31.97.77", 2106, $errno, $errstr, 1); if($da >= 1){ echo "<center><span style='color:green;'>Online</span></center>";//login } else{ echo "<center><span style='color:red;'>Offline</span></center>"; } fclose($da); $de = fsockopen("udp://176.31.97.77", 7777, $errno, $errstr, 1); if($de >= 1){ echo "<center><span style='color:green;'>Online</span></center>";//game } else{echo "<center><span style='color:red;'>Offline</span></center>";} fclose($de); ?> Edited October 5, 2013 by ^Wyatt Link to comment Share on other sites More sharing options...
0 Opeth Posted October 5, 2013 Author Share Posted October 5, 2013 Do you mean... a php code like this? <?php $da = fsockopen("udp://176.31.97.77", 2106, $errno, $errstr, 1); if($da >= 1){ echo "<center><span style='color:green;'>Online</span></center>";//login } else{ echo "<center><span style='color:red;'>Offline</span></center>"; } fclose($da); $de = fsockopen("udp://176.31.97.77", 7777, $errno, $errstr, 1); if($de >= 1){ echo "<center><span style='color:green;'>Online</span></center>";//game } else{echo "<center><span style='color:red;'>Offline</span></center>";} fclose($de); ?> Im not good at .php but I will test it, thank you. Link to comment Share on other sites More sharing options...
Question
Opeth
Hi,
Im running a website/board, there is any script/code that i can use for check Game Server + Login status (on/off) from another game server?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now