Forum

> > CS2D > General > Serverstatus
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Serverstatus

8 replies
To the start Previous 1 Next To the start

old Serverstatus

copy
User Off Offline

Quote
from now on you can check all serverstatus online

http://gold.nex.progranism.com/cs2d.php?ip=87.106.226.139&port=36964

just change the ip and the port for each server you wanna view

you can further change some settings :

&ip=IP_Server
&port=PORT_Server
&img=0/1 - Image Map
&fow=0/1 - Fog of War info (Default 0)
&wm=0/1 - War Mode info (Default 0)
&color=Color - BackGround Color (Defeault Transparent)
&size=size - Font Size (Default 12)
&img=0/1 - Image Map (Default 1)
&fcolor - Font Color (Default Black)

for example :


http://gold.nex.progranism.com/cs2d.php?ip=87.106.226.139&port=36964&img=1&fow=1&wm=1&color=00FF00&size=12
or

http://gold.nex.progranism.com/cs2d.php?ip=87.106.226.139&port=36966

proudly presented by www.cs2dg.rox.pl
special thx to TMK

greez copy'sright@2008
edited 3×, last 19.03.08 05:10:58 pm

old Re: Serverstatus

mrc
User Off Offline

Quote
This is really awsome!
Nice job!
Where we can find this script? √

old Re: Serverstatus

Lee
Moderator Off Offline

Quote
eh copy, since the scripts already using the same format as the get request why not just build a UI and have it pass all the parameters through GET.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<form name="input" action="cs2d.php" method="get">
IP: 
<input type="text" name="ip"></br>
Port: 
<input type="text" name="port"></br>
Map Image: 
<input type="text" name="img"></br>
Show Fog of war 0/1: 
<input type="text" name="fow"></br>
Show Warmode 0/1: 
<input type="text" name="wm"></br>
Color: 
<input type="text" name="color"></br>
Size: 
<input type="text" name="size"></br>
<input type="submit" value="Submit">
</form>
edited 1×, last 17.03.08 11:23:14 pm

old Re: Serverstatus

Guest

Quote
Changed:
size in pixels (12 default)
color (default transparent)

old Re: Serverstatus

mrc
User Off Offline

Quote
Remove the spam in the image... ×
that's not cool...

add font color... √
edited 1×, last 19.03.08 02:58:35 pm

old Script

NightHawk
User Off Offline

Quote
For dedicated server hosters, this simple script will just show whether the server is off or on.

<?php
$ip = Your game&#8217;s ip here;
$port = Your game&#8217;s port here;

if (! $sock = @fsockopen($ip, $port, $num, $error, 5))
echo "<B><FONT COLOR=red>The server is current offline.</b></FONT>";
else{
echo "<B><FONT COLOR=green>Yay! The server is online!</b></FONT>";
fclose($sock);
}
?>

old WTF??

Guest

Quote
Ok I just got 6 Trojans from cs2dg.rox.pl. WTF
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview