Siggestion: Server... status on webpage?
a big-small suggestion... especialy usefull for those of us with sqrewy firewalls or isps... or both in my case...
Put it on the status page that currently only shows... forums statistics... or give it its own little spot in the corner, whatever..
Your using vb6? or what? cus such scripts are painfully easy last i checked...
just wondering... why you dont have it already...
Doesn't require a client revison or nuthing... nor should it involve major server changes...
Sorry if its been asked for before... but my internet is very troublesome... if the wrong person connects first(rare.... but messes my firewall) or my inet company is being weird... which is alot... and trying to connect as a way to tell if servers are up... is... need i say unreliable...
2 other usefull parts would be # of games(maybe theyre names) and whos connected... not that these are by any means even neerly as usefull... and consideribly more complex... so no rush...
- Login to post comments

Re: Siggestion: Server... status on webpage?
[quote="RogueThunder"]a big-small suggestion... especialy usefull for those of us with sqrewy firewalls or isps... or both in my case...
Put it on the status page that currently only shows... forums statistics... or give it its own little spot in the corner, whatever..
Your using vb6? or what? cus such scripts are painfully easy last i checked...
just wondering... why you dont have it already...
Doesn't require a client revison or nuthing... nor should it involve major server changes...
Sorry if its been asked for before... but my internet is very troublesome... if the wrong person connects first(rare.... but messes my firewall) or my inet company is being weird... which is alot... and trying to connect as a way to tell if servers are up... is... need i say unreliable...
2 other usefull parts would be # of games(maybe theyre names) and whos connected... not that these are by any means even neerly as usefull... and consideribly more complex... so no rush...[/quote]
Its less then eh, painfully easy. In fact, it borders on just painful. Server status will be added when feasible, thanks for the input however.
--Brad
>oooh it's tux
>get him
>me get him?
>are you insane?
Siggestion: Server... status on webpage?
[color=darkred]Along with this, would it be possible (more on the main page, perhaps) to put how many users are online (both on OPnPW the program and the forums)?
That'd be really cool! I can imagine putting the number of users on the forum wouldn't be nearly as difficult as the number of users on the program, though.[/color]
"You see now they're thinking about banning toy guns... And they're going to keep the fuckin' real ones!"
[url=http//bash.org/?239151]Repeating this will totally get you laid.[/url]
Siggestion: Server... status on webpage?
[quote="Saber"][color=darkred]Along with this, would it be possible (more on the main page, perhaps) to put how many users are online (both on OPnPW the program and the forums)?
That'd be really cool! I can imagine putting the number of users on the forum wouldn't be nearly as difficult as the number of users on the program, though.[/color][/quote]
Its theoreticly possible, and I'll do it eventually. But the server is not web-based, and is on another location other than the site. So communications between them have to be...interesting.
>oooh it's tux
>get him
>me get him?
>are you insane?
Siggestion: Server... status on webpage?
Heres something very usefull for you guys.
A little php script, that tells if opnpw is online...(Discounting a few php hosts that dont allow this kind of script, or have some... issues.)
Ive tested it using the dns's that the client displays, and the ports from the router issue thread i found in here somewhere...
---------------------------------------------------------------------------------
<?
$uptime = 'uptime';
$location = ("drotain.dyndns.org:4050");
list($ip, $port) = split(":",$location);
$running = fsockopen($ip, $port, $errno, $errstr, 30);
if (!$running)
{
$status_color = "red";
$status = OFFLINE;
}
else
{
fclose($running);
$status_color = "green";
$status = ONLINE;
}
?>
>Server Is: <? echo $status ?>
------------------------------------------------------------------------------------
i tested this script when defalt was up and backup was down, with the dns ip changed to backup's it showed offline, with it as it is here, it showed online. so im fairly sure ive got it workin right...
^.^ Helpfull? lol (this script works for alot of things lol)
I'm a pockyless otaku... bah, stupid dairy allergy.
Siggestion: Server... status on webpage?
[Edited]
I don't want to sound like a critical jerk so I'll sparey ou the technical dissertation, there are some problems with the way that works. However, it was how it was done the first time. Server versions 1.0.0.67 and 65 both have Small Built in HTTP servers that would respond to this exact [well slgihtly different formatted] request, just an open socket. However, there are some things that I don't like aobut this method, and I'm going to wait until I can do it exactly how I want. In a method and manner that will be robust and clean, little server overhead, and still provide the functionality to pass data between the two.
Thanks.
>oooh it's tux
>get him
>me get him?
>are you insane?