dcs-liberation / dcs_liberation

DCS World dynamic campaign.
GNU Lesser General Public License v3.0
718 stars 184 forks source link

Autogenerated frequencies for Viper #1740

Closed laserjarle closed 2 years ago

laserjarle commented 2 years ago

Before filing, please search the issue tracker to see if the issue has already been reported.

If reporting a DCS AI bug, check https://github.com/dcs-liberation/dcs_liberation#dcs-bugs.

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Start new campaign
  2. Enable supercarrier, 3x income multiplier and 5000 cred on blue.
  3. Automate runway repairs, fron-line purchases, and aircraft purchases.
  4. Finish the setup and begin campaign.
  5. Insert player in the upper right dead/sead mission

Expected behavior Some of the times this will create autogenerated frequencies outside the range of the Vipers COM 2 (108.000 to 115.975 MHz).

Additional information This happened 4 out of 5 times for me. I suspect it's because I am cheating with the income and the generator creates too many flights to separate the frequencies.

We will usually need more information for debugging. Include as much of the following as you are able:

Version information (please complete the following information):

Additional context Add any other context about the problem here

baltic.zip . liberation_nextturn.zip error message

DanAlbert commented 2 years ago

Your game doesn't load in 5.0.0:

2021-11-14 12:37:46,885 :: ERROR :: Invalid Save game
Traceback (most recent call last):
  File "C:\Users\dan\src\dcs_liberation\game\persistency.py", line 48, in load_game
    save = pickle.load(f)
  File "C:\Users\dan\src\dcs_liberation\venv\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'game.event.frontlineattack'

The AN/ARC-222 data is clearly wrong. I'll fix it, but I can't verify the fix.