Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 8 of 8
  1. #1
    Join Date
    January 2015
    Location
    Germany
    Posts
    4

    Wrong sort of Channels with the Client Query Plugin

    Hey

    i try to program a App for Android. It should show all TS3 clients on the server including the channel. I get the data over telnet and the Client Query Plugin. But when i try to get the channel list over the "channellist" command the channels are unsorted.

    Example: My TS3 Server:

    Name:  ts3.PNG
Views: 658
Size:  74.0 KB

    The formatted output of the Client Query Plugin:

    Code:
    cid=1 pid=0 channel_order=9 channel_name=#NO\sREDERINO\s(Caps=SWAG) channel_flag_are_subscribed=1 total_clients=1
    cid=3 pid=0 channel_order=10 channel_name=#Weed-Island channel_flag_are_subscribed=1 total_clients=3
    cid=4 pid=0 channel_order=3 channel_name=#YOLORederinoSWAG# channel_flag_are_subscribed=1 total_clients=3
    cid=6 pid=0 channel_order=0 channel_name=#SWAG channel_flag_are_subscribed=1 total_clients=0
    cid=9 pid=0 channel_order=6 channel_name=[*spacer1]### channel_flag_are_subscribed=1 total_clients=0
    cid=10 pid=0 channel_order=1 channel_name=[*spacer2]### channel_flag_are_subscribed=1 total_clients=0
    cid=11 pid=0 channel_order=4 channel_name=Test#################################### channel_flag_are_subscribed=1 total_clients=0
    cid=12 pid=0 channel_order=11 channel_name=sdf channel_flag_are_subscribed=1 total_clients=0
    cid=14 pid=0 channel_order=12 channel_name=asd channel_flag_are_subscribed=1 total_clients=0
    cid=15 pid=0 channel_order=14 channel_name=sdfg channel_flag_are_subscribed=1 total_clients=0
    cid=16 pid=0 channel_order=15 channel_name=yolo channel_flag_are_subscribed=1 total_clients=0
    cid=17 pid=0 channel_order=16 channel_name=hör\sauf\sdamit!
    Server Query:

    Code:
    cid=6 pid=0 channel_order=0 channel_name=#SWAG total_clients=0 channel_needed_subscribe_power=0
    cid=9 pid=0 channel_order=6 channel_name=[*spacer1]### total_clients=0 channel_needed_subscribe_power=0
    cid=1 pid=0 channel_order=9 channel_name=#NO\sREDERINO\s(Caps=SWAG) total_clients=1 channel_needed_subscribe_power=0
    cid=10 pid=0 channel_order=1 channel_name=[*spacer2]### total_clients=0 channel_needed_subscribe_power=0
    cid=3 pid=0 channel_order=10 channel_name=#Weed-Island total_clients=3 channel_needed_subscribe_power=0
    cid=4 pid=0 channel_order=3 channel_name=#YOLORederinoSWAG# total_clients=3 channel_needed_subscribe_power=0
    cid=11 pid=0 channel_order=4 channel_name=Test#################################### total_clients=0 channel_needed_subscribe_power=0
    cid=12 pid=0 channel_order=11 channel_name=sdf total_clients=0 channel_needed_subscribe_power=0
    cid=14 pid=0 channel_order=12 channel_name=asd total_clients=0 channel_needed_subscribe_power=0
    cid=15 pid=0 channel_order=14 channel_name=sdfg total_clients=0 channel_needed_subscribe_power=0
    cid=16 pid=0 channel_order=15 channel_name=yolo total_clients=0 channel_needed_subscribe_power=0
    cid=17 pid=0 channel_order=16 channel_name=hör\sauf\sdamit! total_clients=0 channel_needed_subscribe_power=0
    So you see the Server Query output is sorted but channel_order is false and the Client Query Plugin is unsorted and the channel_order is false.

    How can i get the right channel order with the Client Query Plugin?

    Thanks for you help.

    Bye Tobias

  2. #2
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    The channel_order is absolutely correct.

  3. #3
    Join Date
    December 2009
    Location
    Germany
    Posts
    2,360
    Every cid has the right channel_order in both outputs.
    The only difference is the order of the lines itself, but they need to be sorted in any case, if needed for a Teamspeak viewer or something like that.

    But in fact the channel_order is strange compared to the real order in TS3 client, isn't it?

  4. #4
    Join Date
    January 2015
    Location
    Germany
    Posts
    4
    With the Client Query Plugin the channel_order is unsorted.

    Example the channel sorted like the Client Query Output:

    Code:
    #SWAG
    [*spacer2]###
    #YOLORederinoSWAG#
    Test####################################
    [*spacer1]###
    #NO\sREDERINO\s(Caps=SWAG)
    #Weed-Island
    sdf 
    asd 
    sdfg
    yolo
    hör\sauf\sdamit!
    They are sorted right when i use the Server Query.

  5. #5
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    The channel_order IS correct, the channel order isn't.

  6. #6
    Join Date
    January 2015
    Location
    Germany
    Posts
    4
    Ok i think i don't know what channel_order means. Can you give me a short explain what channel_order means? And do you know how I get the right order with the client query plugin?

  7. #7
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    channel_order is the previous channel on the same layer. 0 means your channel is first.

  8. #8
    Join Date
    January 2015
    Location
    Germany
    Posts
    4
    ok now i know what channel_order means. Thank you.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Permission to move/sort channels
    By 1n9i9c7om in forum Permission System
    Replies: 1
    Last Post: May 16th, 2014, 05:31 PM
  2. Sort members after their rank in the channels
    By brahcy in forum Permission System
    Replies: 7
    Last Post: August 5th, 2013, 03:38 PM
  3. [On Todo] Wrong hotkey command shown under Plugin
    By Meelkee in forum Bug Reports [EN/DE]
    Replies: 1
    Last Post: March 14th, 2011, 09:26 AM
  4. [No Bug] Wrong Client-Type of Query-Clients
    By Master_D in forum Bug Reports [EN/DE]
    Replies: 6
    Last Post: March 6th, 2011, 10:05 AM
  5. [Fixed with beta23] 'Sort clients under channels' option
    By -{HGH}-GEN.Skylab in forum Bug Reports [EN/DE]
    Replies: 1
    Last Post: June 16th, 2010, 07:20 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
  •