shdwp / dcs_liberation

DCS World singleplayer/co-op dynamic campaign.
https://forums.eagle.ru/showthread.php?t=214834
GNU Lesser General Public License v3.0
51 stars 15 forks source link

Campaign crash/save corruption #59

Closed Rushyo closed 5 years ago

Rushyo commented 5 years ago

After saving the debrief for a successful Strike/SEAD mission I've twice had Liberation crash and corrupt the save file (the TMP save file is also corrupted).

I'm running the 1.5 RC1 release against the Steam Open Beta branch, flying an F/A-18C Hornet in SP using JDAMs, supported by Tomcats + Harriers.

The error is:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "threading.py", line 916, in _bootstrap_inner
  File "threading.py", line 864, in run
  File "ui\overviewcanvas.py", line 183, in sdl_thread
  File "ui\overviewcanvas.py", line 252, in draw
  File "ui\overviewcanvas.py", line 312, in draw_map
  File "ui\overviewcanvas.py", line 331, in draw_bases
ValueError: negative radius

When I try to restart the application I get "Your save game is either incompatible or was corrupted!"

Debrief File Campaign save file

Rushyo commented 5 years ago

This should be resolved by https://github.com/shdwp/dcs_liberation/pull/58#issue-267307532

Czar59 commented 5 years ago

Hello, How do I implement the changes in comment 58? I've downloaded the source files and can find the number to change but I don't know how to run the program from the source files. My programming experience is basically none.