1. This forum section contains Blog style threads from the Developers, and/or threads with details about what they have been working on, previews of upcoming content, and sometimes backstory associated with the content. Players are permitted to reply to these threads if the developer has indicated it is permissible by leaving the thread unlocked. Please note that TOS applies, and any abuse or trolling will be moderated.
    Dismiss Notice

Public Stats API

Discussion in 'Developer Work and Blog posts' started by Undone, May 9, 2017.

Thread Status:
Not open for further replies.
  1. Rowell

    Rowell Avatar

    Messages:
    612
    Likes Received:
    1,281
    Trophy Points:
    105
    Gender:
    Female
    Location:
    Brittany Fields
    H'ray and Joy!!
     
    Roycestein Kaelstrom likes this.
  2. Browncoat Jayson

    Browncoat Jayson Legend of the Hearth

    Messages:
    6,334
    Likes Received:
    14,098
    Trophy Points:
    153
    Is it just me, or does the MonsterKilledByPlayer event no longer return anything? Tried it on my own box (which I might have screwed up the configuration of, oops) as well as here, and always get no results.
     
    Roycestein Kaelstrom likes this.
  3. Browncoat Jayson

    Browncoat Jayson Legend of the Hearth

    Messages:
    6,334
    Likes Received:
    14,098
    Trophy Points:
    153
    Apparently, this is only for certain scenes. I'm getting results for others.

    One thing I noticed however is that it is returning the localized mob name. This means we don't have a direct comparison when players with different settings are killing the same creatures, unless we filter to include multiple names. Is this intentional? Can it be changed in the API to return one set?
     
    Roycestein Kaelstrom and Rentier like this.
  4. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    Unfortunately this cannot be changed. All Player & NPC names exist in the game as localized values. Some events (such as MonsterKilledByPlayer) are generated by the client so the name of the monster sent to the logging server is the localized value.

    Edit - apparently this is not necessarily true; we may be able to make this happen and will look into it. No promises though.
     
    Last edited: Feb 20, 2018
  5. Deadly Habit

    Deadly Habit Avatar

    Messages:
    271
    Likes Received:
    429
    Trophy Points:
    28
    Location:
    Virtue Oasis
    I'm curious if there are specific item IDs we can parse like the various COTO drops for say a comparison or average for how many a player is getting in say a month of play VS the total for a month by comparing public API data vs a stored client data parse.

    IE: parsing the available data in a client based script and tallying and storing when they receive a COTO drop then seeing vs other players playtimes on average a percentage of the COTO drops they got or had an opportunity to get.
     
    Roycestein Kaelstrom likes this.
  6. digriz

    digriz Avatar

    Messages:
    83
    Likes Received:
    244
    Trophy Points:
    20
    So how would one get a number of concurrent users using this API? Is it possible?

    @Undone

    @Chris

    Thank you for your time.
     
    Last edited: Mar 9, 2018
  7. Tiina Onir

    Tiina Onir Avatar

    Messages:
    1,103
    Likes Received:
    1,900
    Trophy Points:
    125
    Location:
    Bramble, South Paladis
    To clarify, you mean concurrent players in the game, not concurrent users of the API, right?
     
    Roycestein Kaelstrom likes this.
  8. digriz

    digriz Avatar

    Messages:
    83
    Likes Received:
    244
    Trophy Points:
    20
    Yes, the number of people who are currently logged in, playing the game.

    Thanks.
     
  9. Kaffien

    Kaffien Avatar

    Messages:
    577
    Likes Received:
    903
    Trophy Points:
    75
    Gender:
    Male
    Location:
    Blue Rose Isle, Crafters Town, Black Rock Cove
    Something wrong with the TLS settings?



    Microsoft Edge says
    Can’t connect securely to this page
    This might be because the site uses outdated or unsafe TLS security settings. If this keeps happening, try contacting the website’s owner.

    Chrome says

    This site can’t provide a secure connection
    www.shroudoftheavatar.com sent an invalid response.

    Internet Explorer says
    Can’t connect securely to this page
    This might be because the site uses outdated or unsafe TLS security settings. If this keeps happening, try contacting the website’s owner.
     
    Roycestein Kaelstrom likes this.
  10. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    I'll mirror my reply here as well:
     
    Roycestein Kaelstrom and Rentier like this.
  11. digriz

    digriz Avatar

    Messages:
    83
    Likes Received:
    244
    Trophy Points:
    20
    Can you make a spreadsheet of concurrent users or some-such then? Perhaps for the past few months? Since Chris said he had 'nothing to hide' on another forum. I'd like to see the amount of people who are playing, if nothing else for mere curiosity. As I'm sure would others. If its time consuming something basic would suffice instead.

    Thank you for your time and your response.
     
  12. Rentier

    Rentier Avatar

    Messages:
    915
    Likes Received:
    1,304
    Trophy Points:
    105
    Location:
    Dragomir Mori
    alone people playing with steam is going upwards
    http://steamcharts.com/app/326160
     
    Roycestein Kaelstrom likes this.
  13. digriz

    digriz Avatar

    Messages:
    83
    Likes Received:
    244
    Trophy Points:
    20
    Im not looking for just steam users. Id like to see total population of people logged in. Chris had mentioned we could attain such information from the API, but we can not. So Im asking them here. But thanks anyhow.
     
    Roycestein Kaelstrom and Mykll like this.
  14. Rok Yrikk

    Rok Yrikk Developer Emeritus

    Messages:
    105
    Likes Received:
    680
    Trophy Points:
    18
    Any player that logs in for the first time in a day gets the 10,000 xp bonus, you could just count the occurrence of those to get an idea of daily players.
     
  15. Lord Andernut

    Lord Andernut Avatar

    Messages:
    3,340
    Likes Received:
    10,087
    Trophy Points:
    165
    Gender:
    Male
    Location:
    New Britannian Market
    @Umuri
     
    Roycestein Kaelstrom likes this.
  16. Savetti2

    Savetti2 Avatar

    Messages:
    5
    Likes Received:
    13
    Trophy Points:
    3
    Gender:
    Male
    Location:
    Houston, TX
    Is it just me or is this link no longer working? I can't seem to access it.
     
    Roycestein Kaelstrom likes this.
  17. digriz

    digriz Avatar

    Messages:
    83
    Likes Received:
    244
    Trophy Points:
    20
    While I appreciate the reply, always nice to get a reply from someone in charge. This isn't really a true number of concurrently logged in users. Steam says it was about 450-500 tops on release day. But as the developers have mentioned not everyone uses Steam.

    Thanks again!
     
    Roycestein Kaelstrom likes this.
  18. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    Log message encoding has changed resulting in the timestamp being funky which made elasticsearch angry. I am investigating...
     
    Roycestein Kaelstrom and Rentier like this.
  19. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
  20. Roycestein Kaelstrom

    Roycestein Kaelstrom Avatar

    Messages:
    4,627
    Likes Received:
    10,229
    Trophy Points:
    153
    TYVM!

    Btw Doc @Undone , do you have any plan on binding the elastic site to HTTPS?


    The elastic search URL doesn't have HTTPS binding to it yet, so when Chrome and IE11 tried to redirect to HTTPS, it would not be able to find the server.


    Also has anyone been able to successfully pulling Elastic result using C#-based client? I can't seem to use NEST Elastic client because it is using HTTP POST, which got restricted by SotA API.
     
    Last edited: Mar 29, 2018
    Black Tortoise likes this.
Thread Status:
Not open for further replies.