Notice to all users

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

Results 1 to 4 of 4
  1. #1
    Join Date
    December 2009

    Solved Negative permission values

    Negative permission values are not displayed correctly in the current client. There seems to be some unsigned/signed issues with the int format. Instead of displaying -1, 4294967295 is displayed for example (which would be the correct unsigned interpretation for the binary value of -1).

  2. #2
    Join Date
    January 2010
    Secret Base in Arctic Region
    Should be already discussed in another thread methinks.
    Its the max value of an unsigned dword.

  3. #3
    Join Date
    December 2009

    Question Negative Icon ID's

    I'm trying to program a extended version of a Teamspeak viewer and i've found out something incredible crazy in the database:

    In the Table perm_server_group are the i_icon_id of some groups negative and wrong!

    Does anybody knows whats up whit that negative values and how to find out the right id's?

  4. #4
    Join Date
    October 2003
    This is not a bug. The negative icon ID is related to the max value of an int. Here's a PHP code snippet on howto fix the icon ID (assuming that $iconid contains the value):

    PHP Code:
    $iconid = ($iconid 0) ? (pow(232))-($iconid*-1) : $iconid

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Restricting Channel Permission Values?
    By Lord Phazd in forum Permission System
    Replies: 1
    Last Post: November 14th, 2013, 09:00 PM
  2. [Evaluation] How comes regular SA can set permission values over 75?
    By justincase in forum Suggestions and Feedback
    Replies: 14
    Last Post: July 12th, 2012, 08:20 AM
  3. Negative Icon ID's
    By Redasurc in forum Permission System
    Replies: 0
    Last Post: June 19th, 2010, 02:24 PM
  4. [Solved] Server Group Permission Values (Modify)
    By PV-Patrick in forum Permission System
    Replies: 9
    Last Post: February 2nd, 2010, 12:06 AM

Posting Permissions

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