PvP - Wrong Game Result

PvP - Wrong Game Result

in API Development

Posted by: Crudelis.8640

Crudelis.8640

Hello guys,

it seems that the pvp/games endpoint returns wrong values

{
“id”: “2C6F8A00-797B-4DD8-B2BF-B848DF68F20A”,
“map_id”: 554,
“started”: “2017-05-18T19:41:03.136Z”,
“ended”: “2017-05-18T19:50:04.136Z”,
“result”: “Defeat”,
“team”: “Red”,
“profession”: “Mesmer”,
“rating_type”: “Unranked”,
“rating_change”: -18,
“scores”: {
“red”: 500,
“blue”: 453
}
},

The game result was “Defeat” and I am on the “Red” team.
But the score says “Red” won with 500 – 453 points.

Anyone else with this issue?

Elona Reach [DE]

PvP - Wrong Game Result

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I confirm that there are wrong values. I play 1-2 pvp games each day and the last good date is 2017-05-15T15:36:14.437Z.
From 2017-05-16T19:47:20.336Z values are wrong, maybe there is something wrong with the last update.

p.s. Ok I have done a new match:
{
“id”: “6769DF19-AED6-473F-85BA-4BDC2E028902”,
“map_id”: 1011,
“started”: “2017-05-22T13:11:31.809Z”,
“ended”: “2017-05-22T13:19:47.809Z”,
“result”: “Bye”,
“team”: “Red”,
“profession”: “Thief”,
“rating_type”: “Unranked”,
“rating_change”: 9,
“scores”: {
“red”: 70,
“blue”: 545
}
}
My team was exactly red, but “scores” is wrong, because in this case “red” should be 545 and “blue” 70.

(edited by Elfo Bianco.3786)

PvP - Wrong Game Result

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Next

Does the API data differ from what’s displayed in the small match history bit in-game PvP panel?

PvP - Wrong Game Result

in API Development

Posted by: Crudelis.8640

Crudelis.8640

Hello Lawton,
in-game shows the same wrong (or right?) situation.

Attachments:

Elona Reach [DE]

PvP - Wrong Game Result

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Does the API data differ from what’s displayed in the small match history bit in-game PvP panel?

I didn’t think about that, but you are right, the in-game data is bugged.

Attachments:

PvP - Wrong Game Result

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

…huh.

I’ve raised the issue with the PvP team; they agree that the scores are swapped (but the results are correct). In the meanwhile, I’m going to add some code to the API frontend that tries to swap the scores back if it thinks they’re reversed.