Community Forums Today's Posts     Member List     Archive    
Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 46 to 60 of 101
  1. #46
    Join Date
    Jan 2010
    Location
    Czech Republic
    Posts
    1
    Its possible runnig TS with this startscript without screen ?

    Sorry for my english

  2. #47
    Join Date
    Aug 2008
    Location
    Whois
    Posts
    597
    Hi Marco,

    this script required the package: "Screen".
    I send this process to background only.

  3. #48
    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

    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 the script is not waiting for anything and is done before the connection is established ...

    As you can see I had to change the 127.0.0.1 because the host does not allow a telnet connection to localhost

  4. #49
    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"

  5. #50
    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:
    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
    edit:

    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

  6. #51
    Join Date
    Aug 2008
    Location
    Whois
    Posts
    597
    Quote Originally Posted by Simeon View Post
    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:
    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
    edit:

    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 ...
    Ahh ok nice i work only on 127.0.0.1 but thanks for the info!

  7. #52
    Join Date
    Jan 2010
    Location
    Essen - NRW - Germany
    Posts
    20
    Hi, in line 247 of startscript.sh you used

    Code:
    killall ts3server_linux_x86
    instead of

    Code:
    killall $SERVER
    and i had to use dos2unix on your files, otherwise it wouldn't run..

    nice script!

    greets
    Kubax

  8. #53
    Join Date
    Jan 2010
    Location
    Essen - NRW - Germany
    Posts
    20
    Hi,

    you must install tofrodos (apt-get install tofrodos) and run

    Code:
    dos2unix startscript.sh
    dos2unix version.sh
    then it should start normaly.

    -------------------------------------------------------
    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

  9. #54
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    10
    not friendly to delete posts.

    i tried tofrodos.... it works

    THX

  10. #55
    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.

  11. #56
    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...

  12. #57
    Join Date
    Jan 2010
    Location
    berlin
    Posts
    10
    hi i get always the answer
    "Permission denied"
    I don't know why

  13. #58
    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...

  14. #59
    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

  15. #60
    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

  1. [solved] i need some help with my ts server
    By rebelwarrior in forum [TeamSpeak 2] Client Support
    Replies: 3
    Last Post: 14-11-2008, 00:34
  2. Server stops responding
    By Xeroed in forum [TeamSpeak 2] Server Support
    Replies: 10
    Last Post: 27-09-2006, 04:08
  3. Friends can't connect
    By shadow127 in forum [TeamSpeak 2] Server Support
    Replies: 86
    Last Post: 01-01-2006, 20:45
  4. Server
    By lars-andre-petersen in forum [TeamSpeak 2] Server Support
    Replies: 70
    Last Post: 26-09-2005, 11:54
  5. Scheisse habe QDSL alles geht nur keine REG
    By Creeper in forum [TeamSpeak 2] Server Support
    Replies: 6
    Last Post: 29-08-2002, 09:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •