Forum

Results 1 to 5 of 5
  1. #1
    Join Date
    April 2017
    Posts
    3

    Channel ownership / serverquery temporary channel creation

    Hello,

    I'm trying to create temporary channels using serverquery.

    While creating the channel (and moving a client into it) works fine,
    the channels behave not quite like temporary channels.

    A client can join and leave them and they stay "alive" (while being empty).

    But once my serverquery connection (it's a python script using the ts3bot lib) looses the connection,
    the channel behaves like a normal temporary channel.

    (And I've tried setting the channelgroup of the player to ChannelAdmin)

    Is there a way to create temporary channels using the serverquery (and transfer the ownership to a client)?

    Any help is appreciated,
    - Thanks

  2. #2
    Join Date
    June 2008
    Posts
    18,151
    Quote Originally Posted by MisterErwin View Post
    the channels behave not quite like temporary channels.
    That's not quite true. Your ServerQuery is in the channel.

    It behaves like you've created a temporary channel via client.
    Your ServerQuery is in the channel after the channel was created and stays there till you move the Query out of that channel or disconnect from server.

    Another behavior would not make sense, because the channel would be deleted exactly at the same moment it was created, when there is no user in it.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  3. #3
    Join Date
    April 2017
    Posts
    3
    Thanks for the fast reply,
    (and sorry for the double post)

    That behavior makes sense (now that I think about it).

    And now to another question:
    When I create a channel (and "subscribe" to all channel events), the answers is kinda messed up.
    (I marked sent lines by a prefixed >)
    Code:
    >servernotifyregister event=channel id=0
    >channelcreate channel_name=abc channel_flag_temporary=1
    cid=23917
    notifychannelcreated cid=23917 cpid=0 channel_name=abc channel_order=23916 invokerid=69 invokername=serveradmin\sfrom\s<yeah - that's me>:60447 invokeruid=serveradmin
    notifyclientmoved ctid=23917 reasonid=1 invokerid=0 invokername=Server clid=69
    notifyclientmoved ctid=23917 reasonid=1 invokerid=0 invokername=Server clid=69
    notifychanneldeleted invokerid=0 invokername=Server cid=23916
    error id=0 msg=ok
    The fact that the return (error) is being sent after all notifies is somewhat strange.

    I was wondering if that is an expected behavior.

    And thanks

  4. #4
    Join Date
    June 2008
    Posts
    18,151
    The notification was faster than the reply that your channel was successfully created.
    Not what a user would expected , but the notification was the first thing in queue after you did send the command.

    ----------
    Before you ask. Yes we know that there is a duplicated line but this didn't made it on our "will be fixed list".
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  5. #5
    Join Date
    April 2017
    Posts
    3
    Thanks for the answer.
    And the notification was the 2nd thing. The first thing was the new channel id - that's why I was a bit surprised.

    So yet another point for hacky workarounds

    And thanks again for the help.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: April 21st, 2016, 09:04 PM
  2. Replies: 4
    Last Post: December 14th, 2013, 09:17 PM
  3. Replies: 2
    Last Post: January 12th, 2011, 05:20 PM
  4. [BUG] Sub-Channel earn no Temporary Channel rights.
    By RefleX-mrl in forum Bug Reports [EN/DE]
    Replies: 1
    Last Post: April 26th, 2010, 10:38 PM
  5. Replies: 8
    Last Post: January 14th, 2010, 10:36 AM

Tags for this Thread

Posting Permissions

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