TeamSpeak-3-Java-API icon indicating copy to clipboard operation
TeamSpeak-3-Java-API copied to clipboard

client.getEstimatedLocation() returns nothing

Open qeinz opened this issue 2 years ago • 3 comments

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

qeinz avatar Jan 06 '22 04:01 qeinz

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

qeinz avatar Aug 04 '23 21:08 qeinz

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.

rogermb avatar Aug 07 '23 22:08 rogermb

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

qeinz avatar Aug 07 '23 22:08 qeinz