Author Topic: MAX_SHIP_CONTRAILS problem  (Read 1631 times)

0 Members and 1 Guest are viewing this topic.

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
MAX_SHIP_CONTRAILS problem
alright, i've been running a couple of my new ships through a simple mission on a debug build, to see if there's anything at all wrong with them. The regular build is weird, as it does one of three things:
1. CTD's at some random point in the mission.
2. Locks up my steering (but not my speed. I can move, it's just i can't turn at all.)
3. Works fine.

so i've been running them through the debug build, fixing errors as they pop up. Then i get to this one:
Code: [Select]
Assert: MAX_SHIP_CONTRAILS > shipp->ab_count
File: C:\temp\fs2_open_3_6_9.t\code\ship\Ship.cpp
Line: 8651
[This filename points to the location of a file on the computer that built this executable]

Call stack:
------------------------------------------------------------------
    parse_create_object_sub()    parse_create_object()    parse_wing_create_ships()    post_process_ships_wings()    post_process_mission()    parse_mission()    parse_main()    mission_load()    game_start_mission()    game_enter_state()    gameseq_set_state()    game_process_event()    gameseq_process_events()    game_main()    WinMain()------------------------------------------------------------------


Even though i know plenty of C, I don't know the FSO source code well enough to understand WHY this is happening.

If you really need the xxx-shp.tbm file, i'll post it, but i'd rather not.

help?
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: MAX_SHIP_CONTRAILS problem
my guess is you put more thruster glows on a ship with AB trails than you were alowed to. I think it's like 16 or something.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

  

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: MAX_SHIP_CONTRAILS problem
lol yeah..........


the fighter has 20 glows, the bomber 10.

I like the Millenium Falcon bar engine look, and my ships reflect that preference, esp. in glows.

I can probably chop the fighter down to 10.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: MAX_SHIP_CONTRAILS problem
Can it be safely bumped?
-C

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: MAX_SHIP_CONTRAILS problem
It just needs to be made dynamic, no point in bumping a limit as stupid as this one.  I only gave the code a quick look, but going dynamic with it should be fairly easy.  It's not something I'm planning to do however. :)