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

Title: Does this mean what I think it means?
Post 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
Code: [Select]

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?
Title: Does this error mean what I think it means?
Post by: Goober5000 on June 15, 2005, 04:23:33 pm
Sounds like it, yeah.  The ship isn't being assigned an object for some reason - possibly because the object was never created.
Title: Does this error mean what I think it means?
Post by: DarthWang on June 16, 2005, 05:21:29 am
How do I do that? (it's my mission)
Title: Does this error mean what I think it means?
Post by: karajorma on June 16, 2005, 06:20:26 am
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.
Title: Does this error mean what I think it means?
Post by: DarthWang on June 17, 2005, 02:29:11 am
Okay, I'll try.