Results 46 to 60 of 101
-
02-01-2010, 11:33 #46
-= TeamSpeak User =-
- Join Date
- Jan 2010
- Location
- Czech Republic
- Posts
- 1
Its possible runnig TS with this startscript without screen ?
Sorry for my english
-
02-01-2010, 13:34 #47
-= TeamSpeak Addict =-
- Join Date
- Aug 2008
- Location
- Whois
- Posts
- 597
Hi Marco,
this script required the package: "Screen".
I send this process to background only.
-
02-01-2010, 17:09 #48
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 2
Hey,
I do not know if I'm the only one but the versionscheck.sh is not working properly...
I'll post the output so you will see at once what is not working
as you can see the script is not waiting for anything and is done before the connection is established ...Code:xxxxx@xxxxxxx [~/ts3]# ./versionscheck.sh spawn telnet xxx.xxx.xxx.xxx 10011 login serveradmin XXXXXX use 1 serverinfo quit Trying xxx.xxx.xxx.xxx... Connected to xxx-xxx-xxx-xxx-xxxxxx (xxx.xxx.xxx.xxx). Escape character is '^]'. TS3 Connection closed by foreign host. xxxxx@xxxxxxx [~/ts3]# vi versionscheck.sh ######################################## # # # ! DO NOT EDIT THE FOLLOWING LINES ! # # # ######################################## set USER "login serveradmin " set HOST "xxx.xxx.xxx.xxx" set USE "use " set INFO "serverinfo" set timeout 0.5 global TELNET spawn telnet $HOST 10011 set telnet $spawn_id expect "Username:" send $USER$LOGIN\r expect "Server:" send $USE$VSERVERID\r expect "Info:" send $INFO\r expect "Quit:" send quit\r interact 44,1 Bot
As you can see I had to change the 127.0.0.1 because the host does not allow a telnet connection to localhost
-
02-01-2010, 17:34 #49
-= TeamSpeak Addict =-
- Join Date
- Aug 2008
- Location
- Whois
- Posts
- 597
If you have change this right?
Code:# ~~ Change the password! ~~ set LOGIN "CHANGE" # ~~ Change the Virtual Server ID ~~ set VSERVERID "1"
-
02-01-2010, 18:07 #50
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 2
Yes, of course that part is there too ...
I just had id opened in vi so it just showed the part posted earlier ...
The full file looks like that:
edit:Code:#!/usr/bin/expect -f #Teamspeak3 MultiStartscript # Version: 1.0 # Written by: # J. Daniel (/dev/null/ ?ka Pikniker ) # http://www.goxts.com # CHANGE THIS CONFIG FOR YOU OWN SERVERCONFIG # ~~ Change the password! ~~ set LOGIN "XXXXXXX" # ~~ Change the Virtual Server ID ~~ set VSERVERID "1" # ~~ END OF CONFIGURATION ~~ ######################################## # # # ! DO NOT EDIT THE FOLLOWING LINES ! # # # ######################################## set USER "login serveradmin " set HOST "xxx.xxx.xxx.xxx" set USE "use " set INFO "serverinfo" set timeout 0.5 global TELNET spawn telnet $HOST 10011 set telnet $spawn_id expect "Username:" send $USER$LOGIN\r expect "Server:" send $USE$VSERVERID\r expect "Info:" send $INFO\r expect "Quit:" send quit\r interact
OK I guess it is because I have to connect with my extern IP which is a bit slower ...
I set the timeout up to 1 and now it's working always ...Last edited by Simeon; 02-01-2010 at 18:14. Reason: Solution for ppl who have to connect extern
-
02-01-2010, 18:32 #51
-= TeamSpeak Addict =-
- Join Date
- Aug 2008
- Location
- Whois
- Posts
- 597
-
04-01-2010, 08:20 #52
-= TeamSpeak User =-
- Join Date
- Jan 2010
- Location
- Essen - NRW - Germany
- Posts
- 20
Hi, in line 247 of startscript.sh you used
instead ofCode:killall ts3server_linux_x86
and i had to use dos2unix on your files, otherwise it wouldn't run..Code:killall $SERVER
nice script!
greets
Kubax
-
04-01-2010, 12:42 #53
-= TeamSpeak User =-
- Join Date
- Jan 2010
- Location
- Essen - NRW - Germany
- Posts
- 20
Hi,
you must install tofrodos (apt-get install tofrodos) and run
then it should start normaly.Code:dos2unix startscript.sh dos2unix version.sh
-------------------------------------------------------
Hi, please report in english
EDIT:
for those who wonder why i'm double posting, preavious post got deleted, and my got truncated because of german translation (don't know why, but ok..)Last edited by kubax; 04-01-2010 at 12:58. Reason: English only
-
04-01-2010, 13:10 #54
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 10
not friendly to delete posts.
i tried tofrodos.... it works
THX
-
04-01-2010, 13:18 #55
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Posts
- 7,762
kubax & samson82 this forum is english only. Atm we don't allow other languages.
So you got edited or deleted.
-
04-01-2010, 14:00 #56
-= TeamSpeak User =-
- Join Date
- Jan 2010
- Location
- Essen - NRW - Germany
- Posts
- 20
I knew that, but i thought it doesn't hurt anyone if i'll translate my post into german, because the post i answered to was german... also i posted it in english first.
but, if this is your way of user friendly, i'll only write in english now..
EDIT:
btw. sorry for going offtopic...
-
04-01-2010, 21:17 #57
-= TeamSpeak User =-
- Join Date
- Jan 2010
- Location
- berlin
- Posts
- 10
hi i get always the answer
"Permission denied"
I don't know why
-
04-01-2010, 21:18 #58
-= TeamSpeak User =-
- Join Date
- Jan 2010
- Location
- Essen - NRW - Germany
- Posts
- 20
Did you chmod +x the files?
if yes, you should check the serveradmin password, for typos...
-
04-01-2010, 21:28 #59
-= TeamSpeak User =-
- Join Date
- Jan 2010
- Location
- berlin
- Posts
- 10
ok that the solution now i get bad interpretet:
./versionscheck.sh: /usr/bin/expect: bad interpreter: No such file or directory
-
04-01-2010, 21:29 #60
-= TeamSpeak User =-
- Join Date
- Jan 2010
- Location
- Essen - NRW - Germany
- Posts
- 20
apt-get install expect
it's needed for the script... eventually it should take a note in first post.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[solved] i need some help with my ts server
By rebelwarrior in forum [TeamSpeak 2] Client SupportReplies: 3Last Post: 14-11-2008, 00:34 -
Server stops responding
By Xeroed in forum [TeamSpeak 2] Server SupportReplies: 10Last Post: 27-09-2006, 04:08 -
Friends can't connect
By shadow127 in forum [TeamSpeak 2] Server SupportReplies: 86Last Post: 01-01-2006, 20:45 -
Server
By lars-andre-petersen in forum [TeamSpeak 2] Server SupportReplies: 70Last Post: 26-09-2005, 11:54 -
Scheisse habe QDSL alles geht nur keine REG
By Creeper in forum [TeamSpeak 2] Server SupportReplies: 6Last Post: 29-08-2002, 09:06


Reply With Quote
i work only on 127.0.0.1 but thanks for the info!
