1CGS =FB=Vaal 138 Posted December 8, 2020 1CGS Share Posted December 8, 2020 The update has not been completed. At least, the models.py file and the database have not been updated. Link to post Share on other sites
JG1_Butzzell 436 Posted December 8, 2020 Share Posted December 8, 2020 ty Link to post Share on other sites
super-truite 83 Posted December 25, 2020 Share 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: Link to post Share on other sites
1CGS =FB=Vaal 138 Posted December 25, 2020 1CGS Share 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 Link to post Share on other sites
super-truite 83 Posted December 25, 2020 Share 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. Link to post Share on other sites
1CGS =FB=Vaal 138 Posted December 25, 2020 1CGS Share 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. Link to post Share on other sites
super-truite 83 Posted December 26, 2020 Share 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 Link to post Share on other sites
IRRE_Genius 62 Posted December 29, 2020 Share 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 ! Link to post Share on other sites
1CGS =FB=Vaal 138 Posted December 30, 2020 1CGS Share 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 Link to post Share on other sites
IRRE_Genius 62 Posted December 30, 2020 Share Posted December 30, 2020 Thanks Vaal ! Ok it's clear. Cheers Link to post Share on other sites
LLv34_Temuri 913 Posted January 4 Share Posted January 4 What could be the reason for hits to be displayed in the Sortie Statistics, but not in the Sortie Log? Link to post Share on other sites
1CGS =FB=Vaal 138 Posted January 4 1CGS Share Posted January 4 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. Link to post Share on other sites
E69_Qpassa_VR 204 Posted January 4 Share Posted January 4 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. Link to post Share on other sites
1CGS =FB=Vaal 138 Posted January 4 1CGS Share Posted January 4 Maybe. Without the original text logs it is hard to say for sure. 1 Link to post Share on other sites
DirtyBiker 113 Posted January 9 Share Posted January 9 (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 by NO.20_D_McGoun Link to post Share on other sites
1CGS =FB=Vaal 138 Posted January 9 1CGS Share Posted January 9 You have not created a database for statistics. Or you specified the wrong database name in the config. Link to post Share on other sites
DirtyBiker 113 Posted January 9 Share Posted January 9 (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 by NO.20_D_McGoun Link to post Share on other sites
SvAF/F16_lassekongo 4 Posted January 26 Share Posted January 26 (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 by SvAF/F16_lassekongo-1 Link to post Share on other sites
1CGS =FB=Vaal 138 Posted January 28 1CGS Share Posted January 28 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 Link to post Share on other sites
SvAF/F16_lassekongo 4 Posted January 28 Share Posted January 28 (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 by SvAF/F16_lassekongo-1 Link to post Share on other sites
1CGS =FB=Vaal 138 Posted January 29 1CGS Share Posted January 29 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. Link to post Share on other sites
SvAF/F16_lassekongo 4 Posted January 29 Share Posted January 29 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. Link to post Share on other sites
Enigma89 85 Posted January 31 Share Posted January 31 (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 by Enigma89 Link to post Share on other sites
1CGS =FB=Vaal 138 Posted January 31 1CGS Share Posted January 31 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. Link to post Share on other sites
=LD=dhyran 160 Posted February 9 Share Posted February 9 (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 by =LD=dhyran Link to post Share on other sites
1CGS =FB=Vaal 138 Posted February 9 1CGS Share Posted February 9 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. Link to post Share on other sites
=LD=dhyran 160 Posted February 15 Share Posted February 15 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! Link to post Share on other sites
J5_Baeumer 1087 Posted February 17 Share Posted February 17 (edited) Getting a 500 Error on Awards page after successful update and reinstall of ...\rewards.py Edited February 17 by J5_Baeumer Link to post Share on other sites
1CGS =FB=Vaal 138 Posted February 17 1CGS Share Posted February 17 I need django/stats logs to analyze the problem. Link to post Share on other sites
J5_Baeumer 1087 Posted February 18 Share Posted February 18 Found the issue and corrected. All good. Thanks. Link to post Share on other sites
E69_Qpassa_VR 204 Posted February 23 Share Posted February 23 (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 by E69_Qpassa_VR Link to post Share on other sites
super-truite 83 Posted Saturday at 03:38 PM Share Posted Saturday at 03:38 PM 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' Link to post Share on other sites
1CGS =FB=Vaal 138 Posted Saturday at 03:41 PM 1CGS Share Posted Saturday at 03:41 PM This object was added in the last version - you need to update the statistics correctly. Link to post Share on other sites
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