Jump to content

IL-2 Stats Mod: Global Aircraft Stats


Recommended Posts

=FEW=Revolves
Posted (edited)

====================================================

IL-2 Stats Mod: Global Aircraft Stats

====================================================

Authors: =FEW=Revolves and Enigma89

 

Check the mod out live on the Finnish stats website!

 

This is a mod which aims to answer questions like "Just how survivable is a P-47 in IL-2" and "What's the best bomber?" by giving you cold, hard stats on these kinds of topics. To that aim, this mod is an extension of the IL-2 stats website in use by most major IL-2 servers. It takes the data from the sorties stored on these websites, aggregates data on a per-plane basis, and displays these per-plane statistics to the user.

 

You can view the data collected by this mod in three new pages:

* An overview of all planes. Want to bomb the most targets per hour? Figure out which plane does it!

* A detailed summary of a single plane. If you ever want to know more about how your favorite plane performs.

* A page showing the performance of a single plane against all others. Do you want to know which plane works best against a Spitfire Mk.V?

 

We wish to thank =FB=Vaal and =FB=Isaay for their work creating the wonderful IL2 Stats system. Additional thanks go out to Vaudoo, PR9INICHEK, HawkerMkIII, and =FEW=Hauggy who helped us translate this mod. We also thank RaptorAttacker for creating the new icons used by this mod.


 

 

--------------------------------------------------------------------------------------------

 

This version is compatible with 1.2.78 of IL2 stats.

 

This mod works retroactively. It hijacks the stats process while no new reports are found in order to retroactively aggregate old sorties (while checking for new reports periodically). This process may take a while. You can expect a month’s worth of data on an active, 84 player server to be processed in just under an hour. You can adjust how many tours you wish to retroactively compute.

 

Old versions of this mod can be found on its Github page:

https://github.com/FGlazov/IL2-Stats_GlobalAircraftStatsMod/releases

 

This mod is compatible with my Enhancements mod, found here:
https://forum.il2sturmovik.com/topic/69965-il-2-stats-mod-enhancements/

 

 

It is incompatible with the disconnect mod. You may be interested in this bundle: https://forum.il2sturmovik.com/topic/70029-il-2-stats-mod-bundle-disco-tanks-enhancements-global-aircraft-stats/ (you can remove the link to the tankmen rankings under src/main/mod_rating_by_type/base.html if you do not have tanks on your server)

 

My IL2 stats mod projects has a todo page here:

https://trello.com/b/sjDEvV2v/il2-stats-mods-todo-list

 

 

 

 

 

IL2Stats_GlobalAircraftStatsMod-1.5.4.zip

Edited by =FEW=Revolves
  • Like 3
  • Thanks 2
  • Upvote 3
Posted

Release day hype! Thank you for everyone who helped

  • Like 3
Raptorattacker
Posted

Well done. Looks good!

 

  • Like 2
[DBS]Browning
Posted

Really happy about this! THANKYOU

  • Like 1
Posted

Great adition to stats system, good job guys ?

 

  • Like 2
=FEW=Revolves
Posted (edited)

Thanks for the kind words everyone! The system is now up and running on the Finnish server, go check it out! http://stats.virtualpilots.fi:8000/en/all_aircraft/?tour=40

 

----

 

I've just released a small update (version 1.0.1). In some cases, the retroactive computations as configured by retro_compute_for_last_tours were not starting. This is a fix to that issue. Many thanks to LLv34_Temuri for helping to debug this.

 

If you're updating from 1.0.0 there's no need to run the update script. Just copy over the src.

 

 

 

Edited by =FEW=Revolves
  • Like 1
=FEW=Revolves
Posted (edited)

I've just released another small bug fix update (just copy over src to install, no need to run update script):

 

1: Elo and killboard computations were taking kills against AI from turrets into account (kills achieved as a pilot and not a gunner didn't have this problem!). This has been fixed (AI shouldn't count here)- unfortunately this isn't fixed retroactively, so any computations you've already done will be incorrect.

 

If anyone wants a script to redo the computations because of polluted data, I can write you one. Just message me

 

2: Don't crash stats process in case there are no tours/sorties present.

Edited by =FEW=Revolves
[DBS]Browning
Posted

Surprised to see the 9T so high in Finnish Virtual ELO stats. Must be the pilots.

=FEW=Revolves
Posted

Elo tends to fluctuate a little, it might just be at a peak. I'd consider anything within a +-30 range to be basically equal :)

 

But yeah, the Yak-9 has scored surprisingly high! I noticed it back when I was testing it as I was developing the mod.

 

You can also compare last tour's stats on Finnish if you want to double check a stat: http://stats.virtualpilots.fi:8000/en/all_aircraft/?sort_by=-elo&tour=39

1PL-Husar-1Esk
Posted
2 minutes ago, [DBS]Browning said:

Surprised to see the 9T so high in Finnish Virtual ELO stats. Must be the pilots.

Strong gun ,one good hit and fight is over, you do need that  much time fighting which always increases risk. Do not believe that only good pilot fly particular plane it's more uniformly spread. 

[DBS]Browning
Posted
1 minute ago, 1PL-Husar-1Esk said:

Do not believe that only good pilot fly particular plane

 

Well, a very new player is unlikely to own or fly the 9T, so they won't be dragging it's ELO low.

=FEW=Revolves
Posted

Version 1.1.0 released, which now includes support for flying circus.

 

To be precise: Earlier versions of the mod already work for flying circus. The only problem was that the filters for bombs/no bombs were set incorrectly, e.g. the Fokker was assumed to have a bomb and non-bomb variant. The new version now has the correct filters. Thanks to US213_Talbot for pointing out the planes which should be marked with Jabo variants.

=FEW=Revolves
Posted

Previous version was bugged and was impossible to install. It should be fixed in the new 1.1.1 version.

=FEW=Revolves
Posted

Bug fix version 1.1.2 - if you had any sortie with a plane damaged by a B-25 (either a new sortie or an old one which was retroactively computed over), it would crash the stats process. This is fixed in the new version.

=FEW=Revolves
Posted (edited)

Big feature update to this mod! Version 1.2.0

 

Chief among the changes is the ability to see your aircraft stats on a per player basis. E.g., see how well you do in a Yak-1B. See your performance in a BF 109 K-4 vs all other enemy types!

 

 

aircraft_overview_promo.png.b4764c4881c947088403842d914d26de.png

 

There are also several new data points, and other minor changes. You can check them out below.


Important note to server admins: The player aircraft stats require are also computed retroactively. Installing this update will cause the system to start retroactively computing them! It uses the same parameter as before. You may wish to adjust it before installing the update, this new data will likely require a bit more space in your DB than the previous one.

 

To update: You need to run update.cmd after pasting over the src/

 

Full changelog:

 

- New pages: Show aircraft stats per player.
- Add Offensive/Defensive ammo breakdowns (when Ammo Breakdown module is active in IL-2 Stats enchancements.) This does not work retroactively.
- Add "Fitler below" option for aircraft killboard. You can now check e.g. Spitfire with boost vs BF 109 K-4 without boost matchup.
- Add new data point "Plane lethality (no assists)"
- Add new data points "Aircraft lost to accidents/AA" and "Deaths due to accidents/AA". This is calculated retroactively for old data.
- Show total number of instances next to percent datapoints. E.g. instead of showing Deaths: 54%, show Deaths: 54% (132), where 132 is the nr of deaths that occured.
- Fix bug where "Fighter Score" was not being translated into Russian.
- Fix rendering issue where "Filter by" was jumping on Aircraft Rankings page when sorting.
- Update to version 1.2.49 of IL-2 Stats.

 

Edited by =FEW=Revolves
=FEW=Revolves
Posted

Version 1.2.1 released, which works with the new version 1.2.50 of IL2 Stats.

=FEW=Revolves
Posted

Version 1.2.2 released which fixes a bug with the elo calculation introduced in 1.2.0

 

Version 1.20 and 1.2.1 both counted turret kills twice towards Elo, and twice in aircraft killboards. This is fixed in 1.2.2.

 

Note that this bug affects any buckets which were touched by retroactive computation - old sorties were revisited in 1.2.0 to calculate the player buckets.

 

Old data unfortunately can't be repaired from my side :( - what's calculated is calculated. If you've got a database backup before you installed 1.2.0 you can replace your current DB with the backup and have IL-2 stats reparse all the sorties since you installed 1.2.0.

=FEW=Revolves
Posted

The turret kills counting double in killboards bug was still occurring - perhaps it was reintroduced in a later update. Anyways, I've created a fix for it (1.2.6) and checked it several times, it should now actually be fixed.

=FEW=Revolves
Posted (edited)

Yet another minor computation bug fixed in 1.2.7.

 

Retroactively computed deaths/aircraft lost to aa/accident were doubled. This update fixes that issue.

 

In addition, it will recompute those two stats.

 

To update: You need to run update.cmd after pasting over the src/

 

Edited by =FEW=Revolves
=FEW=Revolves
Posted

Another computation bug retroactively fixed - early versions of 1.2.X were counting turret kills twice in plane killboards, elo rating, and plane/pilot lethality. This has been since fixed, but if you were running an early version this meant some of your data is now incorrect.

 

Version 1.2.8 now will recompute all of the data that has been corrupted (depending on the RETRO_COMPUTE_FOR_LAST_TOURS config variable).

 

To update: You need to run update.cmd after pasting over the src/

=FEW=Revolves
Posted

No changes to this mod. It is compatible as is with 1.2.53 of il2 stats. Just some missing Porutuguese translations that will be there in a major release in ~2 weeks.

  • 3 weeks later...
=FEW=Revolves
Posted

Feature release 1.3.0!

 

This update is focused on stats which connect players and total aircraft rankings together. Namely, you can now quickly see who has the best streak in an airplane, or who got the most kills in a single sortie of a given aircraft type. In addition, there's a new table which shows you the best pilots of each aircraft type.

 

image.thumb.png.ce2439907525d084b8b798df8b849c34.png

 

This update also includes the Portuguese version (Many thanks to Arkanno, JorgeHFJ and GhostDragon!), and also quite a few small changes and bug fixes. Full changelog:

    Add Portuguese translations.
    New page: Each aircraft has a new tab "Aircraft Pilot Rankings", which shows the best players for that aircraft.
    Change "Rating" field in Player Aircraft to now be "Position in Rating".
    Add new fields "Best air kill/ground kill/score streak". Note that these streaks reset only when you fly that aircraft, e.g. if you die in between p-51 sorties it doesn't reset your p-51 streak. These fields are clickable with a link to the player!
    Add new fields "Current air kill/ground kill/score streak" for player aircraft stats. Like above, only reset when you die in that aircraft.
    Add new fields "Max AK/GK/Score in one sortie". They are clickable with a link to the sortie!
    Add new fields "Kills" and "Ground kills" to Aircraft Rankings and Pilot Aircraft Overview pages.
    Do not count AI kills towards Plane Lethality (No assists).
    Do not count sorties where the plane took off twice (and thus likely rearmed) or the pilot bailed out towards accuracy stats (the nr bullets shot is bugged in both of these cases due to bugs in the game logs). This also applies retroactively.
    Log update to console when doing background jobs for every 5000 sorties processed.
    Fix bug where player tanks were not showing up under ground kill breakdowns.

 

To update: You need to run update.cmd after pasting over the src/

  • 1 month later...
=FEW=Revolves
Posted

A small feature release 1.40, the ammo breakdowns now has a collapsible section which contains more information about that particular breakdown (it starts collapsed, open it by clicking on an ammo breakdown). You can also download the ammo breakdown data and perform your own analysis on it :)

 

6RSgWWA.png

 

 

To update: IMPORTANT: You need to copy over the requirements.txt and requirements.in into your il2-stats folder included into your zip, in addition to copying over the src/. This update required the use of some standard python math librareis (numpy, scikit, scipy). You need to run update.cmd after doing the previous two steps.

=FEW=Revolves
Posted (edited)

I've released a hotfix which fixes parsing logic for Halberstadt and Bristol turrets, as well as fixing the scoring of captures - bailouts which resulted in death over enemy territory were incorrectly counted as both a capture and a death, instead of only counting as a death. The fix for the captures is retroactive.

 

To update: You need to run update.cmd after pasting over the src/

Edited by =FEW=Revolves
=FEW=Revolves
Posted

I've released a small compatibility update (1.5.0) for IL2 Stats enhanchements.

=FEW=Revolves
Posted

Bug fix update 1.5.3 - it fixes a problem where if a player has an excellent, consistent streak on one aircraft, then the stats used to crash (happened only once so far... but just in case)

 

To update: You need to run update.cmd after pasting over the src/

  • Upvote 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...