Hard Light Productions Forums
Hosted Projects - FS2 Required => Blue Planet => Topic started by: Axem on May 28, 2014, 05:37:57 pm
-
One of the more confounding bugs that's been hard to debug and solve is the odd "Airframes destroyed" bug from Her Finest Hour, where a number of people are told too many airframes were destroyed and Calder has taken you off his friends list when you're so sure that you did such a good job.
So here's what I need from you.
1) To have played Her Finest Hour in a campaign setting and have gotten the mismatched debrief
2) Attach the pilot file you used to your post (in like a zip file). This is found in /data/players/. Specifically the *.plr file and the *.bp2-p2.csg files.
Thanks for your help!
-
Coming atcha!
[attachment deleted by an evil time traveler]
-
Uploading two sets. One is from before mission completion (but after like eight tries), the other is immediately following. I did not get the mistmatched briefing.
[attachment deleted by an evil time traveler]
-
The bug has been found and destroyed. Thanks to you guys (and niffiwan) for your help!
-
Out of curiosity, what caused it?
-
Campaign persistent variables are set at debrief init, not (as we previously believed) at the end of a successful debrief. This means that if players failed the mission (without dying) and went to a failure debrief screen, all their air wing losses would be added to the CPV.
We actually had a fix in place in the mission file for more than a year, but we never figured out how to repro the bug so we weren't able to check whether the fix worked.
e: basically the problem was this: everyone believed CPVs were only stored at the end of a successful campaign mission. Turns out that's not true.
e2: Come to think of it, that means a lot of our other campaign persistent variables are probably ****ed too.
-
29 May 2014, 09:37:57
Reply #3 on: 29 May 2014, 23:08:02
Gotta love efficiency! :)
-
The bug has been found and destroyed. Thanks to you guys (and niffiwan) for your help!
Awesome, You're welcome!
EDIT: Out of curiosity, will the "Ok so you caught Lopez, but U lost all my pilots and I is nevar talking to U again!" outcome still haunt me on Act 4?
-
You should replay Tenebra so it doesn't. :P