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 3 of 3
  1. #1
    Join Date
    July 2014
    Posts
    14

    Question Problem with ts3Functions.getClientID()

    Hi guys,

    currently I'm facing a problem.

    I have requested my own clientId within the ts3plugin_onMenuItemEvent():
    Code:
    	anyID ownClientID[INFODATA_BUFSIZE];
    	ts3Functions.getClientID(serverConnectionHandlerID, ownClientID);
    After that, I try to poke my own client with this clientID:
    Code:
    ts3Functions.requestClientPoke(serverConnectionHandlerID, ownClientID, "test", NULL);
    I'm getting this error: invalid clientID , but I don't know why.

    When using the clientID provided by the ts-skin "extended client-info", i am getting this poke without any problem.

    Do you know what i'm doing wrong?
    Thanks in advance!

    Sincerely Dione

  2. #2
    Join Date
    January 2010
    Location
    Germany
    Posts
    91
    can't check right now but I think you need to do the second part like this:
    Code:
    ts3Functions.requestClientPoke(serverConnectionHandlerID, ownClientID[0], "test", NULL);

  3. #3
    Join Date
    July 2014
    Posts
    14
    Yup, works perfectly now

    Thanks for you fast reply!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: March 14th, 2013, 10:06 AM
  2. PluginSDK getClientID returns ERROR_ok when not connected.
    By SilentStorm in forum Bug Reports [EN/DE]
    Replies: 1
    Last Post: January 26th, 2012, 12:23 PM
  3. ts3Functions.createIdentity - where the heck is it?
    By sea212 in forum Client Plugins / Lua Scripts
    Replies: 7
    Last Post: March 1st, 2010, 07:14 PM
  4. [Solved] ts3Functions.requestClientMove
    By tomix in forum Client Plugins / Lua Scripts
    Replies: 2
    Last Post: February 22nd, 2010, 10:31 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
  •