PDA

View Full Version : Server Status HTML Script


nmysytes
01-06-2004, 02:37
I've searched and searched.....and I'm at an end. I know about webpost, phpblocks and brain. Our TS server is purchased and we do not have access to the actual server for installation of any 3rd party apps, so, does anyone know of any raw html scripts for a TS server status? TIA

McAfee
01-06-2004, 03:17
I believe it's impossible to design a pure html script for quering teamspeak servers. Basicly you are limited to using either jscript or vbscript, and I believe none have access to initiating connections.

Even if initiating connections was possible you would have the delay problem.
The teamspeak content would be rendered on the client side and would take some time longer then the rest of the page.

What you are asking for probably doesn't currently exist, but this doesn't mean it can't be done. Another client-side approach could be used. Like browser plugins for example, or maybe a macromedia flash apps. There are a couple of options, but none would be easy.

You should note that your webpost script can be elsewhere, it doesn't have to be on the same server as the teamspeak server. For example gllcTS2 has a public webpost script. This means you don't even need to install a webpost script you could use Gryphon's. go here for info:
http://php.gryphonllc.com/gllcts2

Brain
01-06-2004, 07:48
Well, first of all I'm not distributing my projects as Open Source anymore.

Second, client-side queries come with a load of problems.
Imagine you have a well-visited site, say 1000 hits per hour. You'd create an immense traffic with these client-side queries. It gets expensive and more importantely, puts a great load on the server. It's better to have the information on the TS server itself using Gryphon's webpost script. It uses a MySQL DB to cache information for high-traffic sites if I'm not mistaken.

Third, since you have a rental server your TS hoster might have blocked access to the TCP Query port altogether so easy webpost scripts are impossible to use. You'd need one that connects just like a TS client, goes through all the channels and collects channel names and user names. However this one would be quite a bother on the people using the server.

Imilkowski
04-06-2004, 18:00
You can do a socket connection via php and get several server details with a tcp query... I used the superadmin account but I´m not quite sure if it works with a normal admin account ...

You have to connect to the port 51234.