Hi, I’m slightly confused about the usage for the Teamspeak 3 SDK.
I followed TS3 “Hello World” tutorial in an attempt to create a bot that could join my TS3 server.
I have now tried multiple ways, specifying “localhost”, “127.0.0.1”, public ip, private IP etc. but I’m always getting “connection_error == ERROR_failed_connection_initialisation” in onConnectStatusChangedEvent.
I’m certain it’s not firewall / port forwarding /etc. issue, my server is running on AlmaLinux 9 and I’m running the compiled program from there. I’m also using the default 9987 port.
Now after reading “Hello World” tutorial again and checking the SDK I see there is “Server SDK” - does my approach even work or does it only work for some kind of TS3 SDK servers (whatever that even means)?
Thanks in advance, hopefully somebody reads this forum. Would love to start developing bots for my server, plugins just won’t suffice since they’re tied to client and I don’t want to be connected to my server 24/7
Exactly. The TeamSpeak 3 SDK is a standalone product that can be used to implement things like in-game voice chats. SDK clients can only connect to SDK servers and the “normal” client can only connect to “normal” servers.
Thanks to you too! God I was so excited to get working with the C SDK and API, it looked very promising but I’ll dig into this more. I’ll try to connect into that ServerQuery now using boost::Asio and see if that does the trick