how to get stats from server?

Share your custom configs, homemade binds, ET related programs, etc.
Spam God
User avatar
Posts: 730
Joined: Sun Oct 21, 2007 0:00

how to get stats from server?

Postby Ajdija » Sun Jul 20, 2008 20:34

How to get stats from server in php?<


How to Integrate Live Server Stats in YOUR OWN Webpages:

Currently Supported for PAGE INTEGRATION:

Battlefield 1942 ( bf )
Call of Duty ( cod )
Counter-Strike ( cs )
Enemy Territory ( et )
Neverwinter Nights ( nwn )
Quake 3: Arena ( q3 )
Soldier of Fortune II ( sof )
Unreal Tournament 2003 ( ut03 )
Unreal Tournament 2004 ( ut04 )

http://www.rfhq.com/hqq/<GAME>wq_inc.php?ip=<IP>&port=<PORT>

How-To:

* First find the game you want to insert into your webpages. More games are in the works.
* Take the URL and substitute the <GAME> for whats inside the brakets of the game you want.
* Substitute the <IP> for your gameserver IP, and <PORT> with your game's port.
* Make sure your server supports PHP, and your page has a .php extension.

* Insert the following code where you want your server stats to appear:
<include>

* Example:
<include>

== That don't work for me ==
Image

Official Member
User avatar
Posts: 2497
Joined: Tue May 23, 2006 0:00
Location: In my pants (hopefully)

Postby Ammz » Sun Jul 20, 2008 21:39

You mean like our lovely -|PS|- Server Monitor made by Rapidhail?

Like this?: http://et.rapidhail.pl/
You say: "Great Shot!"
I say: "aimbot"
-|PS|-Ammz

Spam God
User avatar
Posts: 730
Joined: Sun Oct 21, 2007 0:00

Postby Ajdija » Mon Jul 21, 2008 14:58

ye I want try do smth like that :)

I boring only playing comp games -_-
and day after day I do more crazy things -_-
Image

Bronze Star
User avatar
Posts: 13
Joined: Sun Aug 10, 2008 0:00

Postby castdead » Fri Aug 22, 2008 11:34

I get the feeling, after some time of playing a game with a good scripting interface, I also end up doing that more then playing the game hehe.

Must be something wrong.

Official Member
User avatar
Posts: 215
Joined: Mon Jun 11, 2007 0:00
Location: Slovenia

Postby Union » Fri Aug 22, 2008 12:30

Send an UDP command with "+getStatus" but i'm not sure what bytes you have to send before and after that (i think the whole array must contain 0x00 0x00 0x00 0x00 +getStatus 0x00)

Have to find my java server monitor (i have it somewhere but... don't know where it is :P )
You, you and you, panic, the rest of you, come with me.

Return to PS Techz0ne

Who is online

Users browsing this forum: No registered users and 5 guests