Page 1 of 1

[0.17.12] Headless Server: enemy_attack_pollution_consumption_modifier not found

Posted: Fri Mar 15, 2019 8:26 am
by deveth0
Hi,

i just tried to upgrade my headless server to 0.17.12 but I think the new config property "enemy_attack_pollution_consumption_modifier" is missing in the map-settings.example.json:

Code: Select all

factorio_1  |    0.862 Info ServerMultiplayerManager.cpp:138: Quitting multiplayer connection.
factorio_1  |    0.862 Info ServerMultiplayerManager.cpp:714: updateTick(4294967295) changing state from(Ready) to(Closed)
factorio_1  |    0.882 Goodbye
factorio_1  |    0.000  Error Util.cpp:83: Key "enemy_attack_pollution_consumption_modifier" not found in property tree at ROOT.pollution
As soon as I update the config to include the property, it works fine:

Code: Select all

  "pollution":
  {
    ...
    "enemy_attack_pollution_consumption_modifier": 100
  },
Probably it would be a good idea to include some sane default for each property, so it's not required to update custom map-settings after such a change?

Re: [0.17.12] Headless Server: enemy_attack_pollution_consumption_modifier not found

Posted: Fri Mar 15, 2019 9:14 am
by kovarex
Thanks for the report, fixed for 0.17.13

Re: [0.17.12] Headless Server: enemy_attack_pollution_consumption_modifier not found

Posted: Fri Mar 15, 2019 10:31 am
by deveth0
thx, that was fast!

Re: [0.17.12] Headless Server: enemy_attack_pollution_consumption_modifier not found

Posted: Fri Mar 15, 2019 3:18 pm
by trueosiris
Thanks, but does it need to be 100? Is that the default?
I feel like the alien swarms are more plentiful now.

Re: [0.17.12] Headless Server: enemy_attack_pollution_consumption_modifier not found

Posted: Fri Mar 15, 2019 3:33 pm
by kovarex
No, the default is 1.