I've been running into some strange errors, and I'm not sure exactly what's causing them.
First, is this strange bug with "quick restart" and just restart from the ESC menu.
The mission runs fine on the first run through, or if I go back to the brieifing, but not if I restart without doing so.
In release builds, it restarts the mission, and everything is norma
except the player's wing is missing.
When I run the mission in debug, no errors show up at all on the first run, then when I restart, debug CTDs with no message whatsoever.
Checking the FS2_Open.log, I see it "crashed" with an
Int3(): From g:\fso\fs2_open_0\code\freespace2\freespace.cpp at line 3751
which tells me jack ****.
At first, I thought it had something to do with observer mode (the known multi bug), as it was encountering after dying and after the FREDded cutscene at the beginning of the mission, but through further testing, I found that it occurred in another mission that didn't have a FREDded cutscene in it at all, just by restarting off the bat, it glitched on me without even needing me to die. Strangely, it's not present in some other missions and I'm not exactly sure what causes it, but it happes 100% of the time on missions with the error, and never on missions without it.
I tried making a mission that ran on retail to replicate the problem, but I couldn't get the bug to happen. I'm continuing to test.
Here's the pastebin for the log:
http://pastebin.com/NZvewDgjAnother log with the same issue, in a mission without a cutscene at the start (sorry about the two missing textures, I just added that, but the problem existed before then):
http://pastebin.com/rATQXRcX
Secondly, there's something strange with built-in command messages.
I think that either the "Command Persona" field in Mission Specs is broken, or there are some hardcoded command messages.
In this mission, I have my Command Sender set to a Capital Ship, and its persona set to a special command persona (fully-defined in messages.tbl, replacing every entry of "Terran Command" therein). However, when builtin messages from "Command" are sent, a message from a
random persona in messages.tbl is played, with the wav file of the default Terran Command (which
doesn't exist in messages.tbl at all), and the Head ani is HEAD-CM1, which also isn't in messages.tbl at all.
So I thought that built-in command messages always look for "Terran Command" and was freaking out cause I nuked it, but nope. I made a duplicate of my custom command persona named "Terran Command" and the problem persists. Text from a random persona, Head-CM1.ani, and the default wav file (or occasionally, no wav file at all).
This is all on trunk, r6910, FYI.
This is kind of a desperate plea for help since its just
not making sense. Debug comes totally clean, I don't even know if its my fault!