2.5.0 New Nation ruleset not applying?

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
Post Reply
User avatar
Alien Valkyrie
Elite
Posts: 519
Joined: Sun Feb 10, 2013 10:21 pm
Location: Stuttgart, Germany

Re: 2.5.0 New Nation ruleset not applying?

Post by Alien Valkyrie »

Did you add a newline to the end of the file? Everything after the last line break is ignored if I'm not mistaken, so in this case, it reads the comma after "Cabillonum" and expects another string, which it doesn't get.
~ AVL
shanesurk500
Posts: 3
Joined: Wed Aug 12, 2015 3:47 am

Re: 2.5.0 New Nation ruleset not applying?

Post by shanesurk500 »

Caedo wrote:Did you add a newline to the end of the file? Everything after the last line break is ignored if I'm not mistaken, so in this case, it reads the comma after "Cabillonum" and expects another string, which it doesn't get.
Thanks for the quick reply! So then adding an empty line at the end should fix the issue?
shanesurk500
Posts: 3
Joined: Wed Aug 12, 2015 3:47 am

Re: 2.5.0 New Nation ruleset not applying?

Post by shanesurk500 »

Thank you Cadeo! This fixed the issue.
cazfi
Elite
Posts: 3457
Joined: Tue Jan 29, 2013 6:54 pm

Re: 2.5.0 New Nation ruleset not applying?

Post by cazfi »

Caedo wrote:Did you add a newline to the end of the file? Everything after the last line break is ignored if I'm not mistaken, so in this case, it reads the comma after "Cabillonum" and expects another string, which it doesn't get.
I checked that, didn't find easy way to fix it (= it has to wait until someone has more time to invest) but this patch adds at least a warning so that user knows what's the problem: patch #6230. It's too late to get this to freeciv-2.5.1, but hopefully we get it to 2.5.2.
Post Reply