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

Thread: Ts3 api c++

  1. #1
    Join Date
    November 2017
    Posts
    13

    Ts3 api c++

    Hey,
    I'm new and want to know sth.
    I have the following source code:

    void ts3plugin_onClientMoveMovedEvent(uint64 serverConnectionHandlerID, anyID clientID, uint64 oldChannelID, uint64 newChannelID, int visibility, anyID moverID, const char* moverName, const char* moverUniqueIdentifier, const char* moveMessage) {
    ts3Functions.requestClientMove(serverConnectionHan dlerID, clientID, oldChannelID, "", 0);
    }

    But if an other user moves another user, then I join the old channel of the person, who is moved.
    So I want to check if I am moved or an other person.

    Please help

  2. #2
    Join Date
    September 2005
    Location
    Germany / Dortmund
    Posts
    1,376
    Perform a source check like you do here ("Don't move when clientID is own client").

Thread Information

Users Browsing this Thread

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

Posting Permissions

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