Page 1 of 1

BZFlag Postgame

Posted: Sun Sep 08, 2019 9:08 pm
by allejo
For the past few months, I've been teasing this project on Discord and now I've finally gotten around to deploying it and importing my ~8700 LeaguesUnited replays. I'd like to introduce to you, BZFlag Postgame.

Postgame is a Symfony project that reads replay files and summarizes them. Taking a look at a match that occurred yesterday, here's what's available for each replay:
  • Final match score
  • The final scoreboard
  • Times of every flag capture
  • A log of the public chat
  • Per player K/D stats; i.e. how many times did player X kill player Y in this match?
If you'd like to perform your own analysis, you can append "/json" to any replay URL and you'll receive a JSON representation of that match. For example:

Code: Select all
So how is this all possible? BZFlag replays are a simple collection of every packet that was sent to the server. I have written a PHP library (allejo/bzflag-networking.php) on GitHub that reads replays and unpacks the information into PHP objects.

Please note, that Postgame is still in the alpha stage and there's more to come. So feedback, suggestions, and bug reports are greatly welcomed! Of course, Postgame is open-source on GitHub and welcomes contributions. There are a number of reported issues/feature requests already, so help would be greatly appreciated!

Re: BZFlag Postgame

Posted: Sun Sep 08, 2019 9:23 pm
by kierra
Kudos to you for this undertaking, allejo! I'm so excited and can't wait to see more.
I have missed mana's site for GU league that tracked so many different stats.

Re: BZFlag Postgame

Posted: Sun Sep 08, 2019 9:58 pm
by Zehra
Looks great, will be inputting some suggestions/ideas.


Re: BZFlag Postgame

Posted: Sun Sep 15, 2019 7:49 pm
by strayer
I do not only like the idea of BZFlag Postgame but also the current implementation. Pretty good. :o)