/v2/wvw/matches/#-# kills and deaths oddness

/v2/wvw/matches/#-# kills and deaths oddness

in API Development

Posted by: Bjyoric Orcstone.1728

Bjyoric Orcstone.1728

Using /v2/wvw/matches/1-2 and checking total deaths vs kills and I’m puzzled:
total deaths across all maps is 145302
while total kills = 147806
So there are 2504 more kills than deaths.
How can that be?
I’d understand more deaths that kills if falling off cliffs counted.

/v2/wvw/matches/#-# kills and deaths oddness

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

I just pulled the kills/deaths for match 1-2 and they looked like this when I fetched them from the API:


	"deaths": {
		"red": 55369,
		"blue": 49319,
		"green": 51870
	},
	"kills": {
		"red": 61143,
		"blue": 49876,
		"green": 37534
	}

Using the above data, the total deaths with these counts is 156558, the total kills is 148553. The logic used on the map instance server for counting kills/deaths is detailed in this post — total deaths should always be higher than total kills.

It’s totally possible there’s another horrible bug with how the API interprets the counts from the map instance servers (last time it was including OS kills/deaths in the total counts); I don’t see the issue currently manifesting though.

/v2/wvw/matches/#-# kills and deaths oddness

in API Development

Posted by: Bjyoric Orcstone.1728

Bjyoric Orcstone.1728

Thanks for the explanation.