05-21-2010, 02:55 AM (This post was last modified: 05-21-2010, 02:55 AM by DNG.)
(05-21-2010, 01:23 AM)realchamp Wrote:
(05-21-2010, 01:11 AM)DNG Wrote:
(05-21-2010, 12:28 AM)realchamp Wrote: Install them? Just run the script on your webserver with PHP 5.0 <= installed.
This is the point, i have a web-hosting in php + Gamerserver in Win7 ultimate @ home,,
what to do?? i am confused!!!!
Put the PHP file in your web folder(htdocs) and open it with your browser(http://localhost/query.php). Ofcause you'll need to make some changes to what it shall query
I thought of the localhost, but how to make it online, i think there are some Microsoft tools i have to install, unfortunately i am not familiar with them
(05-21-2010, 12:28 AM)realchamp Wrote: Install them? Just run the script on your webserver with PHP 5.0 <= installed.
This is the point, i have a web-hosting in php + Gamerserver in Win7 ultimate @ home,,
what to do?? i am confused!!!!
Put the PHP file in your web folder(htdocs) and open it with your browser(http://localhost/query.php). Ofcause you'll need to make some changes to what it shall query
I thought of the localhost, but how to make it online, i think there are some Microsoft tools i have to install, unfortunately i am not familiar with them
Open your port 80 and allow whatever webserver you're using to go through your firewall.
(05-21-2010, 12:28 AM)realchamp Wrote: Install them? Just run the script on your webserver with PHP 5.0 <= installed.
This is the point, i have a web-hosting in php + Gamerserver in Win7 ultimate @ home,,
what to do?? i am confused!!!!
Put the PHP file in your web folder(htdocs) and open it with your browser(http://localhost/query.php). Ofcause you'll need to make some changes to what it shall query
I thought of the localhost, but how to make it online, i think there are some Microsoft tools i have to install, unfortunately i am not familiar with them
Open your port 80 and allow whatever webserver you're using to go through your firewall.
how to?
& do i have to do portforwarding for the game as well??
and what about the safety measurement?
Do i need to do some actions to be in the safe side, to keep hackers away from my network
05-21-2010, 04:29 AM (This post was last modified: 05-21-2010, 04:29 AM by realchamp.)
(05-21-2010, 03:28 AM)DNG Wrote:
(05-21-2010, 03:11 AM)realchamp Wrote:
(05-21-2010, 02:55 AM)DNG Wrote:
(05-21-2010, 01:23 AM)realchamp Wrote:
(05-21-2010, 01:11 AM)DNG Wrote:
(05-21-2010, 12:28 AM)realchamp Wrote: Install them? Just run the script on your webserver with PHP 5.0 <= installed.
This is the point, i have a web-hosting in php + Gamerserver in Win7 ultimate @ home,,
what to do?? i am confused!!!!
Put the PHP file in your web folder(htdocs) and open it with your browser(http://localhost/query.php). Ofcause you'll need to make some changes to what it shall query
I thought of the localhost, but how to make it online, i think there are some Microsoft tools i have to install, unfortunately i am not familiar with them
Open your port 80 and allow whatever webserver you're using to go through your firewall.
how to?
& do i have to do portforwarding for the game as well??
and what about the safety measurement?
Do i need to do some actions to be in the safe side, to keep hackers away from my network
Just like you would open your game ports. But if it is LAN only you won't need to portforward anything at all.
Safety is fine. Just don't run a FTP server without encrypted data. EDIT: Or anything else!
I'm trying to intergrate this as part of a php web panel, and want to display the current status of the server (online/offline/updating). I'm trying to combine this with a server status script I found, but it returns the status as online even if the server isn't responding
PHP Code:
<?php if ($sock = @fsockopen($_ip, $_port, $num, $error, 5))
{
05-26-2010, 11:37 PM (This post was last modified: 05-27-2010, 12:12 AM by Nomarky.)
Great, I'll test it out
Ok, the problem I have is that if the server is crashed/not responding it still shows as online, with blank map and players:
Online
Map:
Players: /
But if I close the server down, it correctly shows as offline. Is there a way to add a check so that the server shows as online only if it responds to the query? Or better yet shows as 'Not Responding'?
(05-26-2010, 11:37 PM)Nomarky Wrote: Great, I'll test it out
Ok, the problem I have is that if the server is crashed/not responding it still shows as online, with blank map and players:
Online
Map:
Players: /
But if I close the server down, it correctly shows as offline. Is there a way to add a check so that the server shows as online only if it responds to the query? Or better yet shows as 'Not Responding'?
It shouldn't show up as "online" if it is down, if the server is crashed it should show up as "offline".
(05-27-2010, 04:03 AM)realchamp Wrote: It shouldn't show up as "online" if it is down, if the server is crashed it should show up as "offline".
If the server has crashed and the console is frozen, it still shows the status as online:
Server is online and running with /
It only shows as offline I stop the server.
Well the server is still running. But you could check werether if the amount of players is above 0. But if it is running and still working, it will show as offline.