Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Planet Search Overhaul (07/13/24)

Pages: 1 2 [3] 4

Author Topic: [0.95.1a] SafariJohn's Rules Tool v2.4.0  (Read 52799 times)

SafariJohn

  • Admiral
  • *****
  • Posts: 3079
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.0.1)
« Reply #30 on: August 23, 2019, 01:36:21 PM »

Found and fixed a couple bugs. Download in the OP.

Changelog:
 Bug Fixes:
 - Fixed trigger/command/variable duplication on load.
 - Fixed silent failure when trying to open a SRT-generated rules.csv file without a corresponding rulesets/NAME.json file.
Logged

xenoargh

  • Admiral
  • *****
  • Posts: 5078
  • naively breaking things!
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.0.1)
« Reply #31 on: August 25, 2019, 11:33:39 AM »

I'm getting "a Java exception has occurred" errors on startup with 2.01.

I've already copy-pasted the JRE into the application's base directory, etc.

Does SRT presume Starsector's on the C:/ drive?
Logged
Please check out my SS projects :)
Xeno's Mod Pack

SafariJohn

  • Admiral
  • *****
  • Posts: 3079
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.0.1)
« Reply #32 on: August 26, 2019, 02:33:21 PM »

Sorry, the forum failed to notify me of your reply.

That's one of Java's error messages, not SRT's, so I would need to know more to have any hope of troubleshooting it.

SRT does not presume what drive you are using; I run it on my D drive. You don't need the JRE in SRT's directory, either, it should detect an installed version on its own.
Logged

xenoargh

  • Admiral
  • *****
  • Posts: 5078
  • naively breaking things!
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.0.1)
« Reply #33 on: August 26, 2019, 05:32:07 PM »

Hmm.  The error was generic.  Does it print a log somewhere?
Logged
Please check out my SS projects :)
Xeno's Mod Pack

SafariJohn

  • Admiral
  • *****
  • Posts: 3079
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.0.1)
« Reply #34 on: August 26, 2019, 06:19:20 PM »

I'm afraid it doesn't. You might be able to tell your JRE to log and that might show something, though.

Anyways, if 2.0.0 worked fine for you, then 2.0.1 should as well.

Some things to check:
- SRT has write permissions for where it is.
- The settings.json and rulesets/[ruleset].json files don't have invalid file paths.
- If you copied a ruleset.json from 2.0.0, make sure it doesn't have any crazy long arrays from the now-fixed duplication bug.
- Finally, see if a clean redownload/install fixes it.

If you've changed anything with your JRE lately, I would look into that, too.
Logged

xenoargh

  • Admiral
  • *****
  • Posts: 5078
  • naively breaking things!
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.0.1)
« Reply #35 on: August 26, 2019, 06:36:19 PM »

I'll take a look at the paths; probably something silly like that...
Logged
Please check out my SS projects :)
Xeno's Mod Pack

SafariJohn

  • Admiral
  • *****
  • Posts: 3079
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.1.0)
« Reply #36 on: October 08, 2019, 10:27:26 AM »

v2.1.0 released! Download in the OP.

Error logging is the new feature here, and I cleaned up a couple more bugs introduced by 2.0.

Changelog:
 New Stuff:
 - Added logging.
 
 Bug Fixes:
 - Fixed a minor settings failure when the active spellchecking language's dictionary can't be found.
 - Fixed rulesets duplicating vanilla triggers/commands/variables.
Logged

SafariJohn

  • Admiral
  • *****
  • Posts: 3079
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.1.0)
« Reply #37 on: October 08, 2019, 06:08:16 PM »

The Vanilla.csv was kind of wonky, so I have hotfixed the download to 2.1.0b.

For some reason the salvage and cargo pod rules were in conversation subfolders. ???
Logged

SafariJohn

  • Admiral
  • *****
  • Posts: 3079
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.1.1)
« Reply #38 on: October 10, 2019, 08:03:42 PM »

I just discovered that there's a long-standing bug with newline symbols after a quotation mark being converted to text so that it shows up as "\n" in your rules.csv and in-game. Conversion was only supposed to happen for the script column, where each command must be on one line. A true fix is not possible at present, so I've decided to just disable conversion entirely.

That means, when you use a script command like AddText or SetTooltip and want to have multiple paragraphs, you'll have to remember to type "\n" instead of hitting enter. Thankfully, if you forget, the game gives you a helpful "unmatched quotes" error pointing to exactly where you messed up.

Additionally, you will need to fix any mistakenly converted newlines in your rules.csv yourself, which can be done in the Rules Tool (search for "\n" in the find dialog and exclude Scripts from the results).

Please download v2.1.1 in the OP.

Changelog:
Version 2.1.1
 Bug Fixes:
 - Fixed a save bug with newlines inside quotation marks.
Logged

Morrokain

  • Admiral
  • *****
  • Posts: 2143
  • Megalith Dreadnought - Archean Order
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.1.1)
« Reply #39 on: October 11, 2019, 04:31:47 PM »

Thanks I did notice that but wasn't sure if it was me or not (I had thought I typed the wrong slash or something)
Logged

xenoargh

  • Admiral
  • *****
  • Posts: 5078
  • naively breaking things!
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.1.1)
« Reply #40 on: January 27, 2020, 01:30:13 AM »

I've finally gotten around to this.  Sorry, I've been busy.

It's still throwing a Java Exception on startup, unfortunately.  Where is the log printed to?  I don't see one in the application's directory.
Logged
Please check out my SS projects :)
Xeno's Mod Pack

SafariJohn

  • Admiral
  • *****
  • Posts: 3079
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.1.1)
« Reply #41 on: January 27, 2020, 04:04:26 AM »

That's where it prints to.

Hrm, starting the log should be the first thing it does, but I see now I've let some other code go first. I'll send you a modified jar to test.
Logged

Hydra7-1

  • Ensign
  • *
  • Posts: 23
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.1.1)
« Reply #42 on: April 15, 2020, 12:55:41 PM »

not sure if others have this issue but I completely freeze up if I hot backspace and have to shut down from task manager. Besides that this has worked really well for me.
Logged

SafariJohn

  • Admiral
  • *****
  • Posts: 3079
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.1.1)
« Reply #43 on: April 15, 2020, 01:21:06 PM »

What do you mean "hot backspace"? Using backspace to delete text works fine for me.
Logged

Hydra7-1

  • Ensign
  • *
  • Posts: 23
    • View Profile
Re: [0.9.1a] SafariJohn's Rules Tool (v2.1.1)
« Reply #44 on: April 15, 2020, 04:15:30 PM »

I meant to type hit, should have double checked.. but when I backspace more than one letter at a time the whole thing freezes up so I have just been selecting what I want and using the delete key.
Logged
Pages: 1 2 [3] 4