Reminder: Internet Explorer 6 or below are NOT supported.





There are currently 60 users playing Freelancer on
44 servers. | May. 29, 2023 |
The Starport Forum Index
>
The Shipyard
>
Speciality Modding
>
Freelancer-related Programming
>
FLScanII
Browsing this Thread:
1 Anonymous Users
FLScanII |
||||
---|---|---|---|---|
Quite a regular
![]() ![]() Joined:
2010/5/29 11:40 Group:
Registered Users
Posts:
176
![]() |
I'm proud to present you the revolution in Freelancer-Error checking!
![]() Cannon started this project a few weeks ago and asked me to write a few checks. This was 2,500 lines of code ago ![]() Features:
Version 1.1:
Version 1.2:
Download: http://forge.the-starport.net/attachm ... load/371/FLScanII_1_2.zip (source included) You can also browse the source online: http://forge.the-starport.net/projects/flscan2/repository Have fun with this, and may the fixes be with you! ![]()
Posted on: 2012/3/4 17:10
|
|||
|
Re: FLScanII |
||||
---|---|---|---|---|
Starport Admin
![]() ![]() Joined:
2008/6/24 16:40 From http://www.freeworlds-tow.net/dev
Group:
Registered Users Starport Admin $$$ Supporters $$$
Posts:
1123
![]() |
YAY!!!
You guys are amazing!
Posted on: 2012/3/4 17:18
|
|||
![]() |
||||
|
Re: FLScanII |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2008/7/8 21:15 From Germany
Group:
Registered Users FLServer Admins Trusted Speciality Developers Senior Members
Posts:
605
![]() |
Great! Such tools are really useful.
Posted on: 2012/3/4 17:28
|
|||
|
Re: FLScanII |
||||
---|---|---|---|---|
Just can't stay away
![]() ![]() Joined:
2008/2/17 19:44 From Virginia
Group:
Registered Users FLServer Admins Senior Members
Posts:
369
![]() |
Nice work to you both.
![]()
Posted on: 2012/3/4 18:51
|
|||
http://UnderVerse.us http://FreelancerCommunity.net |
||||
|
Re: FLScanII |
||||
---|---|---|---|---|
Just can't stay away
![]() ![]() Joined:
2008/6/16 20:41 Group:
Registered Users FLServer Admins Trusted Speciality Developers
Posts:
312
![]() |
On whom i may forward questions or "bugs"? Dont want to use the open thread here.
Ah, forgot to mention that its a great tool and effort you already have put in! Thanks!
Posted on: 2012/3/5 20:43
|
|||
![]() |
||||
|
Re: FLScanII |
||||
---|---|---|---|---|
Just can't stay away
![]() ![]() Joined:
2008/5/9 17:27 Group:
Registered Users FLServer Admins Trusted Speciality Developers Senior Members
Posts:
246
![]() |
http://forge.the-starport.net/projects/flscan2/issues/new would be worth a try.
Posted on: 2012/3/5 21:53
|
|||
|
Re: FLScanII |
||||
---|---|---|---|---|
Starport Staff
![]() ![]() Joined:
2008/10/25 17:58 From On my way back
Group:
Registered Users Starport Staff FLServer Admins
Posts:
365
![]() |
Nice work guys, caught some more errors with the new tool.
Getting some errors turning up in the log spew Code:
Any ideas? obviously an unsupported & null value in those files, but where? also Code:
I guess a typo in the model name/directory. but where? thats a big file!
Posted on: 2012/3/6 11:22
|
|||
~Insert Cool Text Description Here~ | ||||
|
Re: FLScanII |
||||
---|---|---|---|---|
Quite a regular
![]() ![]() Joined:
2010/5/29 11:40 Group:
Registered Users
Posts:
176
![]() |
@Hour, use the url crazy posted or just drop them here
![]() @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?
Posted on: 2012/3/6 14:36
|
|||
|
Re: FLScanII |
||||
---|---|---|---|---|
Just can't stay away
![]() ![]() Joined:
2008/6/16 20:41 Group:
Registered Users FLServer Admins Trusted Speciality Developers
Posts:
312
![]() |
OK tried here, did register on the forge site - but havent any access. Guess it must be activated by an Admin.
So OK here i go. There are quite a few errors reported that are no errors at all: Code:
The ID 499981 is available and can be found there are others which are reported as well but are available too. I assume that a dll file which contains these entries is not parsed. Its not a vanilla file but its listed in the freelancer.ini Code:
seems to be a false positive; The correct line is taken from the goods.ini: "hull = Serafina_hull" (the _hull is not getting parsed); the ship hull is definied correctly for this ship and all other ships in the log too. Code:
Despite its a warning does it have any effect? As far as i have understood from the code this warning is given if the last sign is not the '>'. Mainly if there are space characters at the end. But i have seen that those are checked as well - but the warning is given first. You could trim the string and then check whether there is the closing tag and then report about that warning, or? Code:
Am i right that this ID is used twice in the ini files and not twice in the dlls? Because i cannot find a 2nd entry in the dll files. But its twice in the inis, whereas one of them isnt used. Code:
Any information what is meant with "formation_by_class". I have no clue how to interpret this message ;( Code:
A runtime error that was already reported? Dunno what is tried to check there and failed. Thats for now. I will report more problems - there are dozen more ;(
Posted on: 2012/3/6 18:18
|
|||
![]() |
||||
|
Re: FLScanII |
||||
---|---|---|---|---|
![]() Joined:
2012/2/23 13:01 From France
Group:
Registered Users
Posts:
26
![]() |
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 : Code: [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) (the method or operation is not implemented) Code: [error] An error happend while checking loadouts 'La valeur ne peut pas être null. (I don't understand the problem or what to look for) Code: [error] An error happend while checking ships 'La valeur ne peut pas être null. (same) Code: [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) (same) Code: [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() (same 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
Posted on: 2012/3/6 22:32
|
|||
|
Re: FLScanII |
||||
---|---|---|---|---|
Starport Staff
![]() ![]() Joined:
2008/10/25 17:58 From On my way back
Group:
Registered Users Starport Staff FLServer Admins
Posts:
365
![]() |
Quote:
I'll wait for the update then, thanks. Files are from my own mod, its not public ~yet~
Posted on: 2012/3/6 22:42
|
|||
~Insert Cool Text Description Here~ | ||||
|
Re: FLScanII |
||||
---|---|---|---|---|
Quite a regular
![]() ![]() Joined:
2008/6/11 21:00 Group:
Registered Users
Posts:
138
![]() |
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
Posted on: 2012/3/8 7:50
|
|||
|
Re: FLScanII |
||||
---|---|---|---|---|
Quite a regular
![]() ![]() Joined:
2010/5/29 11:40 Group:
Registered Users
Posts:
176
![]() |
Hi people!
![]() @everyone who is experiencing bugs, please try this version: http://forge.the-starport.net/project ... ry/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.
Posted on: 2012/3/8 18:16
|
|||
|
Re: FLScanII |
||||
---|---|---|---|---|
Starport Staff
![]() ![]() Joined:
2008/10/25 17:58 From On my way back
Group:
Registered Users Starport Staff FLServer Admins
Posts:
365
![]() |
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 Code:
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 Code: [warning] Unexpected section Ambient in file Systems\Li01\Li01.ini 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 Code: [error][ships\shiparch.ini:32634:Ship:hp_type] Invalid hardpoint-type! elite_engine 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
Posted on: 2012/3/8 22:01
|
|||
~Insert Cool Text Description Here~ | ||||
|
Re: FLScanII |
||||
---|---|---|---|---|
Quite a regular
![]() ![]() Joined:
2010/5/29 11:40 Group:
Registered Users
Posts:
176
![]() |
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/project ... ry/entry/bin/FLScanII.exe)
It was searching for "lighsource" ![]() 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! ![]()
Posted on: 2012/3/9 7:42
|
|||
|