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 2 of 2
  1. #1
    Join Date
    June 2012
    Location
    Portugal
    Posts
    317

    Getting server groups

    Hey,

    I have this:
    Code:
    uint64 *sgroups;
    ts3Functions.getClientVariableAsUInt64(serverConnectionHandlerID, clients[i], CLIENT_SERVERGROUPS, sgroups)
    I thought it would return an array (sgroups) but only the first element is a group id...
    How should I proceed to get all client groups?

  2. #2
    Join Date
    June 2012
    Location
    Portugal
    Posts
    317
    Help. Just need to know how I can loop trough them because it only returns 1 group..

    Edit:

    the output is usually this: (if I loop)
    99
    0
    some-random-big-numbers
    [...]

    Only the first is correct.

    Edit2: Yeah, the 0 is the NULL termination which I realised.
    Anyway, you can I get the following groups..?

    Edit3: Ok I just needed to get groups as String instead of uint64.
    Last edited by barricas; December 18th, 2013 at 03:52 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [No Bug] Strange issue with channel groups overwriting client and server groups
    By Morthawt in forum Bug Reports [EN/DE]
    Replies: 5
    Last Post: July 19th, 2015, 11:18 AM
  2. Replies: 1
    Last Post: November 24th, 2010, 07:49 AM
  3. Replies: 2
    Last Post: November 14th, 2010, 03:54 PM
  4. Server Groups/Channel Groups overwriting other groups
    By Slicky456 in forum Permission System
    Replies: 4
    Last Post: June 8th, 2010, 07:25 AM
  5. Replies: 17
    Last Post: March 1st, 2010, 11:15 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
  •