Comments (5)
@Manevolent Perfect! I also looked a bit around in the code and found a few odd block comments, e.g. above listChannels() or listClients() in LocalTeamspeakClientSocket.java. These seem to belong to a diffrent method...
from ts3j.
Thanks for reporting the issue, I'll take a look.
from ts3j.
Unfortunately, it looks like the listClients() call leverages the client/server query call clientlist
. The response object for clientlist
returns (from the server),
- clid
- cid
- client_database_id
- client_nickname
- client_type
None of these values are a UUID for a client (like a unique identifier), so I don't think I am able to expose a UUID, even if I wanted to, on this method. Ideally, we'd probably track the clients sent through events and expose that via an API as well, but this is more of a long-term goal.
In the mean-time, TS3Listener does adapt for the events that do this, which are:
notifycliententerview (corresponds to ClientJoinEvent)
notifyclientleftview (corresponds to ClientLeaveEvent)
At least ClientJoinEvent does share the UUID, its properties appear to be:
- cfid
- ctid
- reasonid
- clid
- client_unique_identifier
- client_nickname
... and so forth
from ts3j.
I'm going to leave this open, because this is a bit of an eye-sore in the code. I'll start a long-term goal to get better client tracking, and add non-blocking methods to retrieve client information in the project. I suspect we'll need to wrap around the client socket with another class that better abstracts accessing the client state in general.
from ts3j.
The clientlist
query command has several flags. One of them is -uid
which will tell TeamSpeak to also return the client_unique_id
field in its answer.
(The other flags should be -away
, -voice
, -times
, -groups
, -info
, -icon
and -country
)
from ts3j.
Related Issues (20)
- Channel Commander HOT 2
- Is this legal? HOT 1
- mac check in EAX failed HOT 3
- client is modified error HOT 4
- Can't connected to passworded server HOT 1
- Cant connect to TeamSpeak Server - INIT1 Reading Problem
- Unable to send long Cyrillic messages to chat HOT 2
- Initializing bot HOT 7
- Cannot get clients on server HOT 1
- AudioSender not working
- Error in the getServerGroups() method of the Client class
- How to send Audio? HOT 1
- Can't connect to ts server HOT 2
- Check Bans/Kicks
- Problem with packet size
- Step 127 and Timeout
- Init 1 Step 3 Error
- Repository error HOT 2
- AudioChannel
- 2 questions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ts3j.