Author Topic: Failed to load ruleset  (Read 3275 times)

Offline greyassassin24

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Failed to load ruleset
« on: January 14, 2017, 06:06:51 am »
So, having an issue here. Modified my ruleset entirely to be much easier for my first playthrough, but now it tells me it can't load the ruleset when I try to load the game? The vanilla ruleset loads fine, but when I use my modded one, it gives this issue. I've tried to make it work with a modular one too, but I can't get that to work either. Any ideas? The ruleset in question has been attached if you would like to try it in any fashion.

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Failed to load ruleset
« Reply #1 on: January 14, 2017, 06:26:35 am »
Okay, we need a bit more information here, this is a long file to read and just look for generic problems.  What were you changing in the ruleset?

Offline greyassassin24

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Failed to load ruleset
« Reply #2 on: January 14, 2017, 06:28:44 am »
Basically everything. Research time, interceptor damages, council funding, start date, score points... I wanted a whole overhaul of the ruleset.

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Failed to load ruleset
« Reply #3 on: January 14, 2017, 06:45:57 am »
Alright.  So first off, I'm guessing you're using the 1.0 build since this ruleset matches that - it's much easier to modify things (i.e. make your own mods, even just balance changes to the vanilla game) in a more recent nightly version, since the folder structure has significantly changed since 1.0, and I'd suggest switching to the nightly builds.  As for your modified ruleset:

  • Line 1152, refuelRate:150 is missing a space in-between the colon and the number
  • Line 1178, same issue with refuelRate:25
  • Aaaand that's it.

Was the error you were getting something along the lines of 'bad YAML map'?  The syntax and spacing in the ruleset files is very important, missing a space or using TAB instead of spaces to indent will cause you problems.


Offline greyassassin24

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Failed to load ruleset
« Reply #4 on: January 14, 2017, 06:49:25 am »
Wow, I can't believe it, but those two spaces fixed it. Bless you sir/ma'am.