Author Topic: Uncharted Territory minor technical problem  (Read 1573 times)

0 Members and 1 Guest are viewing this topic.

Offline CT27

  • 211
Uncharted Territory minor technical problem
Overall, I really like the campaign "Uncharted Territory."  However, I ran into a minor issue on the final mission "Escape."


The secondary objective in the mission is to protect all ships trying to leave Capella (I presume it means capital ships).  The primary mission objective is to escort your convoy out (this particular objective gets recorded okay when completed).

The problem is the secondary mission objective never gets acknowledged one way or the other.  If a friendly capital ship gets destroyed, I check F4 and that objective is still marked blank instead of red like it should be.  On the other hand, even if I get all allied capital ships out, that mission objective stays blank instead of being marked as successful/green...and I get failure debriefing music whereas if I complete all mission objectives I should get the success music.

  

Offline CT27

  • 211
Re: Uncharted Territory minor technical problem
Maybe it could be fixed by removing the secondary objective entirely?


That would get the success music in the debriefing right?

 

Offline Axem

  • 211
Re: Uncharted Territory minor technical problem
Oh right, you had PM'd me about this and I totally forgot. I'll take a look at the issues soon and hopefully have it all working as expected.

 

Offline Axem

  • 211
Re: Uncharted Territory minor technical problem
Okay, taking a look in the mission, the secondary objective has some real weird logic. In theory it should work but maybe something subtle is screwing it up. It can be super simplified, but a small new wrinkle... from what I can tell, not every ship is actually being tracked for destruction.

These are the friendly (optional) escaping ships that are being tracked
GTM Asclepius
GTSC Cullen
GTT Serph
GVFr Kni
GVFr Ruch
GVFr Zill
GTG Dante
GTG Kauro
GTG Misao

And these ones are escaping but not being tracked...
GTC Logan
GTC Gale
GTFR Witt
GTT Argilla
GTFR Heat
GTT Atlas

Is it outside the scope of maintaining the campaign to include those? The objective text says protect all ships...

 

Offline CT27

  • 211
Re: Uncharted Territory minor technical problem
The weird thing about that mission is I've got all allied capital ships out before and the secondary objective is still blank.  It's not a matter of being able to accomplish the objective successfully...it's that the secondary objective is seemingly impossible to achieve OR fail. 
Maybe by get all ships out it means no allied fighters can be destroyed either?  After some thought that can't be it either because the secondary objective stays blank whether any allied fighters are destroyed or not. 


Actually the main thing I'm trying to accomplish here is hear the 'success' music during debriefing.  Would either of these ideas do that (I'm not a FRED expert unfortunately)?
1-Put it in the mission that the success debriefing music plays in the debriefing plays if the primary mission objective is accomplished (regardless of what happens with the secondary objective)
2-Remove the secondary objective entirely since it appears to break things


Do you think either of those would be possible?  Could someone do these (I don't right now who the creator of this was so I can't PM him/her)?


 

Offline Axem

  • 211
Re: Uncharted Territory minor technical problem
Okay so I moved the thread to the workshop, because the release board should be only for releases threads, not troubleshooting.

Now to explain what's going on, this is the secondary objective condition.



The primary goal must be done, Destroyed-ships must be 0, and Alpha 1 must have departed.

The reason the objective never fulfills all the way in the mission is because Alpha 1 (you) haven't left the mission. So it will appear to be incomplete for the entire mission. So that's what's going on there.

Now for the debriefing music... I haven't reproduced the issue exactly, but one of those conditions in the secondary objective are not true at the end of the mission. Alpha 1 has departed will evaluate to true in a debrief so that's not the issue. The primary goal sounds like its working properly too. So I can only think some ship is being destroyed and destroyed-ships isn't at 0 where it should be.

Try the attached mission, the secondary objective condition is a lot more straight forward. It's now just tracking all other friendly ships to see if they depart. If they all leave and survive, it will complete. If one gets destroyed, it will fail. Let me know if it fixes the issue.

[attachment eaten by a Shivan]

 

Offline CT27

  • 211
Re: Uncharted Territory minor technical problem
Good news and slight bad news:

Good news-Your fix fixed the mission.  If I got all allied capital ships other than the Aquitane (the secondary objective records before the Aquitane jumps out) out the secondary objective records and I get the successful debriefing music.

Slight bad news-I played this mission through the techroom fyi.  After I selected the mission to play and hit accept in the techroom, the screen went to desktop and I got this notice in a box (the first three lines at least...the rest showed up as well when I clicked paste here).  I hit debug and the box went away.  Then I clicked the FS2 icon on my taskbar to play the mission and the mission went okay like I said.  Here's what I got:


Error: Error parsing sexp variables - unknown persistence type encountered.  You can continue from here without trouble.
File: sexp.cpp
Line: 3676

ntdll.dll! ZwWaitForSingleObject + 10 bytes
KERNELBASE.dll! WaitForSingleObjectEx + 156 bytes
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
fs2_open_3_8_1_20171031_e2d8502_x64_SSE2.exe! <no symbol>
kernel32.dll! BaseThreadInitThunk + 13 bytes
ntdll.dll! RtlUserThreadStart + 29 bytes





I wouldn't call this a major gamebreaking error, but do you think it could be fixed somehow?
« Last Edit: January 24, 2019, 07:11:29 pm by CT27 »

 
Re: Uncharted Territory minor technical problem
I'm seeing something called "save-on-mission-progress" in one of the variables.

 

Offline Axem

  • 211
Re: Uncharted Territory minor technical problem
Okay, what about now? I was using a newer version of FRED, which has the new ways of saving variable types. I just swapped it back to something that should work with older builds.

And does it make sense to include the Aquitane in the protect ships objective? I don't think it can actually die, can it?

[attachment eaten by a Shivan]

 

Offline CT27

  • 211
Re: Uncharted Territory minor technical problem
Okay, what about now? I was using a newer version of FRED, which has the new ways of saving variable types. I just swapped it back to something that should work with older builds.

And does it make sense to include the Aquitane in the protect ships objective? I don't think it can actually die, can it?

This worked, thank you!


I agree, the Aquitane doesn't need to be part of the objective.

 

Offline Axem

  • 211
Re: Uncharted Territory minor technical problem
Okay, I'll push the update to Knossos sometime tomorrow. :)

 

Offline Axem

  • 211
Re: Uncharted Territory minor technical problem
Update uploaded to Knossos!