Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: karajorma on June 15, 2005, 03:28:11 pm
-
I offered to help someone over on SpaceBattles with a crash in retail. Running the mission through a debug version of FS2_Open gives me this
Assert: Ships[ship_index].objnum != -1
File: U:\src\cvs\fs2_open.testing\code\ship\Ship.cpp
Line: 11250
Call stack:
------------------------------------------------------------------
mission_eval_arrivals() mission_parse_eval_stuff() game_simulation_frame() game_frame() game_do_frame() game_do_state() gameseq_process_events() WinMainSub() WinMain() WinMainCRTStartup() kernel32.dll 7c816d4f()
------------------------------------------------------------------
which makes me suspect that the mission is crashing cause there are too many ships in the mission. Am I right about that one?
-
Sounds like it, yeah. The ship isn't being assigned an object for some reason - possibly because the object was never created.
-
How do I do that? (it's my mission)
-
Basically the problem is that your mission has too many ships present at one time. Since you said that you caused the problem by changing arrival cues rather than adding anything new I suspect you need to change the mission to have less ships present at the same time rather than actually removing ships.
-
Okay, I'll try.