Results 16 to 20 of 20
-
15-09-2012, 06:29 #16
-= TeamSpeak User =-
- Join Date
- Sep 2012
- Posts
- 13
Posting the first google results is not helping i know how to google too.
I wouldn't have posted this topic if i had no problems in donig this script.
-
15-09-2012, 18:29 #17
-= TeamSpeak Servant =-
- Join Date
- Oct 2003
- Location
- Germany
- Posts
- 2,298
The relevant code of the framework (the "libraries" directory) is around 350 KB large when uncompressed. Also, you want to display the values of several server properties such as uptime, version and current clients... which means that you need to actually parse and unescape the output from the TS3 ServerQuery interface. I agree that a simple "Server is online/offline" script would not require any classes or frameworks, but what you want is kind of advanced scripting.
Anyway... just my two cents.
-
15-09-2012, 23:25 #18
-= TeamSpeak User =-
- Join Date
- Sep 2012
- Posts
- 13
Do i need the whole TS3 PHP framework or can i just use 1 ot 2 libraries and and put them together and have one script?
If i really need to use the whole TS3 PHP Framework for this small script then i will stick with a normal online/offline" script.Last edited by SuperLOL; 16-09-2012 at 01:44.
-
17-09-2012, 06:02 #19
-= TeamSpeak Servant =-
- Join Date
- Oct 2003
- Location
- Germany
- Posts
- 2,298
The framework has a use-at-will architecture which means that you can just delete unused files, but since you want a very tiny and simple solution, I'd consider using this class instead:
http://addons.teamspeak.com/director...s-for-PHP.html
-
18-09-2012, 00:35 #20
-= TeamSpeak User =-
- Join Date
- Sep 2012
- Posts
- 13
I decided to go with the small offline/online script but i have a little problem. If i use this script on a TS3 server it shows the TS3 server always as offline any idea what the problem could be?
EDIT:Code:<?php if (!$socket = @fsockopen("serverIP", 9987, $errno, $errstr, 1)) { echo 'Offline'; } else { echo 'Online'; fclose($socket); } ?>
Ok found it out need to add "udp://serverIP" otherwise it uses tcp.Last edited by SuperLOL; 18-09-2012 at 00:53.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Can't get website server status script working
By Piteras00 in forum Server SupportReplies: 3Last Post: 26-08-2010, 18:35 -
Status Script Gesucht !!!
By freetsloon in forum [TeamSpeak 2] Server SupportReplies: 3Last Post: 07-05-2009, 18:26 -
New Status Script
By justinkwaugh in forum [TeamSpeak 2] Addons & ScriptsReplies: 2Last Post: 19-08-2005, 20:32 -
Server Status HTML Script
By nmysytes in forum [TeamSpeak 2] Addons & ScriptsReplies: 3Last Post: 04-06-2004, 18:00


Reply With Quote

