JTN wrote:It's hard to see how this can be anything other than a confusion about which ruleset file the server is loading?
Started with a new ruleset and named it 'classic6' based on 'classic' ruleset
Start in techs.ruleset
Step 1: "Never" Railroad's tech reqs
Step 2: Replace "Railroad" with "Steam Engine" on Industrialization's tech reqs
Selecting this ruleset gives this Result:
GriffonSpade: 'read classic6.serv'
GriffonSpade: 'rulesetdir classic6'
"data/classic6/buildings.ruleset" improvement "Hanging Gardens": obsoleted by removed tech "Railroad".
/rulesetdir: Ruleset directory set to "classic6"
"data/classic6/buildings.ruleset" improvement "Hanging Gardens": obsoleted by removed tech "Railroad".
/show: ------------------------------------------------------------------------------
/show: All options with non-default values
/show: ------------------------------------------------------------------------------
/show: In the column '##' the status of the option is shown:
/show: - a '!' means the option is locked by the ruleset.
/show: - a '+' means you may change the option.
/show: - a '=' means the option is on its default value.
/show: ------------------------------------------------------------------------------
/show: Option ## value (min, max)
/show: ------------------------------------------------------------------------------
/show: ------------------------------------------------------------------------------
/show: A help text for each option is available via 'help <option>'.
/show: ------------------------------------------------------------------------------
Next, go into buildings.ruleset
Step 3: go to hanging gardens and set 'obsolete_by' from "Railroad" to "Steam Engine"
Selecting 'classic6' gives this Result:
GriffonSpade: 'read classic6.serv'
GriffonSpade: 'rulesetdir classic6'
"data/classic6/buildings.ruleset" improvement "Hanging Gardens": obsoleted by removed tech "Railroad".
/rulesetdir: Ruleset directory set to "classic6"
/show: ------------------------------------------------------------------------------
/show: All options with non-default values
/show: ------------------------------------------------------------------------------
/show: In the column '##' the status of the option is shown:
/show: - a '!' means the option is locked by the ruleset.
/show: - a '+' means you may change the option.
/show: - a '=' means the option is on its default value.
/show: ------------------------------------------------------------------------------
/show: Option ## value (min, max)
/show: ------------------------------------------------------------------------------
/show: ------------------------------------------------------------------------------
/show: A help text for each option is available via 'help <option>'.
/show: ------------------------------------------------------------------------------
JTN wrote:GriffonSpade wrote:It apparently also changes the building it claims is obsoleted by the removed tech when you add or remove buildings.
I'm afraid I don't understand what you mean here.
Step 4: Copy and Paste Great Wall above Hanging Gardens. Rename it to [building_great_wall2] and set its name to "Great Wall2"
Selecting 'classic6' gives this Result:
GriffonSpade: 'read classic6.serv'
GriffonSpade: 'rulesetdir classic6'
"data/classic6/buildings.ruleset" improvement "Great Wall2": obsoleted by removed tech "Railroad".
/rulesetdir: Ruleset directory set to "classic6"
/show: ------------------------------------------------------------------------------
/show: All options with non-default values
/show: ------------------------------------------------------------------------------
/show: In the column '##' the status of the option is shown:
/show: - a '!' means the option is locked by the ruleset.
/show: - a '+' means you may change the option.
/show: - a '=' means the option is on its default value.
/show: ------------------------------------------------------------------------------
/show: Option ## value (min, max)
/show: ------------------------------------------------------------------------------
/show: ------------------------------------------------------------------------------
/show: A help text for each option is available via 'help <option>'.
/show: ------------------------------------------------------------------------------
Edit: I'm using the server-in-client, not connecting to the stand-alone server and connecting to it with the client, if that makes any difference.