Hello,
Before the release of 0.18.21 (I expect 0.18.20 as well), when syncing to a modded server, it downloads all the mods with default settings. After restarting the game, you try to join again. It used to first check the startup settings, prompting you the settings are different, so you permit to sync the settings and you restart your game a second time, and then you are good to go.
Now, with 0.18.21, after you reloaded for the first time, when you try to join with different settings, it prompts you with the message that the mod settings are the same, but that the content is different. When manualy 'syncing' these settings and reloading the game, it works and you can join.
I'm getting quite a few of these bug reports from people playing with angels mods, hence why this report.
Kind regards
lovely_santa
[0.18.21][Modded MP] Mod content difference when syncing
- lovely_santa
- Filter Inserter
- Posts: 502
- Joined: Sat Feb 18, 2017 9:41 pm
- Contact:
Re: [0.18.21][Modded MP] Mod content difference when syncing
Don't conditionally require things based on settings, as the error message tells you. Mod setting sync did not change related to this.
Example:
https://github.com/Arch666Angel/mods/bl ... s/data.lua
https://github.com/Arch666Angel/mods/bl ... pdates.lua
Doc for "don't do that": https://wiki.factorio.com/Tutorial:Mod_settings#Tips
Moving to modding help.
Example:
https://github.com/Arch666Angel/mods/bl ... s/data.lua
Code: Select all
angelsmods.industries.tech = settings.startup["angels-enable-tech"].value -- enable technology overhaul
--angelsmods.industries.tech=false --temp overrides to disable until ready
angelsmods.industries.components = settings.startup["angels-enable-components"].value
--Enforce components to be true if tech is true, can remove this later once we re-jig the recipes to allow tech without components.
if angelsmods.industries.tech == true then
angelsmods.industries.components = true
end
--angelsmods.industries.components = false --temp overrides to disable until ready
angelsmods.industries.overhaul = settings.startup["angels-enable-industries"].value -- enable industries
Code: Select all
if angelsmods.industries then
if angelsmods.industries.components then
require("prototypes.recipes.smelting-recipe-updates")
require("prototypes.technology.smelting-technology-component-updates")
end
if angelsmods.industries.overhaul and angelsmods.industries.tech then
require("prototypes.technology.smelting-technology-tech-updates")
end
Moving to modding help.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.