Author Topic: Mission keeps crashing!!  (Read 3916 times)

0 Members and 1 Guest are viewing this topic.

Mission keeps crashing!!
So the second mission in my 'Odin's War' campaign keeps crashing at around the 1:50 minute mark. No idea why!! If anyone can take a look and see why it'd be appreciated. Trying to work out what happens at this particular time but I can't figure it out for the life of me. This is also by no means the end product of this mission, I'm about two thirds of the way through making it, I just need to know what the hell keeps crashing it so if anyone can work it out it'd be appreciated. Thanks :)

[attachment deleted by admin]

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Mission keeps crashing!!
Please post your fs2_open.log file.  Instructions on how to do this can be found in this post.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Mission keeps crashing!!
By crashing you mean it quits to desktop, right?

I am curious about this bit

$Formula: ( when ( true ) ( end-mission ) )
+Name: End Mission
+Repeat Count: 1
+Interval: 1
+Chained: 0

since it seems like it should end the mission instantly unless it's chained...

 
Re: Mission keeps crashing!!
New development - I tried the debug thing as shown in the link you provided, and it didn't crash which confused me. So I ran the normal game and played the mission in windowed mode and it also didn't crash so I'm going to look into it just a little bit further.

That bit is chained to a combat landing that occurs when the Odin receives too much damage or certain objectives are met, so until either of those conditions are met and then the player 'lands' on the odin, the mission won't end. It's basically the same chain as shown in the tutorial. (I did however miss the delays on the chain, whoops. I'll check that didn't have anything to do with it.) And yes I do mean quits to desktop.

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: Mission keeps crashing!!
New development - I tried the debug thing as shown in the link you provided, and it didn't crash which confused me.
Post the debug log anyway.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 
Re: Mission keeps crashing!!
New development - I tried the debug thing as shown in the link you provided, and it didn't crash which confused me.
Post the debug log anyway.

I've tried running the debug as requested and shown on the post, but I can't find the file its meant to create, it isn't where they say it will appear.

 
Re: Mission keeps crashing!!
Another error message, when I press to move to the mission briefing from the command briefing. Yay!




Can't open model file <>
ntdll.dll! ZwWaitForSingleObject + 12 bytes
KERNELBASE.dll! WaitForSingleObject + 18 bytes
fs2_open_Diaspora_R1.exe! <no symbol>
fs2_open_Diaspora_R1.exe! <no symbol>
ntdll.dll! RtlSizeHeap + 10557 bytes
ntdll.dll! RtlFreeHeap + 824 bytes
ntdll.dll! RtlSizeHeap + 10557 bytes
ntdll.dll! RtlSizeHeap + 9250 bytes
ntdll.dll! RtlFreeHeap + 5963 bytes
ntdll.dll! RtlFreeHeap + 616 bytes
fs2_open_Diaspora_R1.exe! <no symbol>
ntdll.dll! RtlAllocateHeap + 288 bytes
ntdll.dll! RtlAllocateHeap + 46 bytes
fs2_open_Diaspora_R1.exe! <no symbol>
fs2_open_Diaspora_R1.exe! <no symbol>
fs2_open_Diaspora_R1.exe! <no symbol>
fs2_open_Diaspora_R1.exe! <no symbol>
fs2_open_Diaspora_R1.exe! <no symbol>

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Mission keeps crashing!!
You are using an older version of the FSOpen engine, which means that log files will be in <Diaspora directory>\data\. Please check there.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
Re: Mission keeps crashing!!
Okay the problem has been fixed by me not being an idiot anymore and realising I hadn't applied to update to 1.1... this update has fixed all my problems. Apologies for taking up your valuable time but thanks for the speedy responses and help. It is appreciated.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Mission keeps crashing!!
You might want to play the main campaign again then. 1.1 introduced some major differences to the briefings. :)

Make sure you update to 1.1.1 though. It also introduced a bug or two.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]