Mindustry: Liquid Junction and Basic Conduit act weird under load.

Created on 29 Sep 2019  路  5Comments  路  Source: Anuken/Mindustry

Platform: Window 7 (64bits)

Build: Steam Build 96

Issue: Liquid Junction and Conduit(basic) act weird under load.
(in the following images, Slag and Separator are used but all block that require liquid have the same issue)

  • Image 1 Leaks are ok.
  • Image 2 When a liquid line is attached to a block, the last junction act like a wall with basic conduit
  • Image 3 When the next conduit to the last junction is upgraded to Pulse Conduit, fluids act ok

Steps to reproduce: See images

Notes:
All my tests were done in sandbox with Liquid sources as I was learning how every block in the game works in pratice.

The same problem occurs with :

  • Water and Multi-Press
  • Oil and Coal Centrifuge
  • Oil and Plastanium Compressor

I'm pretty sure, just by looking at the source code, that the issue lies in this block.
https://github.com/Anuken/Mindustry/blob/a1da82a173e1fd280371cd963d07f592f77517af/core/src/io/anuke/mindustry/world/BlockStorage.java#L142

I'll leave it to you. Thx for this nice game.

Junction_Conduit_Issue_Spill
Junction_Conduit_Issue2
Junction_Conduit_Issue3_hack

Most helpful comment

New behavior:

image

All 5 comments

I haven't touched the liquid code in a very long time, but my guess is that this could be related to the fact that flow rate is tied into the difference between liquid stored in adjacent conduits. Since junctions don't actually store liquids, but rather proxy the conduit they are passing to, the flow isn't calculated properly.

Oooooh that explains the inexplicable lack of cooling fluid when I added a reactor in a recent run.
I couldn't document it because it, you know, turned into tiny little specks of molten glass, metal, thorium and sadness. :disappointed:

This is an issue. I suggest using bridges before this is fixed.

This explains why my reactors blew up unexpectedly with an overabundance of cryofluid production. I'm not getting any benefit from pulse conduits, so for the time being I'm just replacing the outputs with more junctions
Screenshot_20191031-130830_Mindustry

New behavior:

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

summetdev picture summetdev  路  3Comments

SuperStormer picture SuperStormer  路  3Comments

PaintedCat picture PaintedCat  路  4Comments

MrEgor4Ik picture MrEgor4Ik  路  4Comments

emorrp1 picture emorrp1  路  4Comments