Page 1 of 1

[boskid][2.0.28] Crash when placing a heat pipe with a heating_radius of 0 connected to a heat source

Posted: Sun Dec 29, 2024 5:17 am
by bunshaman
1. What did you do? - Using a mod I am making to tweak heating radii, I set heat pipes to have a heating_radius of 0. Placing these heat pipes unconnected to a heat source works fine. Then, I connected a heat pipe to a heat source (heating interface, heating tower, or nuclear reactor)

2. What happened? - When I connected a heat pipe to a heat source, the game crashed. Interestingly, nuclear reactors with a heating_radius of 0 do not crash when placed next to each other. Instead, they do not exhibit expected behavior.

3. What did you expect to happen instead? It might be obvious to you, but do it anyway! - I expected the heat pipe to be placed without issue. On Aquilo, I expected that the snow tile would not melt. I would expect a nuclear reactor with a heating_radius of 0 to also not melt the snow below it.

4. Does it happen always, once, or sometimes? - It happens every single time.

Re: [2.0.28] Crash when placing a heat pipe with a heating_radius of 0 connected to a heat source

Posted: Sun Dec 29, 2024 5:39 am
by Loewchen
Post a log with a crash please.

Re: [2.0.28] Crash when placing a heat pipe with a heating_radius of 0 connected to a heat source

Posted: Sun Dec 29, 2024 7:48 am
by boskid
As for the crash i know what it is because i already fixed it for 2.0.29 due to automatic crash log uploads as it crashed 29 times for players using Quezler's underground heat pipes mod before heating radius was restored up to 1 as a workaround. It crashes on heating tiles when area to heat is smaller than 4 tiles due to a micro optimization that i did not notice earlier.

As for the behavior under the entity, 0 will keep heating entities and tiles under the entity. Changing this part of behavior is a feature request.

Re: [boskid][2.0.28] Crash when placing a heat pipe with a heating_radius of 0 connected to a heat source

Posted: Mon Dec 30, 2024 4:16 pm
by bunshaman
thanks :)