planetteamspeak / ts3phpframework

Modern use-at-will framework that provides individual components to manage TeamSpeak 3 Server instances
https://www.planetteamspeak.com
GNU General Public License v3.0
212 stars 59 forks source link

Invalid client id #138

Closed EatTobiYT closed 4 years ago

EatTobiYT commented 4 years ago

Hello, if I try to “create” a client using the unique id, I always get the error “invalid client Id”. The client is online.

$uri = "serverquery://<queryuser>:<querypassword>@<ip>:<queryport>/?server_port=<port>&nickname=Test";
TeamSpeak3::init();
$ts3server = TeamSpeak3::factory($uri);
$client = $ts3server->clientGetByUid("XXXXXXXXXXXXXXXXXXX=");
$client->poke('testmessage');

Greetings Tobias

svenpaulsen commented 4 years ago

I'm still unable to reproduce this. I assume you're using the official TeamSpeak Server so please make sure the UID is correct, the client is connected to the server and is in a channel the ServerQuery client is allowed to subscribe.

EatTobiYT commented 4 years ago

Can you please tell me with which version you tested it and send me your test code? I get this error all the time and can't fix it. I just can't find the error.

svenpaulsen commented 4 years ago

Latest TeamSpeak Server release using your code snippet...