Forum

Results 1 to 6 of 6
  1. #1
    Join Date
    April 2014
    Posts
    36

    channel_icon_id wrong query result

    Hello,

    ("bug" from here https://github.com/Multivit4min/TS3-...rary/issues/39)
    when using channeledit cid=1 channel_icon_id=2451520444 channel_icon_id always expects an unsigned int,
    however when using channelinfo cid=1 or channellist -icon the query returns the converted signed int for the respective channel icon

    Click image for larger version. 

Name:	21-11-54.png 
Views:	41 
Size:	44.9 KB 
ID:	17609
    Click image for larger version. 

Name:	21-14-34.png 
Views:	66 
Size:	16.4 KB 
ID:	17610

    it is weird to see the input parameter requires the channel_icon_id to be a unsigned int but returns itself as unsigned

    however if you try setting it as signed int it will result in a convert error
    Click image for larger version. 

Name:	21-24-55.png 
Views:	58 
Size:	20.6 KB 
ID:	17611

    so probably the best solution for this is to let channel_icon_id inside the channeledit command to be a negative value and do the conversion inside the TeamSpeak Server to allow backward compatiblity
    Last edited by dante696; March 9th, 2019 at 08:59 PM. Reason: removed icon in title

  2. #2
    Join Date
    June 2008
    Posts
    18,006
    What you wrote here is a suggestion or a bug report?

    The title says it's wrong. But the value isn't wrong.
    It's the value as a signed 32 int.

    When setting a icon permission the server requires a unsigned 32 bit int but server can only save the value as a signed 32 bit int.

    I will forward as a suggestion that the server converts the value when requested but I can't give any gurantuee that this will make it into the server.
    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 2014
    Posts
    36
    its both when viewing the official docs which come with the server it says

    "CHANNEL_ICON_ID
    CRC32 checksum of the channel icon"

    the channel_icon_id should be either unsigned or signed not signed when setting the parameter and when viewing the parameter its signed
    Reply is signed with: channelinfo or channellist -icon
    But only allows to be unsigned when setting the icon with channeledit cid=1 channel_icon_id=...

  4. #4
    Join Date
    June 2008
    Posts
    18,006
    Quote Originally Posted by Multivit4min View Post
    its both when viewing the official docs which come with the server it says

    "CHANNEL_ICON_ID
    CRC32 checksum of the channel icon"
    But that isn't a bug. The values are still the right one as explained above.
    The CRC32 value is used for the filename when the icon was uploaded or when the server needs to load the icon.

    You are are right it's confusing when you do not use the client to manage icons.
    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
    June 2008
    Posts
    18,006
    I discussed it with our server developer and we decided to improve this output in our server.
    But this won't be part in upcoming server 3.7.0
    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?

  6. #6
    Join Date
    June 2008
    Posts
    18,006
    Upcoming server 3.8.0 will always reply with a positive value when icon was set as server or channel icon.

    When the icon was set as permission then the value will stay as before. We can not touch this without changing a lot of things in permission system. That's not worth 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?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Query Password wrong after reboot
    By Excerial in forum Linux / FreeBSD
    Replies: 5
    Last Post: April 20th, 2017, 02:50 PM
  2. [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
  3. Replies: 4
    Last Post: December 24th, 2009, 11:47 AM
  4. Query-Port: CHANNELFIND (wrong documentation)
    By Scordo in forum Tools / Web Based
    Replies: 0
    Last Post: December 23rd, 2009, 03:38 PM
  5. Wrong help-output on query-port
    By Scordo in forum Tools / Web Based
    Replies: 1
    Last Post: December 22nd, 2009, 12:13 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
  •