Jump to content
PA-Sniv

IL2 server stats (unofficial)

Recommended Posts

Recently there have been changes in the format of game logs. Statistics can no longer work with the old log files.

Share this post


Link to post
Share on other sites

thanks, that is kind of what I figured...do you know the date of the earliest log file I can keep?

Share this post


Link to post
Share on other sites

If my memory serves me, the game was released on April 8 with those changes.

Share this post


Link to post
Share on other sites

Vaal, our stats will not ready any mission files after june 30th.  The mission files are there.

I have tried: 

intall.cmd

reset stats.cmd

collectstatic.cmd

 

any suggestions?

Share this post


Link to post
Share on other sites

Without logs or anything, I can only guess.
Check the paths in the statistics settings. Maybe the game has a different path.
But it will be easier to remember what exactly you changed on the server June 30. The new version of statistics and the game on this day was not released.

Share this post


Link to post
Share on other sites

Is there a github or something for this project?  I would like to make my own customizations to this code in a fork so I can stay up to date easily.

Share this post


Link to post
Share on other sites

Strike1. I attacked a depot and I was credited by ~20 destroyed facilities in the score board of the game. But later in the statistics page, I was only credited by 2 destroyed facilities. From the screenshots of the strike, it can be seen that more than 2 buildings were destroyed.  http://ts3.virtualpilots.fi:8000/en/sortie/log/473409/?tour=36

 

Strike2. I was credited by 11 destroyed facilities, but a lot more were destroyed according to the screenshots. In the game, the results were 29 destroyed facilities. http://ts3.virtualpilots.fi:8000/en/sortie/log/473132/?tour=36

Can it be checked if there’s something wrong with the statistics when carpet bombing by A20 with twenty 100kg bombs? I’ve done similar strikes by Pe2, but used four 250kg bombs instead. There the statistics matched with the game. http://ts3.virtualpilots.fi:8000/en/sortie/log/463426/?tour=36

strike1.jpg

strike2.jpg

Share this post


Link to post
Share on other sites

Without mission log files, it's hard to tell exactly what the reason is.

But for example 4 barracks can be one object.

 

Perhaps the game statistics handles this point differently, but in the description of our statistics, so it is indicated that it will be different from the statistics inside the game.

Share this post


Link to post
Share on other sites
Posted (edited)

Q:How do chunks work? ( looked though this thread and found no info on this)

(I'm guessing these are in the database)


I assumed it was to add more pages (tabs) to website.

But only the default ones work. Any other added chunks to do show on the website.

(I was trying to add a timezone page)

I also by accident deleted the server name chunk, how do I make another one?

 

Currently it looks like this

image.png.7654ec3b1c4d174f6af7c306b994515f.png

image.png.63d7a777343befa84a965318b0615714.png

Edited by =RS=Stix_09

Share this post


Link to post
Share on other sites

Yes, the chunks are stored in the database, but the statistics do not have the functionality to display custom chunks. You can see in code and templates how default chunks are used and repeat it.

 

You can simply create a chunk with the same name "server_name".

  • Thanks 1

Share this post


Link to post
Share on other sites

Does anyone use statistics with PostgreSQL version above 9.5 ?  

9.6, 10, 11, 12 ?

Share this post


Link to post
Share on other sites

Salute!

 

I have a problem.

I cannot create a new user or log in as an administrator.

 

Only from the computer where the server is installed I can register and login.

 

Status Message

Access to il2stats.gavca.com has been denied.

You are not authorized to view this page.

HTTP ERROR 403

Share this post


Link to post
Share on other sites
On 9/11/2020 at 4:47 PM, =FB=Vaal said:

Put createsuperuser.cmd in the "run" folder and run it. This way, you can create a new administrator. 

createsuperuser.zip 242 B · 1 download

 

 

186/5000
On the server computer I can access or create a user. "localhost"
Another person accessing from another computer cannot create.
Please Vaal, try to register and you will see the error that appears. http://airwars.gavca.com

Share this post


Link to post
Share on other sites

Web statistics has a django.log file. Send it to me via private messages.

Share this post


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

Web statistics has a django.log file. Send it to me via private messages.

 

sorry, but where can I find django.log

Share this post


Link to post
Share on other sites

problem fixed, it seems to me that the network firewall was blocking access. Sorry and thanks for the help Vaal

Share this post


Link to post
Share on other sites

Hello @=FB=Vaal

 

Somehow my squad does not appear in Wings of Liberty server and in combat box server, I am not sure what's going on because in September we were visible. I think this affects many squads.

 

Kind regards 

Share this post


Link to post
Share on other sites

Only active players are displayed in the statistics. Have they already played in October?

Share this post


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

Only active players are displayed in the statistics. Have they already played in October?

We have played four E69s in WoL and it does not appear, somehow now we appear in combatbox.net

Share this post


Link to post
Share on other sites
14 hours ago, E69_Qpassa_VR said:

Hello @=FB=Vaal

 

Somehow my squad does not appear in Wings of Liberty server and in combat box server, I am not sure what's going on because in September we were visible. I think this affects many squads.

 

Kind regards 

Probably when they fix their stats after last update they forghot to set that displayed/ranked squad should have min of 2 players, how it looks min is now 4 (thats default value).

http://il2stat.aviaskins.com:8008/en/squads/?tour=65

You see displayed only squads with 4 or more players that played this month.

Your squad is registered as always:

http://il2stat.aviaskins.com:8008/en/pilots/258/E69_/?tour=65

and only 3 players played in October, so when one more shows up it will be shown in squad ranks. Or when they edit back to min 2 if this new edit is not intentional to be 4.

  • Upvote 2

Share this post


Link to post
Share on other sites

Vaal , salute!

 

I question only for curiosity, and for know about posibilities.

 

All the servers use this stats sistems, where  pilots and squads (allied or axis) are mixed in ranking stats

 

My question is if is posible made 2 diferent ranking one for each team

In old il2, many servers had separate rankings if im not wrong.

 

When u designed stats system , u thinked about it , have a second version in the poket? 

 

Thx

Share this post


Link to post
Share on other sites

In the old IL2 on the servers I used to play - they used statistics from the Gennadich Team. It did not have such a division. There was such a division on servers like ADW or cooperative projects like VEF, Bellum. But it worked this way because the player had to play only for one side.

So honestly, we didn't even think about such functionality.

 

And now we don't have free time to think over and implement big features. At this stage, we only support the compatibility of statistics with the game. So I will not promise anything.

Share this post


Link to post
Share on other sites

Python 3.6 works fine.

For Python 3.8 need to update the library versions. I will update them in the next version.

On 3.9 it seems that the necessary library packages are not yet available.

 

Share this post


Link to post
Share on other sites

@=FB=Vaal I think there might be something wrong with the latest version 1.2.45 regarding showing sorties with hurricane. Stats parser seems to handle them ok, but if I select one hurri sortie from e.g. here http://stats.virtualpilots.fi:8000/en/sorties/1148/MeoW.Scharfi/?tour=39 the server gives 500 error. I noticed that the static/img/aircraft folder doesn't contain the hurricane mk.ii.<somehashhere>.png files after running the update (like other planes do), there's only the hurricane mk.ii.png.

  • Like 1

Share this post


Link to post
Share on other sites
1 minute ago, =FB=Vaal said:

Run collectstatic.cmd and restart the statistics.

I did. It didn’t help. I’ll try again.

Ran collectstatic again and restarted. Still getting the 500 error.

Edited by LLv34_Temuri

Share this post


Link to post
Share on other sites

I'm also having this issue with the hurricane image, and looking at DED normal server stats, so are they. 

 

Initially, I thought this was an issue I'd caused by putting my own temporary fix in before the stats update was released (with a placeholder image), until I saw that other servers were having the problem. The placeholder fix worked until I updated, so I figured I'd try to roll back, and just add the image and "objects.csv" entry manually.  This also has not worked. 

 

In my setup, a file with the hash number is being generated, but django.log still says there's a missing entry in the staticfiles. 

Share this post


Link to post
Share on other sites

There is one suggestion that this is case-sensitive to the file name.
Try to replace the file in \il2_stats\src\stats\static\img\aircraft

Delete all files at \il2_stats\static.

run collectstatic.cmd

 

hurricane mk.ii.png.zip

  • Thanks 1

Share this post


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

There is one suggestion that this is case-sensitive to the file name.
Try to replace the file in \il2_stats\src\stats\static\img\aircraft

Delete all files at \il2_stats\static.

run collectstatic.cmd

 

hurricane mk.ii.png.zip 21.06 kB · 0 downloads

Thanks. This worked. Strangely enough, I'd just noticed this and changed the original file name and run it, then came here to let you know, and you'd already suggested it.

Edited by 616Sqn_SpocksOddSocks

Share this post


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

There is one suggestion that this is case-sensitive to the file name.
Try to replace the file in \il2_stats\src\stats\static\img\aircraft

Delete all files at \il2_stats\static.

run collectstatic.cmd

 

hurricane mk.ii.png.zip 21.06 kB · 0 downloads

Yes, this did the trick. Thank you!

Share this post


Link to post
Share on other sites

Stupid question b4 I start to setup the stats module

Is it basically possible to parse coops stats by that system aswell?

Thx. 🙂

 

... nevermind...already testing.🤓

Edited by 1./JG42Nephris

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