Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Inconsistent data from get_live_game_stats when set_game_layout is used #663

Open
Dorfieeee opened this issue Sep 1, 2024 · 2 comments

Comments

@Dorfieeee
Copy link
Collaborator

GET api/get_live_game_stats v10.3.0

When set_game_layout is used to restart the map, the players's statistics is behaving very unpredictably.
Even though there were 50 players, it would show only a couple. I figured those could be players who killed or were killed after the restart.
As new players were joining the server, they started showing up immediately.
However, the stats were kind of delayed even for those newcomers.
The first image displaying get_live_game_stats response from 5min before the end of the game.
The second is displaying the final stats.
As you can see, there are large differences in numbers.
On the positive note, the final stats are calculated correctly so the data is there.

no. 1 - 85 mins in the game
image
no. 2 - final stats after the game
image

@heliax01
Copy link

I have heard the same from some users. They said the stats on the final stats page are not respresenting the kills that were shown ingame. Still gathering more information. The game was NOT setup using a specific layout, just votemap.

@Dorfieeee
Copy link
Collaborator Author

Dorfieeee commented Jan 10, 2025

I have heard the same from some users. They said the stats on the final stats page are not respresenting the kills that were shown ingame. Still gathering more information. The game was NOT setup using a specific layout, just votemap.

There might be several reasons for different counts. Redeploys without being knocked down don't count as death. Another case is that stats in game show assists as kills eg. tank crew member other than the gunner. The same goes for members reloading for artillery and anti tank gun. Only the one who fires is logged and that counts towards the final kill count.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants