Jump to content

=FB=Vaal

1CGS
  • Content Count

    249
  • Joined

  • Last visited

Community Reputation

74 Excellent

About =FB=Vaal

  • Rank
    Developer

Profile Information

  • Gender
    Male

Recent Profile Visitors

892 profile views
  1. I did not quite understand this example If we talk about def g_b_s2ak_20gk(sortie): return sortie.coalition == 2 and sortie.aircraft.cls == 'aircraft_medium' or sortie.aircraft.cls == 'aircraft_heavy' and sortie.gk_total >= 20 and sortie.ak_total>= 2 def g_b_s2ak_20gk(sortie): return sortie.coalition == 2 and (sortie.aircraft.cls == 'aircraft_medium' or sortie.aircraft.cls == 'aircraft_heavy') and sortie.gk_total >= 20 and sortie.ak_total>= 2 This code looks identical. But adding parentheses makes it clearer. And will allow to avoid in the future some logical errors in the case of expanding conditions.
  2. yes brackets in this case can and should be used it can also be written this way, maybe it will be clearer https://gist.github.com/vaal-/8176bf75b85fb7636e33568b1e376362
  3. For compatibility with the new units you need to update objects.csv file and run the update. objects.zip
  4. "../.venv/Scripts/python.exe" manage.py migrate replace the line with this one. This should give more information. This is the command to update the database schema. The scheme has not changed in this version. So maybe statistics can't connect to the database.
  5. [1.2.29] - 2019-02-04 - updated list of objects - update libraries Changing / Adding files: Required run update.cmd
  6. You can find this ID in the address bar of the browser when the player profile is open. Or in the admin panel.
  7. I do not understand where you are trying to find id. For what? Awards are sorted by date of issue. There is no ready way to change the sorting. You can try to edit the pilot_awards function yourself.
  8. Rewards can only be issued. They can not be removed.
  9. no, it's friendly fire If we are talking about the reward for the sortie , you can try this: sortie.aircraft.cls == 'aircraft_light'
  10. You can edit the file src\stats\templates\base.html But in general it is strange. Do your statistics also cached?
  11. For compatibility with the new units you need to update objects.csv file and run the update. objects.zip
  12. [1.2.28] - 2018-12-18 - updated list of objects - option to hide the mission from the list (in the admin) - an attempt to return the kills for an emergency landing (except landing on the landing gears) Changing / Adding files: Required run update.cmd
  13. I understood what you were talking about, but it would be easier for me if there were mission logs.
  14. For compatibility with the new units you need to update objects.csv file and run the update. objects.zip
  15. Sorry, but I have no ideas, it seems to be some kind of local problem. Check that no other programs work with game logs. That time in the system is configured correctly and synchronized.
×