1CGS =FB=Vaal Posted December 8, 2020 1CGS Posted December 8, 2020 The update has not been completed. At least, the models.py file and the database have not been updated.
super-truite Posted December 25, 2020 Posted December 25, 2020 The stats stopped updating on my side. No error in the terminal. it is waiting for a new report since yesterday but nothing happens, while in the mean time several missions ended: [2020.12.24 10:08:30] missionReport(2020-12-24_00-03-28)[0] - exists in the DB [2020.12.24 10:08:30] missionReport(2020-12-24_02-04-17)[0] - exists in the DB [2020.12.24 10:08:31] missionReport(2020-12-24_03-06-19)[0] - exists in the DB [2020.12.24 10:08:31] missionReport(2020-12-24_04-24-36)[0] - exists in the DB [2020.12.24 10:08:31] missionReport(2020-12-24_05-27-20)[0] - exists in the DB [2020.12.24 10:08:31] missionReport(2020-12-24_05-52-20)[0] - exists in the DB [2020.12.24 10:08:31] missionReport(2020-12-24_05-52-49)[0] - exists in the DB [2020.12.24 10:08:31] missionReport(2020-12-24_06-16-00)[0] - exists in the DB [2020.12.24 10:08:31] missionReport(2020-12-24_06-17-17)[0] - exists in the DB [2020.12.24 10:08:31] missionReport(2020-12-24_06-17-57)[0] - exists in the DB [2020.12.24 10:08:31] waiting new report... Just to be sure: are the logs used those in data/FlightLogs ? PS: I use this modification:
1CGS =FB=Vaal Posted December 25, 2020 1CGS Posted December 25, 2020 First, check the game config startup.cfg The parameters mission_text_log = 1 text_log_folder = "logs\txt\" Your config file may have a different path. Statistics uses the path from this config file. Check that there are log files of new missions. And check that in the configuration of the statistics specified the correct path to the folder with the game. 1
super-truite Posted December 25, 2020 Posted December 25, 2020 yes to both. I have logs in data/FlightLogs also, but it is logs\txt\ in the startup.cfg and I see the last logs in this folder so they are generated. The [game _server] path is pointing to my installation folder for il2 (C:\Program Files (x86)\1C Game Studios\IL-2 Sturmovik Great Battles) What happens if I delete the .mlg files in the data folder ? Will it mess up the generation of the txt logs in logs\txt\ ? I ran a code doing this a few days ago so it might have been the start of the problem. Now this code is stopped though and only il2_stats is using the logs.
1CGS =FB=Vaal Posted December 25, 2020 1CGS Posted December 25, 2020 The mlg files can be deleted, the statistics do not use them. All I can advise is to double-check the paths. All such problems were usually due to wrong paths.
super-truite Posted December 26, 2020 Posted December 26, 2020 oh I see, I was launching my second test dserver instead of the public one, so the logs were going in another game installation. Since the paths are really similar I did not notice it ?. It is fixed now, sorry for the inconvenience
IRRE_Genius Posted December 29, 2020 Posted December 29, 2020 Hello, Just to be sure, i need to modify a python files for score. If i copy files >src>stats>models.py and paste >src>custom>models.py Does it work ? I need to modify self.rating def update_rating(self): # score per death sd = self.score / max(self.relive, 1) # score per hour shr = self.score / max(self.flight_time_hours, 1) # live score ls = (1+(1/(1+self.relive)/1)) # self.rating = int((sd * shr * self.score) * 100 * livescore) self.rating = int((sd + shr + self.score) * 100 * ls) thanks !
1CGS =FB=Vaal Posted December 30, 2020 1CGS Posted December 30, 2020 The custom directory is used to customize templates and styles. It does not work for code. So if you want to change formulas or something, you have to change the original files 1
LLv34_Temuri Posted January 4, 2021 Posted January 4, 2021 What could be the reason for hits to be displayed in the Sortie Statistics, but not in the Sortie Log?
1CGS =FB=Vaal Posted January 4, 2021 1CGS Posted January 4, 2021 The logs do not show hits because there can be a lot of them. In the logs of the flight are displayed only damage, but only those that are in the log files. And the log files do not record damage below some minimum threshold.
E69_Qpassa_VR Posted January 4, 2021 Posted January 4, 2021 1 hour ago, =FB=Vaal said: The logs do not show hits because there can be a lot of them. In the logs of the flight are displayed only damage, but only those that are in the log files. And the log files do not record damage below some minimum threshold. maybe the plane was already destroyed? I'm not sure, thing is two of us hit at the same time.
1CGS =FB=Vaal Posted January 4, 2021 1CGS Posted January 4, 2021 Maybe. Without the original text logs it is hard to say for sure. 1
WWBiker_ Posted January 9, 2021 Posted January 9, 2021 (edited) Been trying so hard to get IL2 stats up but its a bit over my pay scale, maybe someone could see the problem in this shot. Thank full for any help I can get. Edited January 9, 2021 by NO.20_D_McGoun
1CGS =FB=Vaal Posted January 9, 2021 1CGS Posted January 9, 2021 You have not created a database for statistics. Or you specified the wrong database name in the config.
WWBiker_ Posted January 9, 2021 Posted January 9, 2021 (edited) 16 hours ago, =FB=Vaal said: You have not created a database for statistics. Or you specified the wrong database name in the config. I did have a data base but a wrong entry I fixed that still no go.......removed postgres and registries and reinstalled it all and bingo got a page up must have missed something on install ...now for some more of the learning curve. Thanks for your always quick reply. Ps what is an easy domain to use never set that up before either. Edited January 10, 2021 by NO.20_D_McGoun
SvAF/F16_lassekongo Posted January 26, 2021 Posted January 26, 2021 (edited) I have a bit of a problem with il2 stats namely the finnish il2 stats. I have been in contact with temuri and he said i should check here as this problem have something to do with il2 stats. So the thing is when i first make the il2 account and put in the name everything works and my profile name matches the in game il2 account name. Then after one map rotation the il2 stats name changes to (renamed_user_1630) and stays this way. When i try to change it back to the correct in game name the stats page just crashes and displays ”server error 500” and i have to open the page again. And the weird thing is that i can then change my profile name to whatever i want and the change works but after one map rotation it changes back to renamed user._1630. I have ignored this issue for the past three weeks now because my sorties and stats are all logged correctly under the¨right username¨ that matches my il2 account name. The main problem is that my il2 stats pilot on finnish doesnt show up in my squadrons pilot list under squad rankings, When i click on my profile and then my squad i can see that i am part of the squad with the renamed_user_1630 name but when i look at my squad through squad rankings i am not listed as a pilot in the squad either as the correct username or the wrong renamed_user_1630 name. I know this problem sounds confusing but i would greatly appreciate help with this problem so that i have the correct name and can be part of my squadrons stats. PS: I have posted three pictures so my problem and explanation makes a little more sense, the one listing my latest sorties list is just so that you can see that it syncs correctly. Edited January 26, 2021 by SvAF/F16_lassekongo-1
1CGS =FB=Vaal Posted January 28, 2021 1CGS Posted January 28, 2021 1) the account you log in to (on the statistics site) via email and password is account renamed_user_1630? 2) flight statistics for this account is not updated? 3) and there is a player profile with the name SvAF/F16_lassekongo-1 on which the stats are now update
SvAF/F16_lassekongo Posted January 28, 2021 Posted January 28, 2021 (edited) 1 hour ago, =FB=Vaal said: name Yes that name is the one that is always present. But my real il 2 account name and the il2 stats name is the same when i look at my pilot rank statistics and they update correctly after each map rotation on finnish. The main problem is that if you look at my pictures is that the renamed user name is present as a squad memeber but not in the squad statistics. So basically for some reason it doesnt reconise my name SvAF/F16_lassekongo-1 as an active pilot in my squad or the “wrong” profile name renamed_user_1630. Every time i try to change the name back to SvAF/F16_lassekongo-1 the il2 stats website crashes and i get server error 500. It works if i change one single letter or number like changing it to SvAF/F16_lassekongo-2 or something then updating my in game il2 account name but after one map rotation it always reverts to the name renamed_user_1630. Again It shows up with my correct matching name in the pilot statistics but no matter how many new il2 stats accounts i make it changes to this renamed user thing. I really want my pilot to be a part of my squad and it says on the profile page that renamed user is but SvAF/F16_lassekongo-1 doesnt show up as an active pilot as you can see on one of the pictures. If there is anyway to solve this without making a new il2 stats account i would be very grateful ? Ps: As you can see my real correct name is logged correctly and my wrong username is part of my squadron. But my real correct name isnt part of my squad in the statistics ? Edited January 28, 2021 by SvAF/F16_lassekongo-1
1CGS =FB=Vaal Posted January 29, 2021 1CGS Posted January 29, 2021 SvAF/F16_lassekongo-1 I asked you to answer three specific questions - you wrote me a whole paragraph of confusing text - that's no way to solve the problem.
SvAF/F16_lassekongo Posted January 29, 2021 Posted January 29, 2021 1 hour ago, =FB=Vaal said: SvAF/F16_lassekongo-1 I asked you to answer three specific questions - you wrote me a whole paragraph of confusing text - that's no way to solve the problem. Sorry i got a bit carried away with the explanation hehe. 1. Yes that is the account i log into via email and password. 2. flight statistics for this account is updated correctly to the name i picked from the beginning that is my il2 account name SvAF/F16_lassekongo-1. 3. this last question i may understand wrong but yes that name that the stats are updated to is my correct name that i choosed before my name was automaticedly changed to renamed_user1630. The pictures i posted in my earlier post was meant to highlight the main issue i have namely that neither the wrong username ( renamed_user_1630) or the one that the stats get updated to is part of the squad statistics although the account with the wrong name is part of the squad when i check in the profile page.
Enigma89 Posted January 31, 2021 Posted January 31, 2021 (edited) Are squad stats a sum of all of the squad member stats or does it take a new pool and apply the calculation again? We have a friend that recently joined the game so he is very new and noticed our squad stats took a huge hit after he joined. Edited January 31, 2021 by Enigma89
1CGS =FB=Vaal Posted January 31, 2021 1CGS Posted January 31, 2021 The player's statistics accumulated before being added to the squad are not added to the squad statistics. Only the results of new sorties are added to the squad statistics.
=LD=dhyran Posted February 9, 2021 Posted February 9, 2021 (edited) @ =FB=Vaal, can we have an overall top ten ranking list of the streaks ever reached on the specific server? as a sidenote: can we have also some classic score ratios like the SEC ratio like: SECr = (K/D * K/L * beststreak) / (flighttime /gunnery) gives a high value if players care about their virtuel lives and aim for maximum outcome per resource Edited February 9, 2021 by =LD=dhyran
1CGS =FB=Vaal Posted February 9, 2021 1CGS Posted February 9, 2021 Pilots have virtual lives in the statistics. After each death, captivity or with a new tour a new virtual life begins. If you mean the top of these virtual lives between all tours, it is probably possible. About SECr - how is this better than the existing ranking in the statistics? And is there any logical explanation for such a formula? For example: why is flight time divided by gunnery? A pilot's accuracy does not usually change over time (if not newbie). Result of this division becomes greater with each flight (regardless of the results of the flight). And why is the left side divided by this result? In which projects was this parameter used? Is there anywhere I can see a statistics site that uses this parameter? I'm asking because I think I've flown in almost every project in IL2 since VEF and I don't remember this parameter. I mean I can't call it classic.
=LD=dhyran Posted February 15, 2021 Posted February 15, 2021 On 2/9/2021 at 9:56 PM, =FB=Vaal said: Pilots have virtual lives in the statistics. After each death, captivity or with a new tour a new virtual life begins. If you mean the top of these virtual lives between all tours, it is probably possible. ....................... Hi Vaal, yes, thats what i meant, the all time highscore list of the streak of all tours. The streak score is somewhat real incredible, good pressure not to lose you virtual life S!
JGr2/J5_Baeumer Posted February 17, 2021 Posted February 17, 2021 (edited) Getting a 500 Error after successful update and reinstall. Edited March 11, 2021 by J5_Baeumer
1CGS =FB=Vaal Posted February 17, 2021 1CGS Posted February 17, 2021 I need django/stats logs to analyze the problem.
JGr2/J5_Baeumer Posted February 18, 2021 Posted February 18, 2021 Found the issue and corrected. All good. Thanks.
E69_Qpassa_VR Posted February 23, 2021 Posted February 23, 2021 (edited) Could it be possible in the following version to address the lack of the exact load out in the Hurricane? Using hispanos is considered as default also. Thanks Edited February 23, 2021 by E69_Qpassa_VR
super-truite Posted February 27, 2021 Posted February 27, 2021 I get this error (I ran the update .cmd): country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\Users\admin\Downloads\il2_stats_1.2.46\il2_stats\src\mission_report\report.py", line 442, in __init__ obj = mission.objects[self.log_name] KeyError: 'gmc cckw 353 ammo'
1CGS =FB=Vaal Posted February 27, 2021 1CGS Posted February 27, 2021 This object was added in the last version - you need to update the statistics correctly.
CC_rush77 Posted March 10, 2021 Posted March 10, 2021 On 2/27/2021 at 4:41 PM, =FB=Vaal said: This object was added in the last version - you need to update the statistics correctly. I have the same problem. I run update but it does not solve the problem.
1CGS =FB=Vaal Posted March 11, 2021 1CGS Posted March 11, 2021 First you need to update all the statistics files correctly, and then run update.cmd.
CC_rush77 Posted March 11, 2021 Posted March 11, 2021 3 hours ago, =FB=Vaal said: First you need to update all the statistics files correctly, and then run update.cmd. You mean install the program again?
LLv34_Temuri Posted March 12, 2021 Posted March 12, 2021 11 hours ago, CC_rush77 said: You mean install the program again? Take the latest version of the stats system, so that all files have the needed changes, then run the update.cmd.
E69_Qpassa_VR Posted March 23, 2021 Posted March 23, 2021 Suggestion: Could it be possible to omit in the precission calculation sorties where you did not shoot anything? In my profile in WoL server I have a 7.7% of accuracy. Of all the 5 sorties I only shot in 3, percentages are 9.4% 20.3% 13.1% 0% and 0% 1440 rounds , hit 203 -> 14.09% http://il2stat.aviaskins.com:8008/es/sorties/18193/E69_Qpassa_VR/?tour=76
1CGS =FB=Vaal Posted March 23, 2021 1CGS Posted March 23, 2021 That's not how accuracy counts. The player's profile has a total number of spent ammo and number of hits. After each flight these values are updated (if required). And on the basis of these values the accuracy is calculated each time. I have already encountered that on WoL they use some of their modifications of the statistics. Maybe that's the problem. Maybe they had some kind of stat counting failure and it created an error in the data. I checked 5 random pilots (with up to 10 sorties) on the server http://stats.virtualpilots.fi:8000/ and all hit accuracy is correct. So if you have an example from other servers - send it to me, I'll try to figure it out.
IRRE_Genius Posted April 4, 2021 Posted April 4, 2021 Hi @=FB=Vaal, After make all update (run update.cmd without error), i have always (after run stats.cmd) : Quote [2021.04.04 10:29:36] IL2 stats 1.2.46, Python 3.7.9, Django 1.11.29 It's normal or do i need to make a new install after each version ? Thanks !
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now