I wanted to turn of evolution but rather just setting to false I went and changed the values to 0. Destroy and Time work fine but I found Pollution Factor will not go to 0.
Now using /c game.players[1].print(game.map_settings.enemy_evolution.pollution_factor) in MP Ended up causing the server to dysnc then the server left.. From there we could not connect again and I just ended up rebooting it.
Mods: http://stonelegion.com/kane/deathsoon.zip
[0.12.x] [kovarex]Can't change pollution_factor to 0. + MP Crash!
- StoneLegion
- Filter Inserter
- Posts: 687
- Joined: Fri Sep 05, 2014 7:34 pm
- Contact:
Re: [Oxyd] Can't change pollution_factor to 0. + MP Crash!
You're writing to enemy_expansion, but reading enemy_evolution. If I write 0 to game.map_settings.enemy_evolution.pollution_factor, I read 0 back.
Also, no desync in MP from running that command. Can I reproduce it somehow?
Also, no desync in MP from running that command. Can I reproduce it somehow?
- StoneLegion
- Filter Inserter
- Posts: 687
- Joined: Fri Sep 05, 2014 7:34 pm
- Contact:
Re: [Oxyd] Can't change pollution_factor to 0. + MP Crash!
Clearly I derped up bad with those commands. Half a sleep is a bad time to play factorio.
I could repeat the crash/dsync using the following method:
/c game.map_settings.enemy_evolution.pollution_factor = 1.4e-005
then
/c game.players[1].print(game.map_settings.enemy_evolution.pollution_factor)
it seems to only dysnc the server (headless Linux) rather then the client. I tried in Single Player had no issues.
Fresh map no mods headless Linux Server still does it oddly enough but no one else can reproduce it.
http://stonelegion.com/kane/desync-repo ... -48-09.zip
I made a quick video of working and not working hehe:
http://stonelegion.com/kane/whyme.mp4
I could repeat the crash/dsync using the following method:
/c game.map_settings.enemy_evolution.pollution_factor = 1.4e-005
then
/c game.players[1].print(game.map_settings.enemy_evolution.pollution_factor)
it seems to only dysnc the server (headless Linux) rather then the client. I tried in Single Player had no issues.
Fresh map no mods headless Linux Server still does it oddly enough but no one else can reproduce it.
http://stonelegion.com/kane/desync-repo ... -48-09.zip
I made a quick video of working and not working hehe:
http://stonelegion.com/kane/whyme.mp4
Re: [0.12.x] [kovarex]Can't change pollution_factor to 0. + MP Crash!
I fixed this one, it is noted in the friday facts actually. (https://www.factorio.com/blog/post/fff-108)
Just writing
Is enough to desync the game.
The problem is solved for 0.12.13, but only the particular problem was solved, other values like
will desync the game, as these values are translated to different values on different platforms. It will be probably solved in 0.13, but it will require bigger changes.
Just writing
Code: Select all
/c game.local_player.print(0.000001)
The problem is solved for 0.12.13, but only the particular problem was solved, other values like
Code: Select all
/c game.local_player.print(0/1) -- inf
/c game.local_player.print(0/0) -- -nan