Game changes after start
Game changes after start
I'm curious, is there any, and I literally mean ANY way to change the ruleset and server settings after a game has started?
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Re: Game changes after start
Most server settings are changeable after game has started.
Ruleset can be changed only by savegame editing.
Ruleset can be changed only by savegame editing.
Re: Game changes after start
Ok, I just checked. Save file is full of maps and the only reference to rulesets is the rulesetdir line which simply refers to ruleset files.
So, what I gather from this is that you can edit maps through save file (if you are absolutely sure what you're doing), but to change the ruleset in the middle of the game, all you need to do is simply reload the save file with the changed ruleset (and hope the changes won't crash the game). Am I correct?
So, what I gather from this is that you can edit maps through save file (if you are absolutely sure what you're doing), but to change the ruleset in the middle of the game, all you need to do is simply reload the save file with the changed ruleset (and hope the changes won't crash the game). Am I correct?
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
- Alien Valkyrie
- Elite
- Posts: 514
- Joined: Sun Feb 10, 2013 10:21 pm
- Location: Stuttgart, Germany
Re: Game changes after start
Yes. You do, however, also have to make sure the rulesets use compatible names (or, if given, rule_names) for everything, otherwise it will crash your game. That said, the supplied rulesets use the same names for (I think) everything shared between them.
~ AVL
Re: Game changes after start
Not exactly, e.g., it won't work if the number of bases is different, and it cannot work if the terrains / buildings / units / ... are different.Corbeau wrote: you can edit maps through save file (if you are absolutely sure what you're doing), but to change the ruleset in the middle of the game, all you need to do is simply reload the save file with the changed ruleset (and hope the changes won't crash the game). Am I correct?
Re: Game changes after start
Can you clarify, please?
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Re: Game changes after start
Definitely changing the ruleset definition in a savegame is not supported feature. If it breaks, you get to keep all the pieces.
Obviously things do break if the savegame uses terrains/units/techs/.... that the ruleset you switch to does not provide.
Obviously things do break if the savegame uses terrains/units/techs/.... that the ruleset you switch to does not provide.
Re: Game changes after start
Classic has 4 bases (fortress, buoy, airbase, ruins), Radius has 5 (additional marina), I can't switch from classic to radius or v.v., there's a built-in plausibility check. Internally almost everything has numbers, and the, say, classic building #3 could be completely different from civ2civ3 building #3, even if they have the same number of buildings.Corbeau wrote:Can you clarify, please?
What you can do is to switch to a newer version of the same ruleset while playing, just save + quit + tweak ruleset + load + continue with tweaked ruleset.
Re: Game changes after start
Yes, that's what I had in mind. Of course, making drastic changes wouln't make any sense, but adding stuff or fixing some misfeature or changing a number for some effect would be acceptable, I assume. I'm not talking about removing Temple in Turn 50 and adding some other building, but, for example, adding some new building and/or unit that nobody built at the moment of change (technology needed not yet discovered).dunnoob wrote:Classic has 4 bases (fortress, buoy, airbase, ruins), Radius has 5 (additional marina), I can't switch from classic to radius or v.v., there's a built-in plausibility check. Internally almost everything has numbers, and the, say, classic building #3 could be completely different from civ2civ3 building #3, even if they have the same number of buildings.Corbeau wrote:Can you clarify, please?
What you can do is to switch to a newer version of the same ruleset while playing, just save + quit + tweak ruleset + load + continue with tweaked ruleset.
Also, this could probably be a more complex issue: adding new players?
Also, increasing the size of the map by adding, say, 20 new columns.
By what I saw looking at savegames, it's a tricky business, but with enough trial and error maybe it's possible. Unless there is some hard-coded mechanism that is preventing it?
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Re: Game changes after start
I remember that there was an issue like that, but are you saying it's still not fixed? We don't have ticket about it in hrm. (Was this something that we lost track of when gna went down)dunnoob wrote:Classic has 4 bases (fortress, buoy, airbase, ruins), Radius has 5 (additional marina), I can't switch from classic to radius or v.v., there's a built-in plausibility check.Corbeau wrote:Can you clarify, please?
That's exactly why "rule_name" exist for most ruleset objects.dunnoob wrote:classic building #3 could be completely different from civ2civ3 building #3, even if they have the same number of buildings.