Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

new ship: DTC / crash when player dies

Here you can discuss building custom ships, texturing and 3D modeling in Freelancer

Post Mon May 22, 2006 5:50 am

new ship: DTC / crash when player dies

So, I made a new ship. Works fine, looks okay (nothing special but it's my first).

But when the player dies, the games crashes. Of course this is caused by my new ship, but I have no idea where to even begin analyzing...

Anybody any idea? Thanks!

Post Mon May 22, 2006 8:34 am

the animation/explosion arch perhaps? think of looking for things that only get triggered when someone dies. That kind means a ship explodes...

Post Mon May 22, 2006 10:14 am

The explosion_arch is what I intuitively thought about... but it seems covered, it uses explosion_co_elite, and it doesn't seem to lead to problems.

I ; cpmmented out the bay_door lines.

Btw, my model is still far from perfect. I just lowered the hitpoints to get killed fast, and my ship was already on fire when it undocked! This is probably becaue my HpMount is not low enough, so the ship already gets 'shaved' by the dock it's leaving.


FlSpit gave this:

<pre><font size=1 face=Courier>WARNING: CExternalEquip: Object (0x88f04ac4) missing hardpoint (HpHeadlight) for item (0x870945cd)
WARNING: StarSystem::enter(): CLI(1) System(Li01)
WARNING: NN Message inbox overflow!
WARNING: NN Message inbox overflow!
WARNING: NN Message inbox overflow!
WARNING: NN Message inbox overflow!
WARNING: NN Message inbox overflow!
WARNING: NN Message inbox overflow!
WARNING: NN Message inbox overflow!
WARNING: NN Message inbox overflow!
WARNING: NN Message inbox overflow!
WARNING:General:Engine: destroy_joint: Failing to disconnect -1 <- 150141344, not connected. </font></pre>


Hmm... Indeed there is no HpHeadLight (although I made one, must have deleted it by mistake). Maybe that's the cause... (I remember Argh complaining about how Lights could trigger crashes).

The last line seems a clue, but what the heck does it mean? :p

Post Mon May 22, 2006 12:29 pm

People often stick the 01 at the end of the name by accident - HpHeadlight01 instead - just check the name of the mount in goods.ini tallies with the one in the actual cmp file.

I'd run the FLScan and see what happens. It may pick up nothing at all in relation to your ship, but meh. It could be your fuse, but i'd assume you are using an existing fuse or something? Any other modifications to the game, or just this ship?

Post Mon May 22, 2006 12:42 pm

Moonhead how low did you make you hitpoints as if it's lower than the combined total of the hitpoints of you equipment, then theres every likelyhood thats whats causeing the "NN Message" errors and the crash.

**shuffles of with a new headache**

Post Mon May 22, 2006 5:48 pm

I found it The FlSpit had one more detail this time:

<pre><font size=1 face=Courier>WARNING: LootCreate - CObject not found. </font></pre>

I'd also added custom euipment pieces to the ship, and made these lootable = true . I changed that to false and now the game doesn't crash anymore when the player dies.

Of course the equipment should be lootable, but that's another problem.

Thanks for the input guys!




EDIT: Hmm that's weird... Although the game doesn't crash, FlSpew still gives the WARNING: NN Message inbox overflow! messages... (@ Bejaymac: and I did normalize the hitpoints again; I just lowered these for diagnostic purposes -fast dying- in the first place). What do these NN Messages indicate in general?






Edited by - Moonhead on 5/22/2006 6:55:23 PM

Post Tue May 23, 2006 12:45 am

Did you add the equipment to a goods file? I think that one would be it. You've got it all sorted anyway.

Post Tue May 23, 2006 1:02 am

@Mace: That could very well be related. On my latest fix (the one that solved it) I noticed I hadn't made a goods entry for the turret I used.

It would have been so cool if the FlSpew would have been more detailed and more readable (FLSpit already is a good help, but it would be nice if the errors would be chewed out and explained. Can't someone create an FLChew? ). FLScan is great and I couldn't live without it anymore, but some errors it just doesn't notice.

Post Tue May 23, 2006 2:35 am

Have you tried FLScan?

Post Tue May 23, 2006 4:04 am

yes, like I said FLScan is great, but it doesn't find all errors.

Well, I got it sorted out now anyway (not the Spew things but these are more or less inevitable anyway).

My next step is to learn how Lithium Unwrapper works... the tutorial for it is all but clear, so maybe someone could elaborate a bit on it?.

(Here's the Lithium Unwrapper tutorial thread)

Post Fri Jul 28, 2006 5:38 pm

I had this a while ago and it was the engine that was causing it..

I added it to the shield_link in shiparch and that sorted it

Post Sat Jul 29, 2006 1:56 am

*thwacks you on the knuckles with a ruler* gravedigging!

Return to Freelancer 3D Modeling and Texturing Forum