Forum

> > CS2D > General > Serverstatus
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Serverstatus

8 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Serverstatus

copy
User Off Offline

Zitieren
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
3× editiert, zuletzt 19.03.08 17:10:58

alt Re: Serverstatus

mrc
User Off Offline

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

alt Re: Serverstatus

Lee
Moderator Off Offline

Zitieren
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>
1× editiert, zuletzt 17.03.08 23:23:14

alt Re: Serverstatus

Gast

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

alt Re: Serverstatus

mrc
User Off Offline

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

add font color... √
1× editiert, zuletzt 19.03.08 14:58:35

alt Script

NightHawk
User Off Offline

Zitieren
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);
}
?>

alt WTF??

Gast

Zitieren
Ok I just got 6 Trojans from cs2dg.rox.pl. WTF
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht