Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

This is how to interpret the barracks_status and tower_status results from the API

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by scottrick View Post
    Just looking at this, and this order still isn't *quite* correct. The ancient top/bottom towers are swapped and should be:

    Ancient Bottom
    Ancient Top
    Bottom Tier 3
    Bottom Tier 2
    Bottom Tier 1
    Middle Tier 3
    Middle Tier 2
    Middle Tier 1
    Top Tier 3
    Top Tier 2
    Top Tier 1

    This makes it a little bit more aesthetically pleasing, with bottom always coming before top!
    Have you confirmed this experimentally? I trust you, so if you have, can you update the TF2 wiki here: https://wiki.teamfortress.com/wiki/W...s#Tower_Status. It claims that Top and Bottom are opposite of yours.
    Dota Database | What's My Steam ID? | Better Steam Web API Documentation

    Comment


    • #17
      Yeah I have; I based my original implementation on that wiki page, and I noticed the ancient towers were incorrect. To be sure, I found two different matches (one each for dire and radiant) with one ancient tower remaining and verified the tower status by watching the replay in the dota2 client. What I posted is correct, and also matches dotabuff as well.

      I updated the wiki page.
      Last edited by scottrick; 12-22-2015, 07:10 AM.
      Author of Stats for Dota 2 in the Android Play Store.
      @scottrick49

      Comment


      • #18
        How to interpret the building_state from /IDOTA2Match_570/GetTopLiveGame ?
        Code:
        "activate_time":1530222336,
        "deactivate_time":0,
        "server_steam_id":"90115488091499530",
        "lobby_id":"25671396156219670",
        "league_id":0,
        "lobby_type":7,
        "game_time":1921,
        "delay":120,
        "spectators":2338,
        "game_mode":22,
        "average_mmr":6924,
        "sort_score":9762,
        "last_update_time":1530224384,
        "radiant_lead":-6703,
        "radiant_score":42,
        "dire_score":42,
        "players":[...],
        "building_state":5374170

        Comment

        Working...
        X