Jump to content
PA-Sniv

IL2 server stats (unofficial)

Recommended Posts

One tiny glitch with the latest 1.2.33 update:

The Bristol F.2B aircraft images are named "bristol f.2b falcon ii.png" and "bristol f.2b falcon iii.png".

There seems to be a reference to planes with such name (static/parked aircraft maybe?), but for player planes the stats actually look for images called "bristol f2b (f.ii).png" and "bristol f2b (f.iii).png".

As a temporary workaround, you can copy the existing images "bristol f.2b falcon ii.png" and "bristol f.2b falcon iii.png" and rename them to "bristol f2b (f.ii).png" and "bristol f2b (f.iii).png", then run "update.cmd" and you're set.

 

:drinks:

Mike

Share this post


Link to post
Share on other sites

It seams there is bug with web stats when player bails out at low altitudes so that he gets killed as parashoot dont open fast enought. 

 

Web stats system dont detect that player died, it just says that player bailed out and was alive, while In game pilot of player is KIA like it should be.

 

I noticed this today when on two ocasions my tm8 bailed out to low, and he hit ground with pilot after bail out and his pilot was dead, game showed that he was kiled by chat message and also in game stats detected that, but then when mission was over on web stats it just says hes pilot is ok and just bailed out normaly with sortie counting as normal bail out.

 

I dont know when this started ( with what web stats update, or maybe something got changed in game update ).

Also dont know if this happends on other servers that use this web system, i noticed it on WoL server. 

Share this post


Link to post
Share on other sites
On 7/27/2019 at 3:30 AM, =FB=Vaal said:

Thank you for the report.

Vaal, is there any sort of API I can make a web service call to?

I'm interested in trying to integrate the server stats with a Discord bot I'm writing. 

Share this post


Link to post
Share on other sites
On 8/11/2019 at 10:04 PM, 77.CountZero said:

It seams there is bug with web stats when player bails out at low altitudes so that he gets killed as parashoot dont open fast enought. 

 

Web stats system dont detect that player died, it just says that player bailed out and was alive, while In game pilot of player is KIA like it should be.

 

I noticed this today when on two ocasions my tm8 bailed out to low, and he hit ground with pilot after bail out and his pilot was dead, game showed that he was kiled by chat message and also in game stats detected that, but then when mission was over on web stats it just says hes pilot is ok and just bailed out normaly with sortie counting as normal bail out.

 

I dont know when this started ( with what web stats update, or maybe something got changed in game update ).

Also dont know if this happends on other servers that use this web system, i noticed it on WoL server. 

 

Just saw this video showing same thing i reported in quoted text, and you can see same thing happend to him as to my tm8 in this sorties:

http://il2stat.aviaskins.com:8008/en/sortie/4652794/?tour=51

http://il2stat.aviaskins.com:8008/en/sortie/4655032/?tour=51

 

Video shows player bailed out to low to servive, and in game he was killed, but web stats detect that as normal bail out like when player servives:


http://il2stat.aviaskins.com:8008/en/sortie/log/4546242/?tour=50

 

I asked WoL admin if they maybe modified your web stats to alow this for some reson and they say they didnt, so problem is not coased by them.

Share this post


Link to post
Share on other sites
Posted (edited)

Hello,

We had errors running stats after the IL2 update, so

we updated to the newest version of the stats -no errors on update- and then when we went to run stats.cmd again we get this:


C:\il2_stats\run>cd ../src

C:\il2_stats\src>"../.venv/Scripts/python.exe" manage.py stats_whore
[2019.10.06 10:31:44] Lock 58930992 acquired on C:\il2_stats\file.lock
[2019.10.06 10:31:44] IL2 stats 1.2.35, Python 3.5.2, Django 1.11.18
[2019.10.06 10:31:44] missionReport(2019-10-04_04-48-12)[0] - exists in the DB
[2019.10.06 10:31:45] missionReport(2019-10-04_07-49-24)[0] - processing new rep
ort
[2019.10.06 10:31:45] unexpected error
Traceback (most recent call last):
  File "C:\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in
handle
    stats_whore.main()
  File "C:\il2_stats\src\stats\stats_whore.py", line 62, in main
    stats_whore(m_report_file=m_report_file)
  File "C:\Python35\lib\contextlib.py", line 30, in inner
    return func(*args, **kwds)
  File "C:\il2_stats\src\stats\stats_whore.py", line 217, in stats_whore
    coalition_score[new_sortie.coalition] += new_sortie.score
KeyError: 4
[2019.10.06 10:31:45] Lock 58930992 released on C:\il2_stats\file.lock
Traceback (most recent call last):
  File "manage.py", line 7, in <module>
    execute_from_command_line(sys.argv)
  File "C:\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py"
, line 364, in execute_from_command_line
    utility.execute()
  File "C:\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py"
, line 356, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\il2_stats\.venv\lib\site-packages\django\core\management\base.py", li
ne 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "C:\il2_stats\.venv\lib\site-packages\django\core\management\base.py", li
ne 330, in execute
    output = self.handle(*args, **options)
  File "C:\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in
handle
    stats_whore.main()
  File "C:\il2_stats\src\stats\stats_whore.py", line 62, in main
    stats_whore(m_report_file=m_report_file)
  File "C:\Python35\lib\contextlib.py", line 30, in inner
    return func(*args, **kwds)
  File "C:\il2_stats\src\stats\stats_whore.py", line 217, in stats_whore
    coalition_score[new_sortie.coalition] += new_sortie.score
KeyError: 4

C:\il2_stats\src>pause
Press any key to continue . . .

 

Can I please get some direction on how to proceed?

 

Edit:  I think maybe the stats cannot handle the Great Britain Allies coalition yet?  And we've been testing a new map which uses it?

 

Thanks,

 

Matthias

Edited by J5_Matthias

Share this post


Link to post
Share on other sites

Hello, I am getting a problem with the stats parser:

 

KeyError: 'vehiclerangefinderturret'
[2019.10.11 08:23:26] Lock 69842608 released on C:\il2_stats\file.lock

 

Did I mess up an update somehow? I have an il2_stats installation that I have patched from 1.31 to 1.32 to 1.35, but I missed the interim patches (.33 and .34). Could that be the problem?

Share this post


Link to post
Share on other sites

Good Day =FB=Vaal,

 

I have been getting recently an issue with processing missionReports: It happens kind of randomly. Any thoughts?

 

[2019.10.11 08:28:27] missionReport(2019-10-10_22-05-35)[0] - processing new report
[2019.10.11 08:28:28] unexpected error
Traceback (most recent call last):
  File "C:\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle
    stats_whore.main()
  File "C:\il2_stats\src\stats\stats_whore.py", line 62, in main
    stats_whore(m_report_file=m_report_file)
  File "C:\Python35\lib\contextlib.py", line 30, in inner
    return func(*args, **kwds)
  File "C:\il2_stats\src\stats\stats_whore.py", line 217, in stats_whore
    coalition_score[new_sortie.coalition] += new_sortie.score
KeyError: 4
[2019.10.11 08:28:28] Lock 60945776 released on C:\il2_stats\file.lock
Traceback (most recent call last):
  File "manage.py", line 7, in <module>
    execute_from_command_line(sys.argv)
  File "C:\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 364, in execu
te_from_command_line
    utility.execute()
  File "C:\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 356, in execu
te
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 283, in run_from_
argv
    self.execute(*args, **cmd_options)
  File "C:\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "C:\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle
    stats_whore.main()
  File "C:\il2_stats\src\stats\stats_whore.py", line 62, in main
    stats_whore(m_report_file=m_report_file)
  File "C:\Python35\lib\contextlib.py", line 30, in inner
    return func(*args, **kwds)
  File "C:\il2_stats\src\stats\stats_whore.py", line 217, in stats_whore
    coalition_score[new_sortie.coalition] += new_sortie.score
KeyError: 4


***************2019-10-10_22-05-35)[0]**************************Actual MissionReport
T:0 AType:15 VER:17
T:0 AType:20 USERID:f832d666-c69e-42ca-a616-1e353afe194a USERNICKID:f6ecf7ce-c5e3-4708-acc0-7018f5df4d30
T:0 AType:0 GDate:1918.4.15 GTime:8:30:0 MFile:Multiplayer/Dogfight\Morning Patrol.msnbin MID: GType:2 CNTRS:0:0,101:3,102:3,103:3,201:4,202:4,203:4,301:3,302:3,303:3,304:3,305:3,401:4,402:4 SETTS:00000000001000010000000010001 MODS:0 PRESET:0 AQMID:0 ROUNDS: 1 POINTS: 500000000
T:0 AType:13 AID:519168 COUNTRY:302 ENABLED:1 BC(0,0,0,0,0)
T:0 AType:13 AID:521216 COUNTRY:401 ENABLED:1 BC(0,0,0,0,0)
T:1 AType:11 GID:679936 IDS:373760,379904,386048,392192 LID:373760
T:1 AType:11 GID:680960 IDS:398336,404480,410624,416768 LID:398336
T:1 AType:11 GID:681984 IDS:422912,429056,435200,441344 LID:422912
T:1 AType:11 GID:683008 IDS:300032,306176,312320,318464 LID:300032
T:1 AType:11 GID:684032 IDS:324608,330752,336896,343040 LID:324608
T:1 AType:11 GID:685056 IDS:349184,355328,361472,367616 LID:349184
T:1 AType:14 AID:519168 BP((69704.1,101.8,50516.5),(100211.7,101.8,49865.6),(100281.1,101.8,76971.0),(93705.7,101.8,75629.7),(81386.2,101.8,81939.5),(72771.2,101.8,78216.9),(69645.8,101.8,74679.4))
T:1 AType:14 AID:521216 BP((69941.0,34.8,83473.6),(76096.6,34.8,84820.3),(81400.0,34.8,87471.9),(93336.6,34.8,82887.5),(94954.3,34.8,79371.9),(100009.2,34.8,79250.6),(99904.4,34.8,112421.8),(69971.0,34.8,111958.0))
T:10 AType:9 AID:447488 COUNTRY:401 POS(87054.4844, 26.6957, 103703.3203) IDS()
T:10 AType:9 AID:478208 COUNTRY:302 POS(86712.1016, 98.4156, 72534.6016) IDS()
T:10 AType:9 AID:517120 COUNTRY:401 POS(90358.4531, 26.6957, 95897.3750) IDS()
T:10 AType:9 AID:523264 COUNTRY:302 POS(83028.0938, 108.3767, 62203.2539) IDS()

 

As always thanks.

 

Share this post


Link to post
Share on other sites
7 часов назад, Alonzo сказал:

Hello, I am getting a problem with the stats parser:

 

KeyError: 'vehiclerangefinderturret'
[2019.10.11 08:23:26] Lock 69842608 released on C:\il2_stats\file.lock

 

Did I mess up an update somehow? I have an il2_stats installation that I have patched from 1.31 to 1.32 to 1.35, but I missed the interim patches (.33 and .34). Could that be the problem?

 

replace file objects.csv and run update.cmd 

objects.zip

 

 

@JG1_Snaggle

I wrote about it in the list of changes and above already answered the same question. Now, the statistics do not support the new coalitions - the First World War.

  • Upvote 1

Share this post


Link to post
Share on other sites
4 hours ago, =FB=Vaal said:

 

@JG1_Snaggle

I wrote about it in the list of changes and above already answered the same question. Now, the statistics do not support the new coalitions - the First World War.

@=FB=Vaal,

 

That is what I thought, thanks for confirming!

 

 

Share this post


Link to post
Share on other sites
14 hours ago, =FB=Vaal said:

replace file objects.csv and run update.cmd 

objects.zip 11.19 kB · 1 download

 

Great! This fixed my problem.

 

In future, should I ensure I always apply each patch, rather than skipping patches? (That's fine, I didn't realize my mistake).

Share this post


Link to post
Share on other sites

Question/clarification on your latest stats release with the choice between ww1 and ww2 themed server stats:

 

If I update, can I continue to make WW1 missions using WW2 coalitions - as long as I do not mix WW1 coalitions in with the WW2?

 

AND if I use the WW1 theme does that cover the WW2 coalitions as well?

 

Edited by J5_Matthias

Share this post


Link to post
Share on other sites

Yes, and yes. The Entente Coalition is equal to the Allies. Central Powers to the Axis.

Share this post


Link to post
Share on other sites

Some servers have tank sorties in their stats. What is needed to add tanks to the stats? Where should I look into?

Share this post


Link to post
Share on other sites
11 часов назад, LLv34_Temuri сказал:

Some servers have tank sorties in their stats. What is needed to add tanks to the stats? Where should I look into?

It's some kind of unofficial modification.

Share this post


Link to post
Share on other sites
35 minutes ago, =FB=Vaal said:

It's some kind of unofficial modification.

Yes, I was thinking about if I start looking into making my own modification, then where should I begin :)

Share this post


Link to post
Share on other sites

 

 

 

1 hour ago, LLv34_Temuri said:

Yes, I was thinking about if I start looking into making my own modification, then where should I begin

 

lol....begin by getting a lot of Ibuprofen.....

I signed up for a bunch of college courses on python....(Udemy was a good one).  Was actually doing ok, then found everything i might have learned on a particular nite I completely forgot the next day (old age thing)...

But I know where you are coming from, I would love to make my own simple edits, but it's a lot more complicated than it looks...

 

And after having looked into detail at all the work Vaal did, he deserves a ton of credit....

 

But hey, if you make any progress, let me know....it's still there in the back of my mind..

Share this post


Link to post
Share on other sites
On 10/23/2019 at 10:28 PM, WWSitttingDuck said:

But hey, if you make any progress, let me know....it's still there in the back of my mind..

Got some progress, but looks like it is a bigger task to get done right. Learned a bit about Django, though :)

 

Hoping that once TC is released, Vaal would find the time to make tank support out-of-the-box :P

Share this post


Link to post
Share on other sites

For FC please add

 

Points/scores  in the server stats for usage of camera in FC planes for photo recon / trench mapping and radio for task such artillery fire direction missions.

plus

Great war era decorations and medals in server stats.

 

Share this post


Link to post
Share on other sites

1) It is impossible to implement for our statistics - it can be done if the statistics is specially made for a particular server.

2) We don't paint a awards or anything. Server administrators can do this on their own.

Share this post


Link to post
Share on other sites

 

good morning, I upload an error that gives me the console and in the mission log files.
I don't know if it's already corrected and how to correct it. excuse meerror.jpg.7f9095fec9d5566fa40c77b0e2149b73.jpg

logs.rar

Share this post


Link to post
Share on other sites

Hi @=FB=Vaal,

 

Thanks for your works.

 

Does it exist some option to use your statistics system for a "Dead is Dead" Campaign :

- Total summary (planes shots / scores / mission succeful) are unchanged

- Pilot ranking = only current live pilot statistic are displayed (dead pilot are displayed but with 0 victories / missions / etc...)

- Same as above for team statistic

 

For specific statistic pilots = Need only two change : Rank and Medals (only for current live pilots) - Other can be displayed as currently

Bye

 

Genius

Edited by -IRRE-Genius

Share this post


Link to post
Share on other sites

Similar functionality is not supported by statistics. 

At the moment I only support compatibility with new versions of the game. There are no plans to develop new features.

Share this post


Link to post
Share on other sites
12 hours ago, =FB=Vaal said:

Similar functionality is not supported by statistics. 

At the moment I only support compatibility with new versions of the game. There are no plans to develop new features.

 

Re,

 

Thanks.

 

And is it possible for users to tune html "templates" to display only what is desired ?

 

Bye

Share this post


Link to post
Share on other sites

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...