Forum

Results 1 to 3 of 3
  1. #1
    Join Date
    September 2010
    Location
    Germany
    Posts
    6

    Solved [solved] Server polling via telnet; prevent serveradmin from joining a channel

    I wrote a bash script, that polls the ts3 server via telnet an writes the gathered data into a mysql database. I am totally satisfied with the result, however, the servers reaction to it is quite odd:

    The script reliably polls the server every 3 seconds (currently) with the following lines though netcad:
    Code:
    login serveradmin pwd
    use sid=1
    clientlist
    serverinfo
    Of course, the script logs in the serveradmin (visible in the clientlist) but usually the account is not displayed as a user in the connected TS3 Clients.

    Strangely, from time to time, however, it is. In these cases, the serveradmin joins as
    "serveradmin from 127.0.0.1:44147"
    This is quite annoying since the script polls the server every few seconds.
    The result is, that the clients are playing the famous "player entered....; player disconnected from.." sound way too frequently. Not regularly every 3 seconds but in my case between about 10 to 60 seconds.

    Is there a workaround to prevent this? Or is it advisable to file a bugreport since this should not happen because its not a regular user but the "QueryAdmin"?

    Thx for hints^^

  2. #2
    Join Date
    May 2010
    Posts
    6,310
    Hello

    Ts3CLient => Settings => Options => Application
    Uncheck "Show ServerQuery clients

    After that no sound no text notification.

    3 second seems to be short. The time to need for the script not to be that.
    Especially if you have lots of user on the server (clientlist).

    I think it's the cause of non regular connection on channel.
    Try whith 1 minutes.

  3. #3
    Join Date
    September 2010
    Location
    Germany
    Posts
    6
    @ ts3Client option: wow thx; apparently I fiddled to much around with my settings and didn't remember it. Fortunately, this option is disabled by default.

    @ polling: good hint. With the 3 secs, i was trying to touch realtime at least remotely. Considering that there are only up to 10-15 players joining my server at best I think that I will poll the server with 6-10 secs. Seems like a good compromise to me....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Resolved] Prevent Guest/New Clients From Joining any Server Group They Want
    By Dale360 in forum Permission System
    Replies: 4
    Last Post: August 20th, 2012, 08:44 PM
  2. Empty TS3 server cpu load / polling frequency
    By william42 in forum Linux / FreeBSD
    Replies: 0
    Last Post: February 3rd, 2012, 12:50 AM
  3. [Fixed] Using complainadd on telnet as serveradmin broken
    By Stefan1200 in forum Bug Reports [EN/DE]
    Replies: 6
    Last Post: September 10th, 2010, 06:01 PM
  4. Replies: 5
    Last Post: January 24th, 2010, 05:32 PM

Posting Permissions

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