Page 8 of 9

Re: [Tool] FTL Error Checker - v 1.02

Posted: Sat Jan 17, 2015 7:30 pm
by kartoFlane
Glad to know that it's working better than the old version :P I've had similar experience, CE gets parsed within 5 seconds max, whereas with the old one, it could take well over a minute.

Anyhow, I've been fiddling with Javascript for the past few weeks, and it didn't really work out; it feels very limited outside of a web browser. I guess I'll stick to Beanshell.

Also, today I've finished the search functionality, and I'm pretty happy with how it turned out.
New version available here.

Re: [Tool] FTL Error Checker - v 1.02

Posted: Wed May 06, 2015 7:11 pm
by kartoFlane
For some reason I revisited this program and fixed a couple bugs / added more validation scripts. Still got a long way to go, though.
Download: https://www.dropbox.com/s/cqahb9xhm91er ... t.zip?dl=0 (link's the same as above)

What I did:

Code: Select all

- fixed search dialog to allow empty fields
- fixed the search functionality crashing when using empty field for attribute values
- added a bunch of scripts to the validation database:
  * simple attribute type checking
  * event references verification
  * autoReward tag verification
  * environment tag verification
  * item in <item_modify> tag verification
  * fleet background tag verification
  * event augment tag verification
  * imageList references verification
  * textList references & text tag verification
  * ship event references & tag verification
  * checking for empty list references

Re: [Tool] FTL Error Checker - v 1.02

Posted: Thu May 07, 2015 11:17 pm
by kartoFlane
Another day, another update. I've fixed an annoying bug that would cause the wrong errors to become highlighted in the file viewer when selected. Also added a bunch of scripts, mostly pertaining to events and anims.

Since the program now does a lot more stuff during validation, this phase takes noticeably more time to complete -- though it's still blazingly fast compared to the old version.

Download same as above: https://www.dropbox.com/s/cqahb9xhm91er ... t.zip?dl=0

Re: [Tool] FTL Error Checker

Posted: Fri Nov 27, 2015 8:21 pm
by LehGogh
EDIT: I used the wrong argument. It's <fleet>battle</fleet>, not <fleet>both</fleet>.

A quick bug for v0.2 alpha:

events.xml (code)

Code: Select all

<event name="TEST_TEST">
   <fleet>both</fleet>
   <text>test</text>
   <choice>
      <text>test</text>
      <event/>
   </choice>
</event>


Those aren't the actual names/text items, but close enough.

That gives the following error for what would be line 2 of the above code:

Code: Select all

The value of this tag or argument is not valid. (both)


Am I doing something wrong? As far as I can tell, this should be correct.

Re: [Tool] FTL Error Checker

Posted: Wed Feb 17, 2016 10:46 am
by Manters
The Dropbox link is now dead. (As far as I can tell) Ehich is disappointing... I could really use this error chekcer about now.

Re: [Tool] FTL Error Checker

Posted: Wed Feb 17, 2016 2:35 pm
by kartoFlane
Sorry, I've been cleaning up my Dropbox recently, and forgot to update the link. Now it's fixed.

Re: [Tool] FTL Error Checker

Posted: Wed Feb 17, 2016 3:10 pm
by Manters
kartoFlane wrote:Sorry, I've been cleaning up my Dropbox recently, and forgot to update the link. Now it's fixed.


Thanks! :D

Re: [Tool] FTL Error Checker

Posted: Thu Feb 18, 2016 3:47 pm
by sul
I have a two little questions:
- I see you post new versions in the forum discussion. Should I download the one on first post or thoses ?
- Is it possible to launch FTL Error Checker without GUI ? I am on linux (FTL Error Checker is a shell script), and I would like to only prompt results in the terminal to increase productivity a little.
Btw that program is really unvaluable, thanks so much !

Re: [Tool] FTL Error Checker

Posted: Thu Feb 18, 2016 3:59 pm
by kartoFlane
sul wrote:I see you post new versions in the forum discussion. Should I download the one on first post or thoses ?

The first post always contains the most up-to-date link. The posts below are from back when I was still actively working on this program

sul wrote:Is it possible to launch FTL Error Checker without GUI ? I am on linux (FTL Error Checker is a shell script), and I would like to only prompt results in the terminal to increase productivity a little.

Not really, the checker is not designed to be used via command line, sorry.
If you're technically inclined though, all of the rules the checker runs against FTL mods are exposed in a scripted database, so it is possible to add your own rules and error checks.

Re: [Tool] FTL Error Checker

Posted: Thu Feb 18, 2016 4:12 pm
by sul
Thanks !
- ok so I got the latest version
- I found a way for no GUI on linux, with xvfb. It seems to work:
http://stackoverflow.com/questions/3215 ... u/32156776
Like you say, its not really appropriate, you cant change options without GUI or check thoroughly if their is a mistake in the .xml files. It may be helpful as a first check, do quickly look if everything is fine, and if not rerun with GUI to find mistakes.