URL:
<http://gna.org/bugs/?19894>
Summary: Cannot load savegame of barbarianless ruleset
Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 04 Jul 2012 01:18:24 AM EEST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release:
_______________________________________________________
Details:
$subject is actually just one side of the bug I've so far managed to work
around.
It should be possible to load ruleset without barbarian unit types, if
barbarians are disabled from the game. Game starting sequence is such that
this succeeds only if barbarians were disabled before ruleset loading started
- this is even more counterintuitive remembering that ruleset loading resets
the settings, so usually there's no point at all to set some settings before
setting rulesetdir.
For initial loading of the ruleset I have primitive.serv like this:
set barbarians DISABLED
rulesetdir primitive
*and* in game.ruleset:
[settings]
set =
{ "name", "value", "lock"
"barbarians", "DISABLED", TRUE
}
Former allows loading of the ruleset, latter sets barbarians disabled also
after ruleset loading resets the setting.
Now that I have played such a game, and saved it (as a scenario, but I don't
think that makes any difference), I'm unable to load savegame. There's no way
to make server disable the barbarians before ruleset is loaded.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?19894>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev