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

    Question about UID <-> DBID relationship

    Hey, is the server DBID unique for every UID? I just got a client in my server that had a different UID for the same DBID, not sure if intented, I thought it was unique so I would like to know if it is bug or not.

  2. #2
    Join Date
    April 2012
    Location
    Germany
    Posts
    317
    The UID is the ID of the identity in your client, you can create more identities each with different UID. The DBID is the id of your client (uid) in a database of a teamspeak server.
    E.g. If you have a different UID (identity) on the same server you get a different DBID.

  3. #3
    Join Date
    May 2006
    Location
    Europe/Czech Rep.
    Posts
    1,616
    Quote Originally Posted by barricas View Post
    Hey, is the server DBID unique for every UID? I just got a client in my server that had a different UID for the same DBID, not sure if intented, I thought it was unique so I would like to know if it is bug or not.
    Are you sure it wasn't on different servers for same person?

  4. #4
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    Quote Originally Posted by barricas View Post
    Hey, is the server DBID unique for every UID? I just got a client in my server that had a different UID for the same DBID, not sure if intented, I thought it was unique so I would like to know if it is bug or not.
    This is not possible. On every virtual server, each UID has only one DBID and vice-versa. Additionally, everyone is assigned a CLID each time they connect. Every few hours, TS3 re-assigns CLIDs no longer in use, while a DBID that has once been deleted will never be assigned again.

  5. #5
    Join Date
    June 2012
    Location
    Portugal
    Posts
    317
    Very weird. I save in my database the UID and DBID of the client and make sure they don't exist in the DB.

    However one guy today was getting a bug because his DBID already existed in the DB and he had a different UID.
    Not sure why though.

    Probably I just changed the UID one time in the DB and forgot to also change the DBID, then the guy enters with his old identity and caused the bug.

  6. #6
    Join Date
    April 2011
    Location
    Germany
    Posts
    1,266
    To me this sounds like you fumble in your database by inserting rows with DBID and UID outside of the server application probpably by script or even manual editing? Is that so?!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Possible BUG] database empty result set when seaching own dbid
    By poisonpanik in forum Bug Reports [EN/DE]
    Replies: 8
    Last Post: April 27th, 2010, 06:08 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
  •