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

FLSpew

The general place to discuss MOD''ing Freelancer!

Post Sun May 09, 2004 11:50 pm

FLSpew

While I was testing my mod, It crashed. For some odd reason I looked at the error report instead of automaticly closing it as soon as it poped up. I couldn't even begin to decipher the hex output of the main entries, but then I looked down at the included files window and saw an interesting file, "FLSpew.txt." So i headed to the file and opened it an there was somewhat readable debugging info.

I do not, however, understand what these entries mean other than the box means line break, otherwile it looks just like one long string of output.

like this:
<pre><font size=1 face=Courier>
E:\FL\Scratch\Source\Common\Archetype.cpp(60) : *** ERROR: ArchDB::Get(2163164612) failed
E:\FL\Scratch\Source\Client\space\space.cpp(382) : *** WARNING: Unknown camera type? (ChaseCamera)
E:\FL\Scratch\Source\Common\CEqObj.cpp(295) : *** WARNING: Object(0xbb765b47) missing equipment archetype(80EF45C4)
</font></pre>

What does each one and others mean and how do I debug the program from these, or can I?

Post Sun May 09, 2004 11:58 pm

the numbers u see at the end of the lines are the hashes that FL uses internally instead of nicknames.
you will need to create a hashlist of ur mod.
get the FLhash tool from the downloads, then write together all ur hashes and let it build ur hashlist.
then u can look up where the error occured and check back what u modded.

archetype errors are mostly typos in ini sections.
havent seen that camera error yet. do u have a custom thn file that u use?
could be a wrong camera entry in shiparch or a cockpit file as well.

Kvarium, a modder in the excelcia team made a php script that parses the ini files from a directory and collects all nickname = files, preparing the input of the FLhash tool.
I will ask him to pack it together and post it. it can be very useful to track down server console error messages.

i couldnt reach the creator of FLhash yet. If i knew how the hash encoding works i could eventually program a hash to nickname converter.
could be a very useful tool for modders.

Fjord

---------------------------------
Excelcia Mod Leading Developer

Post Mon May 10, 2004 2:01 pm

Where is that php program?

Post Sat Nov 27, 2004 11:48 pm

The unknown camera is a standard FLspew entry that means a fresh start.
The first error is caused by a solar.ini object.
The second is from a base.
Both are the result of a THN running.
And the THN is expecting certain equipment/objects that don't actually exist.

For example:
If you try using Buffalo Base as a template for a new base...
The related THN's, referred to in the various rooms, look for certain things:
The Badlands...
Lightning...
Asteroids...
Antenna...
The Starsphere...
While most would be external to the base, some, like the Starsphere, are considered part of the base.
(Because they can be seen through the windows.)


Watch your 6!

Post Sun Nov 28, 2004 3:14 pm

@Fjord - Check Colin Sandby's Sur Tools in the dl section - in the source code he provides is a hash class to make name into code

+++ out of cheese error - redo from start +++

Xtreme Team Studios

Return to Freelancer General Editing Forum