Page 1 of 1

[boskid][0.17.79] Crash placing an underground pipe on its ghost in custom scenario (FluidSystem::absorb)

Posted: Thu Dec 19, 2019 6:59 am
by ETK03
I was playing on a new multiplayer comfy scenario and the server crashed. I saved the game, and it only crashed when I placed an underground pipe on a ghost of the underground pipe. The way the scenario is made, when you place a building, if it is too far away from existing buildings it doesn't allow you to place it down. The crash is caused when I place the other end of an underground pipe on top of a ghost too far away from other buildings. When you load the save, use the following command:

Code: Select all

/c game.player.force=game.forces['dionvc'] game.player.teleport({-890, 167}) game.player.insert{name="pipe-to-ground", count=50}
Then place an underground pipe on the ghost.

I kept getting a server error when uploading the save, so I've hosted it on google drive: https://drive.google.com/open?id=13AHMN ... ZRm3GpndqI

Re: [0.17.79] Crash when placing an underground pipe on underground pipe blueprint on a custom scenario

Posted: Thu Dec 19, 2019 11:22 am
by Klonan
The log doesn't show any crash, can you post a log showing the crash?

Re: [0.17.79] Crash when placing an underground pipe on underground pipe blueprint on a custom scenario

Posted: Thu Dec 19, 2019 2:11 pm
by ETK03
Sorry, not sure what happened there. This should be the crash log now.

Re: [0.17.79] Crash placing an underground pipe on its ghost in custom scenario (FluidSystem::absorb)

Posted: Thu Dec 19, 2019 3:02 pm
by boskid
Can you reproduce this issue on a fresh save? This particular save cannot be loaded under 0.18.0 because it is corrupted:

Code: Select all

  49.622 Error Map.cpp:2134: Active entities count doesn't match. Current: 78245, expected 78308.
-- edit:
consistency check under 0.17.79 also fails:

Code: Select all

 124.805 Error Map.cpp:2049: Active entities count doesn't match. Current: 76994, expected 77057.

Re: [0.17.79] Crash placing an underground pipe on its ghost in custom scenario (FluidSystem::absorb)

Posted: Thu Dec 19, 2019 3:15 pm
by ETK03
Yes I can, here is the scenario. You'll have to walk a little bit away from spawn and then place the stone furnace in your inventory first.

Re: [boskid][0.17.79] Crash placing an underground pipe on its ghost in custom scenario (FluidSystem::absorb)

Posted: Thu Dec 19, 2019 4:37 pm
by boskid
Thanks for the report, test case is added and issue is fixed for next release.