gw2-api / issues

Issue tracker for the Guild Wars 2 API
https://discord.gg/zqeHCEg
16 stars 0 forks source link

`/v2/wvw/matches/stats`: Wrong kills and deaths #10

Open Taschenbuch opened 3 years ago

Taschenbuch commented 3 years ago

Current Behavior

wvw/matches/stats returns wrong kills and deaths. example match (millersund world, EU): https://api.guildwars2.com/v2/wvw/matches/stats?world=2206

has been tested for 2 wvw match ups on dates between 15.08.21-21.08.21 at different times. screenshots: left ingame wvw window. right tool that polls the api (kills, deaths, k/d)

at reset 20.08.21: grafik grafik

previous match 15.08.21 grafik grafik

Expected Behavior

kills and deaths total and per map should be close to the ingame wvw window values. A delay of 5-15 minutes is okay. But not several hours and the k/d should not be distorted that much

Steps To Reproduce

  1. open wvw window ingame.
  2. Select 2nd tab "Match Overview".
  3. select the "Match History" tab 4 select "Kill/Death (Total)" tab
  4. compare it to the result of the api response (replace world "2206" (millersund) with your world or an enemy world) https://api.guildwars2.com/v2/wvw/matches/stats?world=2206

Happening since

not sure. at least some months (forum thread if from november 2020), probably much longer

Anything else?

impact: this affects a lot of wvw websites and tools. examples:

websites

tools

script used by twitch streamers


Maybe related, but probably not really: https://github.com/arenanet/api-cdi/issues/417#issuecomment-268643700 Just an interesting note about how lye implemented the tracking bit. Given that he mentioned that it was kind of a legacy diagnostic already back in 2016, might mean that the value is no longer properly tracked almost 5 years later.

Archomeda commented 3 years ago

Just a guess and for @dsnider-anet to check, but maybe it's the outnumbered buff preventing counting the kills/deaths correctly because that buff prevents war score from being granted to the killing color?