Looking for W:ET Server Status script.


(Indloon) #1

I’m looking for a PHP script or something to provide W:ET server status on my website. Is there one available? I have searched scripts in google and tested(phgstats,KPR),still I can find good script,is there any scripts what looks like trackbase server status?

:riflenade:


(Indloon) #2

Nobody can´t help?:frowning:


(system) #3

Tere Genert,

if you mean something like this http://kashka.staatsschutz.org/wolf/ , then i could ask Kashka to handout the code. It is PHP so it should run on most webservers and with a bit of PHP knowledge it is easy to enhance it a bit with more/other information.
If this is not what you mean, then you should post at least wich kind of information you want to show.


(Nail) #4

sorry I couldn’t find a backup of our PHP/Java script from www.enemy-territory.com, but I’m pretty sure I can contact the original author, I’ll try


(stebbi67) #5

This one is good. It shows the status on the server ( players per team, spectators, xp, ping, map, etc… ). It is easy to modify if you play a bit with the css files.

http://systats.or8.net/etlive/


(Crytiqal) #6

You could also use this one:

http://www.greycube.com/site/download.php?list.10

There is an example on the right side (Game Server) and you can click on it to show more details about the server.
It is a stand-alone version, and it should be highly customisable concerning layout and info display.


(Indloon) #7

Bump
Ok,tested them all.
But still it doesnt amaze me.
Paul,give me your TB system:D
E:Nail,did you got it?:stuck_out_tongue:


(Nail) #8

still waiting, sorry


(Indloon) #9

Np
If you ill get something,then Pm to me,OK?:penguin:


(Nail) #10

absotively


(Indloon) #11

Yey,I got own script now:d
http://genert.impact.pri.ee/ser/server.php?ip=188.165.209.117:29000
How to use:
You can type ANY W:ET server IP into it.
So if we wanna get The Lost Legion#1 [Xpsave] = 78.46.21.215:27961 server info,then:
http://genert.impact.pri.ee/ser/server.php?ip=78.46.21.215:27961

Levelshots pictures are stolen from Trackbase:D:D:D
Atm backround is also stoled from Trackbase,but I will remake desing soon,if I get more time.

But trying to figure out how to get rid of stupid color tags in title,tried array function…nothing…

Anyone got http://stats.wolfteam.pl/sigs.php this page soucre,cant find it in VSP:d


(Justice) #12

[QUOTE=Genert;329113]
Levelshots pictures are stolen from Trackbase:D:D:D
Atm backround is also stoled from Trackbase,but I will remake desing soon,if I get more time.[/QUOTE]

Bad, bad boy. :smiley:


(schnoog) #13

Dunno if someone needs some levelshots, but at
http://www.wolffiles.de/et_levelshots.zip more than 400 different are available.

Regards
Schnoog


(Indloon) #14

[QUOTE=schnoog;329178]Dunno if someone needs some levelshots, but at
http://www.wolffiles.de/et_levelshots.zip more than 400 different are available.

Regards
Schnoog[/QUOTE]

Thank you:)


(schnoog) #15

No problem , you`re welcome :slight_smile:

To get back to the topic:
A IMO very nice way to capture servers is the usage of qstat. Because it`s possible to define templated,
it should be no problem to create a look like you want.
For example the server viewer on wolffiles are wrapped qstat-outputs.
Nevertheless the current available qstat version handels a hugh amount of different gameserver.


(Indloon) #16

[QUOTE=schnoog;329266]No problem , you`re welcome :slight_smile:

To get back to the topic:
A IMO very nice way to capture servers is the usage of qstat. Because it`s possible to define templated,
it should be no problem to create a look like you want.
For example the server viewer on wolffiles are wrapped qstat-outputs.
Nevertheless the current available qstat version handels a hugh amount of different gameserver.[/QUOTE]

I´m Dupstep in SL forum
Bu I dont wanna use qstat.
I wanna use my own PHP scripts:D


(schnoog) #17

Unfortunaly I don`t know any php script to handle this.
Maybe you have to build up a very own script.
More information about this is given us by Paul :wink:
http://www.splashdamage.com/forums/showthread.php?t=21000

Regards
Schnoog

Edit: Crazy world… look what I found: http://caia.swin.edu.au/reports/060410A/CAIA-TR-060410A.pdf


(Indloon) #18

http://eun.su.am/proj/q3masterquery/q3masterquery.phps
Voila


(lamps) #19

Here you go, output looks like this (but it’s skinnable as you wish):

Download:
Game Server Status (including map screenshots) (ZIP) [25MB]
Game Server Status (ZIP) [88KB]


(Indloon) #20

[QUOTE=schnoog;329451]Unfortunaly I don`t know any php script to handle this.
Maybe you have to build up a very own script.
[/QUOTE]
Finnaly:
http://genert.impact.pri.ee/Track/query/
Query82=2.55
Query83=2.56
Query84=2.60(b)
The code is:


<?php
 
 
        $host="udp://etmaster.idsoftware.com";
        $port=27950;
 
        
                $sok=fsockopen($host, $port, $errno, $errstr, 20);
                
                if (!$sok) {
                        die("Unable to create socket: ".$host.":".$port." $errstr<br />");
                } else {
                        fwrite($sok, "\xFF\xFF\xFF\xFFgetservers 82 empty full");
 
                        $data=fread($sok, 4096);
                        fclose($sok);
                }
                
                
                $data = explode("\\", $data);
                
                for($i=0, $o=0; $i<count($data); $i++) {
                        if (strlen($data[$i])>=4) {
                                
                                $list_server[$o]['ip']=ord($data[$i][0]).".".ord($data[$i][1]).".".ord($data[$i][2]).".".ord($data[$i][3]);
                                
                                $list_server[$o]['port']=(ord($data[$i][4])*256) + ord($data[$i][5]);
                                
                                $o++;
                        }
                }
                
                foreach ($list_server AS $info) {
                        echo $info['ip'].":".$info['port']."<br />
";
                }
 

fwrite($sok, “\xFF\xFF\xFF\xFFgetservers 82 empty full”);
82 is 2.55,change it as you want.
Empty to full shows servers what are empty and what are full.