Page 1 of 1

[0.14] Fluid UI panel flickering (reproducible)

Posted: Fri Oct 14, 2016 7:25 pm
by aubergine18
The fluid info panel (that appears near bottom-right when hovering a pipe) will flicker if the following conditions are met:

1. The pipe prototype has a fluid_box.base_area less than 1
2. A row of those pipes, with no consumers/producers altering their fluids, contains a small amount of leftover fluid
3. Some of the pipes in the row are deleted, then hover mouse over remaining pipes to the right

Steps to reproduce

Easiest way to see it in action is with a few lines of scripting...

1. data.lua

Code: Select all

data.raw.pipe.pipe.fluid_box.base_area = 0.5
2. control.lua

Code: Select all

-- this just sets up pipes with small amount of water in them

script.on_event( defines.events.on_built_entity, function( event )
  local entity = event.entity
  if entity.type == "pipe" then
    entity.fluidbox[1] = {
      type        = "water";
      amount      = 0.1;
      temperature = 0.15;
    }
  end
end )
3. In game, manually build a line of pipes like this:

=================

4. Mine some of the pipes towards the left end

=== === ========

5. Hover over the pipes towards the right end - the fluid UI should start flickering

I know fluid mechanics are getting reworked in 0.15 so hopefully this will already be fixed.

Re: [0.14] Fluid UI panel flickering (reproducible)

Posted: Mon Oct 17, 2016 10:38 am
by Klonan
aubergine18 wrote:I know fluid mechanics are getting reworked in 0.15 so hopefully this will already be fixed.
They may or may not be getting reworked, either way I will move this to minor issues

Re: [0.14] Fluid UI panel flickering (reproducible)

Posted: Mon Feb 12, 2018 3:56 pm
by Klonan
So with this current fluid system, it seems any base area under 1 is just messy,
And we will say, it is not supported

It may get fixed with some future new fluid system, with the current system, we will not fix it