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

Known bugs

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    I would really like to see somewhere API changes get announced too. We can avoid a lot of pain if we have fore-warning and time to discuss massive changes.

    Comment


    • #32
      Originally posted by jimmydorry View Post
      I would really like to see somewhere API changes get announced too. We can avoid a lot of pain if we have fore-warning and time to discuss massive changes.
      Agreed!

      Comment


      • #33
        When using XML as a format for both GetMatchDetails and GetMatchHistoryBySequenceNum, <ability> gets used as both the grouping for each skill point selection as well as the listing for what ability gets selected. Maybe there's some method behind this that I'm not seeing, but it would be convenient if they could use different tags.

        Comment


        • #34
          That's not neccesarily invalid or anything, but I agree that something like ability_id would be more descriptive.

          Comment


          • #35
            GetTeamInfoByTeamID is not descriptive as per the function it provides. It returns a list of all the teams that have been created in-game, which can be filtered with start_at_team_id and teams_requested; however it's name suggests it should take a single parameter, team_id (uint16/32 or csv string of ids), and return only information on the team(s) queried.

            Comment


            • #36
              Code:
              https://api.steampowered.com/IDOTA2Match_205790/GetTeamInfoByTeamID/V001/?key=XXXXXXXX&start_at_team_id=4500
              returns:
              Code:
              {
              	"result": {
              		"status": 2,
              		"statusDetail": "Error retrieving match data."
              	}
              }
              not that it's a big deal for it to call the team data "match data".. but still..
              The API Bible: Things You Should Know Before Starting API Development

              Comment


              • #37
                another bug:

                it appears that if you put in a start_at_team_id greater than 4376, the system errors out.
                see:
                Code:
                https://api.steampowered.com/IDOTA2Match_205790/GetTeamInfoByTeamID/V001/?key=XXXXXXXXXXXXX&start_at_team_id=4377
                Code:
                https://api.steampowered.com/IDOTA2Match_205790/GetTeamInfoByTeamID/V001/?key=XXXXXXXXXXXXX&start_at_team_id=4376
                it is not a matter of there not being any teams with ID greater than 4376, it just does not like it apparently!!



                *edit*
                I tried up to
                Code:
                https://api.steampowered.com/IDOTA2Match_205790/GetTeamInfoByTeamID/V001/?key=XXXXXXXXXXXXX&start_at_team_id=4523
                and I got the same error.

                After that It just returns empty data.
                Last edited by MuppetMaster42; 02-07-2013, 12:07 AM.
                The API Bible: Things You Should Know Before Starting API Development

                Comment


                • #38
                  (Will be updating first post tonight; just started new job!)

                  Comment


                  • #39
                    Originally posted by Netshroud View Post
                    That's not neccesarily invalid or anything, but I agree that something like ability_id would be more descriptive.
                    It's not strictly speaking a bug or anything, but it was a little frustrating that something like getElementsByTagName('ability') would pull up two sections that behave entirely differently. There's probably a much easier workaround than what I came up with, but it would be nice for each section to have a unique name.

                    Comment


                    • #40
                      Originally posted by MuppetMaster42 View Post
                      +1 - or in stead of a mailing list - a forum that only mods/devs can post in each week that has a list of specific api changes.
                      Just having closed (mods only) sticky thread on this subforum would be enough for what comes to API changes, announcements, changelogs and so on. Just new post per changes, everyone can see whenever something new pops up.

                      Yes?

                      Comment


                      • #41
                        It would be nice if the team ids from the API matched up with the team ids in the replay parser instead of being two different numbers. I was hoping that I could use the team numbers from replay parses to do an API call to get the team data. There is a work around ( replay team number -> match id from parse -> match id from api -> get match details with that match -> get team name -> use team name to find other id -> use other id to make API call ) but if the ids where the same the process would be so much simpler (get id from replay parser -> use id to make API call ).

                        Edit: My mistake they are the same. See Tharuler's post below
                        Last edited by Razumov; 02-07-2013, 11:14 AM. Reason: Thanks Tharuler
                        datdota.com -- Dota 2 Stats for the Professional Scene

                        Comment


                        • #42
                          Originally posted by Razumov View Post
                          It would be nice if the team ids from the API matched up with the team ids in the replay parser instead of being two different numbers. I was hoping that I could use the team numbers from replay parses to do an API call to get the team data. There is a work around ( replay team number -> match id from parse -> match id from api -> get match details with that match -> get team name -> use team name to find other id -> use other id to make API call ) but if the ids where the same the process would be so much simpler (get id from replay parser -> use id to make API call ).
                          They are the same, you're probably comparing to the test client, while the replays you have are from the main client.

                          Comment


                          • #43
                            Originally posted by Tharuler View Post
                            They are the same, you're probably comparing to the test client, while the replays you have are from the main client.
                            Good call. My mistake.
                            datdota.com -- Dota 2 Stats for the Professional Scene

                            Comment


                            • #44
                              First post should be up to date as of this post, if I missed something repost and I'll try again (muppetman your leagueid/league_id issue was already in there as solved in test client, let me know if/when that gets pushed to main client).

                              Feature requests outsourced to a google form because keeping up to date with bugs is more than enough work for me at the moment!

                              Comment


                              • #45
                                Originally posted by Phantasmal View Post
                                It's not strictly speaking a bug or anything, but it was a little frustrating that something like getElementsByTagName('ability') would pull up two sections that behave entirely differently. There's probably a much easier workaround than what I came up with, but it would be nice for each section to have a unique name.
                                How about XPaths?

                                Originally posted by Shinkai View Post
                                Just having closed (mods only) sticky thread on this subforum would be enough for what comes to API changes, announcements, changelogs and so on. Just new post per changes, everyone can see whenever something new pops up.

                                Yes?
                                That doesn't help for other APIs. Steam Web APIs go further than just Dota 2 or TF2, it would be great to have a centralized point of announcement, discussion and feedback, rather than having to hop around and check a forum here, a Steam News post there, a Wiki in the corner, run an automated ISteamWebAPIUtil checker, etc.

                                Comment

                                Working...
                                X