dcs-liberation / dcs_liberation

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

Liberation 5.0.0 does not register enemy A-A losses #1770

Closed jojom4n closed 2 years ago

jojom4n commented 2 years ago

Describe the bug After playing a Liberation mission file with some friends of mine, we manually submitted the state.json and Liberation did not register enemy A/A losses (it only registered 3 A/A losses by blue side).

The state.json, if opened with Notepad, does contain several enemy losses though (we indeed splashed a lot of bandits).

To Reproduce Load the attached save of our Liberation campaign, click "Take off", submit the attached state.json and verify that no enemy A/A loss gets registered into Liberation.

Expected behavior Liberation should register enemy A/A losses by parsing a manually submitted state.json file.

Additional information Inside the attached zip file you will find:

Version information (please complete the following information):

Issue.zip

DanAlbert commented 2 years ago

From the log:

2022-03-19 14:42:20,769 :: ERROR :: Could not find Flight matching FOB Seerik BARCAP|34|21|2|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,769 :: ERROR :: Could not find Flight matching Bandar Abbas Intl BARCAP|34|17|2|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,769 :: ERROR :: Could not find Flight matching FOB Seerik BARCAP|34|21|2|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,770 :: ERROR :: Could not find Flight matching Bandar Abbas Intl BARCAP|34|17|2|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,770 :: ERROR :: Could not find Flight matching Front line FOB Bandar-e-Jask/FOB Seerik CAS|2|13|1005|F/A-18C Hornet (Lot 20)| Pilot #1
2022-03-19 14:42:20,770 :: ERROR :: Could not find Flight matching Front line FOB Bandar-e-Jask/FOB Seerik CAS|2|13|1005|F/A-18C Hornet (Lot 20)| Pilot #4
2022-03-19 14:42:20,770 :: ERROR :: Could not find Flight matching FOB Kohnehshahr BARCAP|34|23|2|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,770 :: ERROR :: Could not find Flight matching FOB Kohnehshahr BARCAP|34|23|2|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,770 :: ERROR :: Could not find Flight matching Havadarya BARCAP|34|19|9|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,771 :: ERROR :: Could not find Flight matching Havadarya BARCAP|34|19|9|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,771 :: ERROR :: Could not find Flight matching FLOUNDER Strike|2|12|1005|F/A-18C Hornet (Lot 20)| Pilot #4
2022-03-19 14:42:20,771 :: ERROR :: Could not find Flight matching Front line FOB Bandar-e-Jask/FOB Seerik CAS|2|13|1005|F/A-18C Hornet (Lot 20)| Pilot #3
2022-03-19 14:42:20,771 :: ERROR :: Could not find Flight matching Front line FOB Bandar-e-Jask/FOB Seerik CAS|2|13|1005|F/A-18C Hornet (Lot 20)| Pilot #2
2022-03-19 14:42:20,771 :: ERROR :: Could not find Flight matching FOB Seerik BARCAP|34|22|2|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,771 :: ERROR :: Could not find Flight matching Front line FOB Bandar-e-Jask/FOB Seerik TARCAP|34|28|2|F-5E Tiger II| Pilot #2
2022-03-19 14:42:20,771 :: ERROR :: Could not find Flight matching FOB Seerik BARCAP|34|22|2|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,772 :: ERROR :: Could not find Flight matching Front line FOB Bandar-e-Jask/FOB Seerik TARCAP|34|28|2|F-5E Tiger II| Pilot #1
2022-03-19 14:42:20,772 :: ERROR :: Could not find Flight matching FOB Kohnehshahr BARCAP|34|24|2|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,772 :: ERROR :: Could not find Flight matching Bandar Abbas Intl BARCAP|34|18|2|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,772 :: ERROR :: Could not find Flight matching FOB Kohnehshahr BARCAP|34|24|2|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,772 :: ERROR :: Could not find Flight matching Bandar Abbas Intl BARCAP|34|18|2|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,772 :: ERROR :: Could not find Flight matching Havadarya BARCAP|34|20|9|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,773 :: ERROR :: Could not find Flight matching Havadarya BARCAP|34|20|9|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,773 :: ERROR :: Could not find Flight matching DUCK SEAD Escort|34|30|2|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,773 :: ERROR :: Could not find Flight matching DUCK SEAD Escort|34|30|2|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,773 :: ERROR :: Could not find Flight matching DUCK Escort|34|31|9|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,773 :: ERROR :: Could not find Flight matching DUCK Escort|34|31|9|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,773 :: ERROR :: Could not find Flight matching DUCK DEAD|34|29|2|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,773 :: ERROR :: Could not find Flight matching DUCK DEAD|34|29|2|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,774 :: ERROR :: Could not find Flight matching BASILISK Escort|34|34|9|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,774 :: ERROR :: Could not find Flight matching BASILISK Escort|34|34|9|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,774 :: ERROR :: Could not find Flight matching BASILISK SEAD Escort|34|33|2|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,774 :: ERROR :: Could not find Flight matching BASILISK SEAD Escort|34|33|2|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,779 :: ERROR :: Could not find Flight matching BASILISK DEAD|34|32|2|F-4E Phantom II| Pilot #1
2022-03-19 14:42:20,779 :: ERROR :: Could not find Flight matching BASILISK DEAD|34|32|2|F-4E Phantom II| Pilot #2
2022-03-19 14:42:20,779 :: ERROR :: Could not find Flight matching FLOUNDER Strike|2|12|1005|F/A-18C Hornet (Lot 20)| Pilot #3
2022-03-19 14:42:20,780 :: ERROR :: Could not find Flight matching FOB Seerik Refueling|34|16|24|IL-78M| Pilot #1022

The state.json has recorded kills of aircraft that don't exist in the campaign. There's no way to determine why that happened, but my best guess is that this state.json is from a different turn.