Forum

> > CS2D > Servers > Server Status
Forums overviewCS2D overview Servers overviewLog in to reply

English Server Status

11 replies
To the start Previous 1 Next To the start

old Server Status

webaxebg
User Off Offline

Quote
Hi guys, I'm new here.
I'm trying to find a working server status script that shows players, status and map. I tried with Lgsl, Qstats but neither of them worked :(. Someone pls help me

old Re: Server Status

J_Lucas
User Off Offline

Quote
IMG:https://www.gs4u.net/350x20/cs2d/5.135.54.219:12727.png

1
[img]www.gs4u.net/350x20/cs2d/******.png[/img]
********** = your server IP

hope helped you

old Re: Server Status

webaxebg
User Off Offline

Quote
PHP is a web language. I need the PHP script so I can post information about my server in the website

old Re: Server Status

SD
User Off Offline

Quote
file cs2d PHP: Viewing server data is quite old and unstable but still usable. Just close some loops and add a proper timeout (otherwise PHP may hang). If you're smart enough, use this to parse the data. Unreal Software has some public includes which are hidden from mortals.

old Re: Server Status

webaxebg
User Off Offline

Quote
I get error when using the script.
1
2
3
4
5
Warning: fwrite(): supplied argument is not a valid stream resource in C:\AppServ\www\stats\server.php on line 40

Warning: fread(): supplied argument is not a valid stream resource in C:\AppServ\www\stats\server.php on line 41
Timeout! Server does not answer!
Maybe it is offline or busy. Try again later.

old Re: Server Status

SD
User Off Offline

Quote
To grant a PHP write permissions in a directory owned by you, the only option you have is to set the directory's permissions to 0777 (world-writeable). Also, switch to Linux asap.

old Re: Server Status

MostAfa
User Off Offline

Quote
If he wants something like this: http://puu.sh/1QdK0 (The live status on the corner). That's PHP. I'll help you make a customized one. Xfire me: mostafa221
Btw, for players, I also have scripted something like this: http://puu.sh/1QdGz And yes that's all by Php except getting Pings were by LUA which is a script that prints it to a file then sorts it into the table.
edited 1×, last 20.01.13 08:00:34 pm

old Re: Server Status

SD
User Off Offline

Quote
But it's just user Apache uwu's script, isn't it? I remember helping you to fix it. I'm afraid he can't run this either because he is hosting on Windows or just because something went wrong.

old Re: Server Status

MostAfa
User Off Offline

Quote
user SD has written
But it's just user Apache uwu's script, isn't it? I remember helping you to fix it. I'm afraid he can't run this either because he is hosting on Windows or just because something went wrong.


I was looking at your post that he have to set permissions on it. That's why I thought it was Linux.
Yes it is user Apache uwu's script but I improved it again myself into my panel.
Anyways, if he is using Windows then that's something else.
He will just have to use the script you provided. Thanks.

old Re: Server Status

webaxebg
User Off Offline

Quote
Problem solved, the topic can be locked now

Admin/mod comment

We don't lock topics unless they get spammed. Please remember that and don't ask for locking. Thanks! /DC
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview