TeamSpeak3QueryApi icon indicating copy to clipboard operation
TeamSpeak3QueryApi copied to clipboard

RegisterChannelNotification Information.

Open IlTuoNome opened this issue 5 years ago • 5 comments

Hi, i'm trying to intercept when a client enter in a room (115) with the example in Notifications, but when a client enter in the room the code not notify me.

Code: Immagine

is the code right? Thanks for your attention.

IlTuoNome avatar Jan 30 '20 21:01 IlTuoNome

The ClientEnterView event ony fires if the query client "sees" the user. The query client is actually a user that is hidden in the default configuration of the teamspeak client.

Try moving the bot to the channel 115. Also, make sure the bot as actually the permissions to see other users.

nikeee avatar Jan 30 '20 21:01 nikeee

Thanks for the immediate response, what permissions should the bot have? because the program does not return any error of permission.

IlTuoNome avatar Jan 30 '20 21:01 IlTuoNome

Well, the client does not know if the user does not have the permission to see other people on the server. Any client can not distinguish between "I am the only client on the server" and "There are other people and I am not allowed to see them". So it is not even possible to report an error. It is a permission one can configure in the server.

Also, try to move the query client to the channel with the ID 135.

nikeee avatar Jan 30 '20 22:01 nikeee

Is this issue resolved? It will be closed in 7 days if there is no feedback.

nikeee avatar May 15 '20 09:05 nikeee

Hi I have a similar issue. Trying to subscribe to the events. It works fine in a forms application but in a console application it somehow never fires.

/edit Nevermind, my issue was the async and await.

scheissegalo avatar Feb 17 '23 23:02 scheissegalo