Page 1 of 1

[Rseding91] [0.15.23] Assembler with heat energy source stops working

Posted: Thu Jun 22, 2017 7:49 pm
by doc
This is a request to reopen one of the bugs (#3) originally reported here:
viewtopic.php?f=11&t=48359

The other two issues were fixed in 0.15.22 but the third issues is still happening.

I have encountered it as follows:

1) Create an assembling-machine prototype with a heat energy source
2) Build the entity and supply heat
3) The entity will start producing items
4) Disconnect the source of heat and allow the entity to cool
5) The entity stops working
6) Start supplying heat again. The entity is stuck in a non-working state no matter how much heat you supply. If you manually reset the recipe then it will start working again, and sometimes on save/reload, but resetting recipe is only possible on assembling machines and not on other entity types that exhibit the bug e.g. smelters

Can provide a mod and save file that exhibits this if needed but it seems very reliable to reproduce. The heat source I have used is as follows:

Code: Select all

    energy_usage = "100MW",
    energy_source =
    {
      type = "heat",
      max_temperature = 1000,
      specific_heat = "10MJ",
      max_transfer = "5GW",
      connections =
      {
        {
          position = {0, 1},
          direction = defines.direction.south
        },
        {
          position = {0, -1},
          direction = defines.direction.north
        }
      },
      pipe_covers =
        make_4way_animation_from_spritesheet(
        {
          filename = "__base__/graphics/entity/heat-exchanger/heatex-endings.png",
          line_length = 4,
          width = 32,
          height = 32,
          direction_count = 4,
          hr_version = {
            filename = "__base__/graphics/entity/heat-exchanger/hr-heatex-endings.png",
            line_length = 4,
            width = 64,
            height = 64,
            direction_count = 4,
            scale = 0.5
          }
        })
    },
(Additionally, it would be really nice if the target_temperature property that heat-exchangers have was available for anything with a heat source, but it doesn't do anything on other types; it seems strange that my vacuum forming plant is able to function at all at just 15 degrees! This seems like an essential feature for a lot of applications of heat mechanic really. I'll post a separate feature suggestion for this if needed.)

Thanks!

Re: [Rseding91] [0.15.23] Assembler with heat energy source stops working

Posted: Mon Jun 26, 2017 8:56 am
by Rseding91
Thanks for the report. This is now fixed for the next version of 0.15.

Re: [Rseding91] [0.15.23] Assembler with heat energy source stops working

Posted: Mon Jun 26, 2017 3:39 pm
by doc
Rseding91 wrote:Thanks for the report. This is now fixed for the next version of 0.15.
Amazing, thanks!