Error Loading Custom Ruleset

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
Bedawyn
Posts: 4
Joined: Sat Jun 06, 2015 10:59 pm

Error Loading Custom Ruleset

Postby Bedawyn » Thu Mar 16, 2017 8:41 pm

Not sure if this belongs here or under rulesets, but it's more technical in nature, so I'll try here.

What does the server load next after default.lua when it's trying to load rulesets?

I've been trying to create a custom ruleset, but I wanted to start with the most bare-bones, essentials-only ruleset possible, so that I could build it up slowly, making sure each unit, building, etc. worked the way I wanted it to. So I started with completely blank ruleset files and used the error messages to tell me what the game considered essential. Thus, try to load, expected failure, error message says it's looking for Which, I go back and add Which, try to load, expected failure, rinse and repeat.

I got through all 10 ruleset files this way and reached the point where I was expecting my minimal ruleset to finally load. Instead, it crashed the server. After staring at the screen in annoyance for a while, I thought to check the files in default, saw that default.lua was expecting partisans, so I went back and added them in. But now it's still crashing, and I don't have any error messages to tell me why, and I can't think what else to check that I haven't already.

So... where to go next? And is there a hidden crash log somewhere that I should have been checking instead?

I'm using 2.5.6 now, but had the same problem in 2.4.

User avatar
JTN
Hardened
Posts: 285
Joined: Wed Jan 30, 2013 12:15 am

Re: Error Loading Custom Ruleset

Postby JTN » Fri Mar 17, 2017 12:08 am

It sounds like you want the 'stub' ruleset. For 2.5 you'll need the version off cazfi's website http://www.cazfi.net/freeciv/rulesets.html#stub (in later versions it's kept in svn with the main source).
What does the server load next after default.lua when it's trying to load rulesets?

I think that default.lua is the last file loaded.

Bedawyn
Posts: 4
Joined: Sat Jun 06, 2015 10:59 pm

Re: Error Loading Custom Ruleset

Postby Bedawyn » Mon Mar 20, 2017 6:58 pm

Thanks! Will try that tonight.


Return to “Tech support”

Who is online

Users browsing this forum: No registered users and 2 guests