[boskid][2.0.43] Crash with modded pipes "Invalid pipe combination: 18"

This subforum contains all the issues which we already resolved.
MazorNoob
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri Sep 08, 2023 4:03 pm
Contact:

[boskid][2.0.43] Crash with modded pipes "Invalid pipe combination: 18"

Post by MazorNoob »

I'm getting a game crash with the following error while messing with some pipe modding:

Code: Select all

43.959 Error Pipe.cpp:199: Invalid pipe combination: 18
I'm including the save file, WIP mod and logfile from a crashing run. To reproduce, extend the underground pipes into the forest, then wait for a bit for modded pipes to generate.
The code for modded pipes is in `modules/oil.lua`.
Attachments
oil_trees.zip
(2.03 MiB) Downloaded 7 times
factorio-current.log
(10.57 KiB) Downloaded 6 times
hostile-trees_0.3.5.zip
(63.79 KiB) Downloaded 5 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3838
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][2.0.43] Crash with modded pipes "Invalid pipe combination: 18"

Post by boskid »

Thanks for the report. Issue is now fixed for 2.0.46.

Issue was a fault in the logic which selects a sprite to draw when a "pipe" has multiple connections facing the same side.

Please note your mod is trying to use diagonal pipe connections which are illegal - some pieces of logic interpret them as being not diagonal and this is why your pipes are causing issues because the game thinks those are facing cardinal directions. For 2.0.46 i will remove ability of mods specifying diagonal directions for fluid box connections because they are just bad and they cause a lot of issues around the code, and those are simply not supported anyway.
MazorNoob
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri Sep 08, 2023 4:03 pm
Contact:

Re: [boskid][2.0.43] Crash with modded pipes "Invalid pipe combination: 18"

Post by MazorNoob »

Good to know, thanks.
Post Reply

Return to “Resolved Problems and Bugs”