Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    Join Date
    September 2005
    Germany / Dortmund
    Two things come to my mind:

    1. onUpdateClientEvent will be fired for your client too. But then you need to reload all your "cached" client variables (no indicator there for the changed flag).

    2. Your assumption seems correct, that only the unmuted schid will trigger the onClientSelfVariableUpdateEvent. But as long as only one schid can have the CLIENT_INPUT_HARDWARE set to 1, you can iterate over all schids (except the one in the event) to set them to muted. (I don't know, if this is also correct, if you use different capture profiles)

    EDIT: It's not correct for multiple capture profiles. @TeamSpeak Systems: So I guess not triggering onClientSelfVariableUpdateEvent is a bug?

    As a workaround, you could use onIncomingClientQueryEvent, which is triggered on mute (notifyclientupdated clid=<yourid> client_input_hardware=0).
    Last edited by Thomas; March 8th, 2017 at 05:19 PM.

  2. #17
    Join Date
    February 2017
    not sure what you mean by multiple capture profiles. But for now i used 2. and it works for me so far. But 1. is a good idea, too. Since i wanna change the icon for those who are muted i need to touch this function, so it shouldn't be that difficult to add it there.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Client Side Callback after ts3server_clientMove?
    By King_Xulu in forum General Questions
    Replies: 2
    Last Post: February 20th, 2017, 04:08 PM
  2. Bug in onClientMoved() Callback Sequence?
    By King_Xulu in forum General Questions
    Replies: 0
    Last Post: January 25th, 2012, 06:56 PM
  3. requestClientMove() invokes wrong callback then crashes
    By King_Xulu in forum General Questions
    Replies: 2
    Last Post: January 10th, 2012, 03:06 PM
  4. Replies: 2
    Last Post: January 18th, 2011, 07:43 AM
  5. Any Callback or Event for HotKeys
    By jimbojackhammer in forum Client Plugins / Lua Scripts
    Replies: 0
    Last Post: June 24th, 2010, 06:34 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