TheHolyWaffle / TeamSpeak-3-Java-API

A Java wrapper of TeamSpeak's 3 server query API.
MIT License
306 stars 107 forks source link

client.getEstimatedLocation() returns nothing #406

Open qeinz opened 2 years ago

qeinz commented 2 years ago

client.getEstimatedLocation() does not return a value, it is followed only by "".

qeinz commented 1 year ago

am i wrong on this, or something else can explain this?

rogermb commented 1 year ago

Hi @qeinz, sorry for not getting back to you earlier!

I just looked into this, and it appears that support for clientlist's -location flag was first added in TS3 server version 3.13.0 (9 November 2020). If this flag is set, the server would send back a client_estimated_location for each client. Some time after this TS3 release, we added support for this client property in our API (which is just a thin wrapper around TS3's server query interface).

However, support for this flag & client property has subsequently been removed again in TS3 server version 3.13.6:

Server Release 3.13.6 9 June 2021

Fixed

  • Removed support for client_estimated_location property

Ever since then, yeah, you're probably just getting back an empty string as the client's location, which isn't ideal. We'll likely remove this clientlist flag and the getEstimatedLocation getter in a later release of this API.

qeinz commented 1 year ago

wow, adding a feature and then removing it, not so nice.

but thx for the information, i first thought it a problem on the part of the api, but good to know that this feature no longer exists at all xD