Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 12 of 12
  1. #1
    Join Date
    December 2012
    Location
    Paris, France
    Posts
    185

    [Suggestion] Add country to invoker data set

    Hi!

    Currently when we want the country code of an invoker we need to make a request to get the client infos. IMO when we use notifications we regulary need to give an answer to the invoker.

    Answering allow us to notify the invoker that the command line or any other action is correctly performed. We respond mainly in english, and i'm currently working on the translation part of my bot.

    Currently i have to store the client infos into a personnal SQLite DB to avoid to perform too much queries, this could be really awesome to get more basics infos about the invoker like the country.

    Thank you !

  2. #2
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    I have no clue what you are talking about. What is an invoker? In which context is this used? In the context of a TeamSpeak server, invoker is a term used for the creator of a ban.
    Last edited by numma_cway; January 6th, 2018 at 11:17 AM.

  3. #3
    Join Date
    December 2012
    Location
    Paris, France
    Posts
    185
    Invoker is the name of dataset when you have a notification emitted by a client, like notifytextmessage, it is explicitely named with invokername, invokeruid, invokerid.

    I ask the addition of invokercountry to avoid a clientinfo query to get it, i've currently stored the clientinfo into a custom SQLite DB and merge invoker infos with the stored clientinfo. But this is not the best way to do it, i think invoker data set should contains more informations.

  4. #4
    Join Date
    August 2013
    Location
    Germany
    Posts
    541
    Well if you ask for the country, the next person will ask for badges and so on and so on. The additional clientinfo request isn't that big of a deal but if you feel like it you could use clientlist and cache the country

  5. #5
    Join Date
    December 2012
    Location
    Paris, France
    Posts
    185
    In fact i don't see the problem to get all informations about the invoker, when you work with another products the API return all the data from the client when you receive an event.

  6. #6
    Join Date
    August 2013
    Location
    Germany
    Posts
    541
    I bet this wont happen. If you really want all this wait for alternatives to the official server to implement a plugin api so you can modify these kind of responses

  7. #7
    Join Date
    December 2012
    Location
    Paris, France
    Posts
    185
    I'm already working on a REST API, but i wont stop making suggestion just because the team wont developp some features.

  8. #8
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    You easily maintain a list of client countries because they are part of notifycliententerview.

  9. #9
    Join Date
    December 2012
    Location
    Paris, France
    Posts
    185
    If your SQClient join after the clients you haven't the country.

  10. #10
    Join Date
    August 2013
    Location
    Germany
    Posts
    541
    Simply iterate over the clientlist once when the query connects.

  11. #11
    Join Date
    December 2012
    Location
    Paris, France
    Posts
    185
    I know how works the query interface, i suggest a change, i don't ask you how to get the client country or anything else...

  12. #12
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    And we told you that this is already possible and how to easily do it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Suggestion] Country permissions
    By florian_fr40 in forum Suggestions and Feedback
    Replies: 2
    Last Post: September 1st, 2010, 02:14 PM
  2. [Suggestion] Data Uploaded by ...
    By michi119 in forum Suggestions and Feedback
    Replies: 2
    Last Post: August 29th, 2010, 05:46 PM
  3. [SUGGESTION]Editable Server location (Country)
    By Slater in forum Suggestions and Feedback
    Replies: 9
    Last Post: August 3rd, 2010, 11:53 PM
  4. [Suggestion] Resolve client IP to country flag
    By Trinitrotoluene in forum Suggestions and Feedback
    Replies: 0
    Last Post: February 14th, 2010, 10:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •