The Starport
  • Categories
  • Recent
  • Users
  • Groups
  • Starport Blog
  • Knowledge Base
  • The Forge
  • Discord
  • Register
  • Login

FLScanII

Scheduled Pinned Locked Moved Freelancer-related Programming
47 Posts 14 Posters 54.5k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    M1C
    wrote on global:last_edited_by,
    #13

    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.

    1 Reply last_reply_time
  • ThaddeusT Offline
    ThaddeusT Offline
    Thaddeus Global Moderator
    wrote on global:last_edited_by,
    #14

    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

    1 Reply last_reply_time
  • M Offline
    M Offline
    M1C
    wrote on global:last_edited_by,
    #15

    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! šŸ™‚

    1 Reply last_reply_time
  • T Offline
    T Offline
    Timmy51m Historic Supporter
    wrote on global:last_edited_by,
    #16

    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!

    1 Reply last_reply_time
  • ThaddeusT Offline
    ThaddeusT Offline
    Thaddeus Global Moderator
    wrote on global:last_edited_by,
    #17

    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!

    1 Reply last_reply_time
  • M Offline
    M Offline
    M1C
    wrote on global:last_edited_by,
    #18

    Version 1.1 is out šŸ™‚
    See head-post, http://the-starport.net/freelancer/forum/viewtopic.php?topic_id=4726

    1 Reply last_reply_time
  • H Offline
    H Offline
    HeIIoween Historic Supporter
    wrote on global:last_edited_by,
    #19

    Thx M1C and Cannon!
    Very useful especially command-line mode šŸ™‚

    Idea: to add –log command line switch, for example

    FLScanII.exe --flpath="C:\Program Files\Freelancer" --log=result.log
    
    1 Reply last_reply_time
  • M Offline
    M Offline
    M1C
    wrote on global:last_edited_by,
    #20

    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-console

    Please use this link util I release the next version:
    http://forge.the-starport.net/projects/flscan2/repository/raw/bin/FLScanII.exe</filename></filename>

    1 Reply last_reply_time
  • H Offline
    H Offline
    HeIIoween Historic Supporter
    wrote on global:last_edited_by,
    #21

    Wow! Thx M1C šŸ™‚

    All ok except html has two collumns šŸ™‚

    1 Reply last_reply_time
  • M Offline
    M Offline
    M1C
    wrote on global:last_edited_by,
    #22

    Where is the problem with 2 columns? I made them on purpose šŸ˜•

    1 Reply last_reply_time
  • H Offline
    H Offline
    HeIIoween Historic Supporter
    wrote on global:last_edited_by,
    #23

    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!
    

    šŸ™‚

    1 Reply last_reply_time
  • M Offline
    M Offline
    M1C
    wrote on global:last_edited_by,
    #24

    Oh, that’s broken šŸ˜„
    I’ll look into this, thanks!

    1 Reply last_reply_time
  • D Offline
    D Offline
    digdug83
    wrote on global:last_edited_by,
    #25

    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)
    
    
    1 Reply last_reply_time
  • M Offline
    M Offline
    M1C
    wrote on global:last_edited_by,
    #26

    There is a missing ā€œFile =ā€ in one of your system-sections in your universe-ini.
    Working on a better error message right now.

    Edit:
    @digdug83: I’ve improved the error message (same link as usual)
    @HeIIoween: fixed

    1 Reply last_reply_time
  • T Offline
    T Offline
    Timmy51m Historic Supporter
    wrote on global:last_edited_by,
    #27

    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.

    1 Reply last_reply_time
  • M Offline
    M Offline
    M1C
    wrote on global:last_edited_by,
    #28

    Timmy51m, I already answered this one šŸ˜›
    You don’t need to remove anything.
    If you really need to it’s a bug in FLScanII and should be reported here, thanks! (please with an example)

    1 Reply last_reply_time
  • T Offline
    T Offline
    Timmy51m Historic Supporter
    wrote on global:last_edited_by,
    #29

    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.

    1 Reply last_reply_time
  • D Offline
    D Offline
    digdug83
    wrote on global:last_edited_by,
    #30

    In regards to my last report, I went back through and checked and didn’t find any blank entries in universe.ini (I’m working from a different build Timmy so the file you have isn’t identical) which is wierd. Anyway, figured I’d post this one up as well in case it’s an issue for anyone else.

    [fatal] An error happend while checking file: ships\shiparch.ini 'Index was outside the bounds of the array.'
       at FLScanIE.Util_Functions.FLDataFile.Setting.Str(Int32 index)
       at FLScanIE.ShipChecks.CheckShip(String file, Section ship)
       at FLScanIE.ShipChecks.CheckShipFile(String file)
       at FLScanIE.Util_Functions.Util.RunCheck(CheckFileDelegate check, String file)
    
    
    1 Reply last_reply_time
  • ThaddeusT Offline
    ThaddeusT Offline
    Thaddeus Global Moderator
    wrote on global:last_edited_by,
    #31

    getting the same thing with mission solars added to the shiparch

    [fatal] An error happend while checking file: ships\shiparch_solar.ini 'Index was outside the bounds of the array.'
       at FLScanIE.ShipChecks.CheckShip(String file, Section ship)
       at FLScanIE.ShipChecks.CheckShipFile(String file)
       at FLScanIE.Util_Functions.Util.RunCheck(CheckFileDelegate check, String file)
    

    sample below a of rm_ solar added to shiparch. [solar] is changed for [ship] and the entry is tagged on the end of shiparch.ini (or another.ini, shiparch_solar in my case) to correct the flspew warning

    [Ship]
    nickname = rm_wplatform_rock
    ids_name = 329680
    ids_info = 329680
    type = MISSION_SATELLITE
    DA_archetype = solar\asteroids\models\ast_rock02_platform.3db
    material_library = solar\ast_rock.mat
    material_library = fx\envmapbasic.mat
    envmap_material = envmapbasic
    LODranges = 0, 5000
    mass = 10000.000000
    solar_radius = 300
    shape_name = NAV_weaponplatform
    destructible = true
    explosion_arch = explosion_rock_wplatform
    fuse = fuse_rock_wplatform, 0.000000, 1
    hit_pts = 1600
    
    1 Reply last_reply_time
  • H Offline
    H Offline
    HeIIoween Historic Supporter
    wrote on global:last_edited_by,
    #32

    Heeey, svn updates aren’t read-only?
    It wants login pass for checkout oO

    1 Reply last_reply_time

  • IrateRedKiteI
    The TSP Download Archive
  • IrateRedKiteI
    The Starport Has Moved!
  • S
    New Renderer (OpenGL 3.3)
  • IrateRedKiteI
    Forum Rules
  • IrateRedKiteI
    Crash Offsets
  • M
    Getting This Unknown Error Code!
  • X
    Greetings from Asylum 51
  • First post
    Last post
0
  • Categories
  • Recent
  • Users
  • Groups
  • Starport Blog
  • Knowledge Base
  • The Forge
  • Discord