FLScanII
-
Hi, I tried it too, and I’m having errors.
My mod certainly contain real errors, so I’ll try to report only execution errors or those I don’t understand :[error] An error happend while parsing. The scan can't continue. 'La méthode ou l'opération n'est pas implémentée.' à FLScanIE.EquipmentChecks.ParseGoodFile(String file, List`1& goodNicknames) à FLScanIE.EquipmentChecks.ParseEquipmentFolder() à FLScanIE.Checker.Parse(String flPath) ```(the method or operation is not implemented)
[error] An error happend while checking loadouts ‘La valeur ne peut pas être null.
Nom du paramètre : source’ à System.Linq.Enumerable.Contains[TSource](IEnumerable1 source, TSource value, IEqualityComparer
1 comparer)
à System.Linq.Enumerable.Contains[TSource](IEnumerable`1 source, TSource value)
à FLScanIE.EquipmentChecks.EquipExists(String nick)
à FLScanIE.LoadoutChecks.CheckLoadoutFile(String file)
à FLScanIE.LoadoutChecks.CheckLoadouts()
à FLScanIE.Checker.RunCheck(CheckDelegate check, String name)[error] An error happend while checking ships ‘La valeur ne peut pas être null.
Nom du paramètre : source’ à System.Linq.Enumerable.Contains[TSource](IEnumerable1 source, TSource value, IEqualityComparer
1 comparer)
à System.Linq.Enumerable.Contains[TSource](IEnumerable`1 source, TSource value)
à FLScanIE.EquipmentChecks.EquipExists(String nick)
à FLScanIE.ShipChecks.CheckShip(String file, Section ship)
à FLScanIE.ShipChecks.CheckShipFile(String file)
à FLScanIE.ShipChecks.CheckShipFolder()
à FLScanIE.Checker.RunCheck(CheckDelegate check, String name)[error] An error happend while checking equip ‘La référence d’objet n’est pas définie à une instance d’un objet.’ à FLScanIE.EquipmentChecks.CheckEquipmentFile(String file)
à FLScanIE.EquipmentChecks.CheckEquipmentFolder()
à FLScanIE.Checker.RunCheck(CheckDelegate check, String name)[error] An error happend while checking fonts ‘La référence d’objet n’est pas définie à une instance d’un objet.’ à FLScanIE.FontChecks.CheckFontFolder()
à FLScanIE.Checker.RunCheck(CheckDelegate check, String name)Other than that, the other errors I have seem to be real errors, or it tells me where to look for something strange. The report is maybe a little difficult to understand for non-english and non-freelancer-gurus people (like me), but it's a very good work… Thank you
-
M1C wrote:
@Thaddueus
Thanks for reporting!
I’ll work on better error messages today or tomorrow.The first message is an invalid utf file (it will show you which after the next update)
The 2nd is a bug in FLScanII
The 3rd is bug, too. Are the files you tried to scan public?I’ll wait for the update then, thanks. Files are from my own mod, its not public ~yet~
-
Guys,
Excellent tool, thanks ver much. If I spot an bugs that aren’t already on this thread I’ll let you know, but reall impressed with it.
Cheers,
Rik -
Hi people!
@everyone who is experiencing bugs, please try this version:
http://forge.the-starport.net/projects/flscan2/repository/entry/bin/FLScanII.exe
I improved the error-handling a lot and worked on better messages, most of your bugs were caused by two big bugs which are fixed now.Thanks for reporting all the bugs!
@Huor:
Could you send me the dll which conains ID 499981?
I’m not familiar with the npc-stuff, sorry@Thaddeus:
fixed@ColdFire:
These where FLScanII-bugs, fixed. -
Thanks, its going great, the new version will give me another couple of days work, lol
original errors are gone but latest version caught this
[error] Could not parse utf file! Unsupported, file: C:\Program Files\Microsoft Games\Freelancer\data\ships\rheinland\rh_elite\rh_elite_dmg_starboard_engine.sur
thats a standard file, havent touched it myself. still has a 2002 timestamp so hasnt changed since install…
all the system files "LightSource"s seem to be picked up as well
[warning] Unexpected section Ambient in file Systems\Li01\Li01.ini [warning] Unexpected section LightSource in file Systems\Li01\Li01.ini [warning] Unexpected section LightSource in file Systems\Li01\Li01.ini [warning] Unexpected section LightSource in file Systems\Li01\Li01.ini [warning] Unexpected section LightSource in file Systems\Li01\Li01.ini [warning][systems\Br04\Br04.ini:Background:228] Setting not found! basic_stars [warning][systems\Br04\Br04.ini:Background:228] Setting not found! complex_stars
I also use Adoxas EngClass hook so all those pseudo hardpoints are coming up in the spew, not a problem I cant ignore but its a lot of red lines
[error][ships\shiparch.ini:32634:Ship:hp_type] Invalid hardpoint-type! elite_engine 10 [error][ships\shiparch.ini:32635:Ship:hp_type] Invalid hardpoint-type! elite_power 10
I use
elite_power 1 - 10
fighter_power 1 -10
freighter_power 1 - 10
elite_engine 1 - 10
fighter_engine 1 -10
freighter_engine 1 - 10 -
sur-files aren’t referenced in the inis, are they? I think that’s the problem, use the newest version to find out where it is referenced (same link: http://forge.the-starport.net/projects/flscan2/repository/entry/bin/FLScanII.exe)
It was searching for “lighsource” fixed, ambient is fixed as well.You can filter single messages by using the textbox next to the filter-selection.
I’ll include a feature to change the list of allowed hp-types, ship-types, etc.Thanks!
-
Fair play, awesome tool. I’ve been trying for months to iron out all the encounter bugs with Itano Circus, but it was like looking for a needle in a haystack once I found all the obvious ones, you’ve put an end to a massive headache guys.
Many thanks!
-
M1C wrote:
sur-files aren’t referenced in the inis, are they?You’re right, my bad. typo in the shiparch which your tool caught… fantastic!
-
Version 1.1 is out
See head-post, http://the-starport.net/freelancer/forum/viewtopic.php?topic_id=4726 -
Thx M1C and Cannon!
Very useful especially command-line modeIdea: to add –log command line switch, for example
FLScanII.exe --flpath="C:\Program Files\Freelancer" --log=result.log
-
Done
New options:
–log-html= <filename>Creates a colored html-log
–log-file= <filename>Creates a simple text-log
–log-console logs to the console as usual (implied when html and file isn’t set)You can also log to a file and to the console like this:
FLScanII.exe --log-html=MyFile.html --log-consolePlease use this link util I release the next version:
http://forge.the-starport.net/projects/flscan2/repository/raw/bin/FLScanII.exe</filename></filename> -
Wow! Thx M1C
All ok except html has two collumns
-
Hehe : )
Look:FLScanII.exe --flpath="C:\Program Files\Freelancer" --log-html=result.html --log-console
Console tells:
[error][equipment\market_commodities.ini:1638:BaseGood:MarketGood] Invalid multiplier! Has to be a number! 1.003713
But html tells:
ERROR Invalid multiplier! Has to be a number!
-
I have a report for you
[error] An error happend while parsing. The scan can't continue. 'Value cannot be null. Parameter name: path2' at System.IO.Path.Combine(String path1, String path2) at FLScanIE.UniverseChecks.ParseSystemFile(String file, String system, Dictionary`2& objectNicks) at FLScanIE.UniverseChecks.ParseUniverseFile(String file, List`1& systemNicks, Dictionary`2& baseNicks, Dictionary`2& objectNicks) at FLScanIE.UniverseChecks.ParseUniverseFolder() at FLScanIE.Checker.Parse(String flPath)
-
digdug83 wrote:
I have a report for you[error] An error happend while parsing. The scan can't continue. 'Value cannot be null. Parameter name: path2' at System.IO.Path.Combine(String path1, String path2) at FLScanIE.UniverseChecks.ParseSystemFile(String file, String system, Dictionary`2& objectNicks) at FLScanIE.UniverseChecks.ParseUniverseFile(String file, List`1& systemNicks, Dictionary`2& baseNicks, Dictionary`2& objectNicks) at FLScanIE.UniverseChecks.ParseUniverseFolder() at FLScanIE.Checker.Parse(String flPath)
Problem is in universe.ini.
Remove all dock group entries, I also removed all beam targets and the system entries at the bottom of the file which are unconventional, i.e liberty, bretonia etc.Scan should run fine then.
-
Sorry about that, just thought I’d mention how I managed to scan his mod in case it was of use to him, didn’t mean to tread on your toes.