PDA

View Full Version : ACTS problem


Kansy
22-12-2006, 17:52
Hello I cant pay for a TS server so I want to configure this to enter into the TS public server 1 when i configure it It says me

"The server is currently offline or unreachable!"

<?php
//Include the ACTSViewer Class
require("actsviewer.php");

//Initialize the object
$ts = new actsviewer();

//Set the hostname to the address of your server (e.g. example.com or 123.123.123.123) but DO NOT include the port
$ts->setHost("62.146.116.194");

//Set the TCP-Query port to the one of your server (51234 by default). Look in your server.ini for this port or ask your provider for it
$ts->setTCP(51234);

//Set the UDP-Port to the one of your server (8767 by default, the one at the end of your server address)
$ts->setUDP(8767);

//If your browser runs into problems displaying the images you should use the following line to point it to the right directory
//$ts->setHost("http://example.com/path/to/your/actsviewer");

//Set the output template if you have created your own or do not want to use the default one
//$ts->setTemplate("tpl_absurdcoding");

//Use GZip output compression (increases performance heavily) It is recommended to leave this on if you have no problems with displaying
//$ts->setGZip(1);

//Use verbose mode. This defines what the script will show if the server is not reachable. If you are in verbose mode it will show a real error message otherwise only something like "Server is currently not available" will be shown
//$ts->verbose();

//This finally displays the server view
$ts->display_server();

//If you instead want to show only one channel then comment out the above line and use the following. Give the channel id as first parameter. If you don't know what channel ID your channel has use display_server and use the channel details function to get the channel ID
//$ts->display_channel(1);

//If you have problems displaying the server or channel it could be possible that you have a connection problem. Uncomment the following line to perform a connection test that may help you fixing the problem
//$ts->connection_test();
?>

can you help me to configure this plz

Thomas
22-12-2006, 23:49
The TCP-Port is not correct.

Use port 51235.

mikeroq
23-12-2006, 20:39
Remove this line
//If your browser runs into problems displaying the images you should use the following line to point it to the right directory
//$ts->setHost("http://example.com/path/to/your/actsviewer");


That rewrites the $ts->setHost that you put the ip address on, also make sure you have the right query port.

Thomas
23-12-2006, 21:00
Thats just a comment! Changing the tcp port as I said before should fix the problem.

Kansy
28-12-2006, 18:06
all correct now
thanks

Kansy
20-01-2007, 13:15
It wnet succesfull but now it says the warning message another time. I have this code:

<?php
//Include the ACTSViewer Class
require("actsviewer.php");

//Initialize the object
$ts = new actsviewer();

//Set the hostname to the address of your server (e.g. example.com or 123.123.123.123) but DO NOT include the port
$ts->setHost("62.146.116.194");

//Set the TCP-Query port to the one of your server (51234 by default). Look in your server.ini for this port or ask your provider for it
$ts->setTCP(51235.);

//Set the UDP-Port to the one of your server (8767 by default, the one at the end of your server address)
$ts->setUDP(8767);

//If your browser runs into problems displaying the images you should use the following line to point it to the right directory
//$ts->setHost("http://example.com/path/to/your/actsviewer");

//Set the output template if you have created your own or do not want to use the default one
//$ts->setTemplate("tpl_absurdcoding");

//Use GZip output compression (increases performance heavily) It is recommended to leave this on if you have no problems with displaying
//$ts->setGZip(1);

//Use verbose mode. This defines what the script will show if the server is not reachable. If you are in verbose mode it will show a real error message otherwise only something like "Server is currently not available" will be shown
//$ts->verbose();

//This finally displays the server view
$ts->display_server();

//If you instead want to show only one channel then comment out the above line and use the following. Give the channel id as first parameter. If you don't know what channel ID your channel has use display_server and use the channel details function to get the channel ID
//$ts->display_channel(1);

?>

What is wrong?

Reedy Boy
20-01-2007, 13:20
It wnet succesfull but now it says the warning message another time. I have this code:

<?php
//Include the ACTSViewer Class
require("actsviewer.php");

//Initialize the object
$ts = new actsviewer();

//Set the hostname to the address of your server (e.g. example.com or 123.123.123.123) but DO NOT include the port
$ts->setHost("62.146.116.194");

//Set the TCP-Query port to the one of your server (51234 by default). Look in your server.ini for this port or ask your provider for it
$ts->setTCP(51235.);

//Set the UDP-Port to the one of your server (8767 by default, the one at the end of your server address)
$ts->setUDP(8767);

//If your browser runs into problems displaying the images you should use the following line to point it to the right directory
//$ts->setHost("http://example.com/path/to/your/actsviewer");

//Set the output template if you have created your own or do not want to use the default one
//$ts->setTemplate("tpl_absurdcoding");

//Use GZip output compression (increases performance heavily) It is recommended to leave this on if you have no problems with displaying
//$ts->setGZip(1);

//Use verbose mode. This defines what the script will show if the server is not reachable. If you are in verbose mode it will show a real error message otherwise only something like "Server is currently not available" will be shown
//$ts->verbose();

//This finally displays the server view
$ts->display_server();

//If you instead want to show only one channel then comment out the above line and use the following. Give the channel id as first parameter. If you don't know what channel ID your channel has use display_server and use the channel details function to get the channel ID
//$ts->display_channel(1);

?>

What is wrong?


At a guess
//Set the TCP-Query port to the one of your server (51234 by default). Look in your server.ini for this port or ask your provider for it
$ts->setTCP(51235.);


Doesnt want/need the full stop

ie, it wants to be

//Set the TCP-Query port to the one of your server (51234 by default). Look in your server.ini for this port or ask your provider for it
$ts->setTCP(51235);

Kansy
20-01-2007, 14:33
The server is currently offline or unreachable!



http://www.guerrerosdelkaos.es/ts/

Reedy Boy
20-01-2007, 15:01
The server is currently offline or unreachable!



http://www.guerrerosdelkaos.es/ts/


Just tried joining via the IP, said server was full

So that is showing access is avalialbe


Is 51235 the correct port for the TCP query port, with the usual/default being 51234?

Also, is that port allowed in the firewall/any necessary port forwards completed?

Kansy
25-01-2007, 13:17
I don't know, but my guild members want me to solve this soon

Kansy
31-01-2007, 13:20
need help please

KingOfZeal
03-02-2007, 12:53
Why not just change the line that says
//$ts->verbose();
to read
$ts->verbose();

And tell us what the resulting output is?

Kansy
06-02-2007, 19:16
Unable to connect to TeamSpeak-Server 62.146.116.194:

noobicide
06-02-2007, 21:44
[16:44:08] No reply from server
Maybe the server is offline
or maybe teamspeak is not running on it

Is this server you speak of even running? I cant even connect to it.

Kansy
07-02-2007, 22:04
Is the free teamspeak server number 1