Heat Inserter

by Kryzeth

Adds an inserter variant that runs on heat instead of standard fuel. Also functions as a heat pipe for thawing adjacent machinery. Recommended for use alongside another mod that provides early heat pipes. Incompatible with the inserter overhaul setting in Bobs Logistics.

Content
12 days ago
2.0 - 2.1
11.3K
Logistics

b [Published/Fixed]1.4.0 requires kry_stdlib 2.2.27, which isn't released + error on_load with v1.4.1

12 days ago

heat-inserter 1.4.0 depends on kry_stdlib >= 2.2.27, but the newest kry_stdlib on the portal (and in the GitHub repo) is 2.2.26, so the game refuses to load:

Failed to load mod "heat-inserter":
• Dependency kry_stdlib >= 2.2.27 is not satisfied (active: kry_stdlib 2.2.26)

Could you publish kry_stdlib 2.2.27, or lower the requirement if 2.2.26 is enough?

12 days ago

Thanks for the reminder, I totally forgot about that; v2.2.27 should be out now (there was a very minor but useful bugfix)

12 days ago

Perfect, thanks!

12 days ago

1.4.1 starts now, but loading a save crashes (a new map, saved and loaded with the same mods):

Error while running event heat-inserter::on_load()
Given event (368) is not a valid event.
__kry_stdlib__/stdlib/event/event.lua:176: in function 'on_event'
__heat-inserter__/control.lua:293

It seems that the ticker's update_event comes from script.generate_event_name() in on_init (ferl's create_ticker_system) and is kept in storage, and on load that number isn't a known event any more.

12 days ago

Similar issue, but its gibberish to me

Error while running event heat-inserter::on_load()
Given event (336) is not a valid event.
stack traceback:
[C]: in function 'on_event'
kry_stdlib/stdlib/event/event.lua:176: in function 'on_event'
heat-inserter/control.lua:293: in function <heat-inserter/control.lua:290>
(...tail calls...)
kry_stdlib/stdlib/event/event.lua:429: in function 'dispatch'
kry_stdlib/stdlib/event/event.lua:92: in function <kry_stdlib/stdlib/event/event.lua:91>

12 days ago

also got this error
The mod Heat Inserters (1.4.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event heat-inserter::on_load()
Given event (372) is not a valid event.
stack traceback:
[C]: in function 'on_event'
kry_stdlib/stdlib/event/event.lua:176: in function 'on_event'
heat-inserter/control.lua:293: in function <heat-inserter/control.lua:290>
(...tail calls...)
kry_stdlib/stdlib/event/event.lua:429: in function 'dispatch'
kry_stdlib/stdlib/event/event.lua:92: in function <kry_stdlib/stdlib/event/event.lua:91>

12 days ago

I can make a new game and it runs, but if i save and load that game i will get the crash above

12 days ago

Same error here as well

The mod Heat Inserters (1.4.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event heat-inserter::on_load()
Given event (461) is not a valid event.
stack traceback:
    [C]: in function 'on_event'
    __kry_stdlib__/stdlib/event/event.lua:176: in function 'on_event'
    __heat-inserter__/control.lua:293: in function <__heat-inserter__/control.lua:290>
    (...tail calls...)
    __kry_stdlib__/stdlib/event/event.lua:429: in function 'dispatch'
    __kry_stdlib__/stdlib/event/event.lua:92: in function <__kry_stdlib__/stdlib/event/event.lua:91>
12 days ago
(updated 12 days ago)

This error seems to always happen on the 2nd load forward of a world 🤔. Fresh new world or existing save that didn't have the mod enabled. For now I will have to disable it.

12 days ago
(updated 12 days ago)

This error seems to always happen on the 2nd load forward of a world

That.. explains why I didn't run into this during testing.

Should be fixed in v1.4.2 and old saves made in either v1.4.1 or v1.3.7 should load up properly now.

12 days ago

Thanks for fixing it so quickly!:)

12 days ago

Can confirm this is now fixed. 👍

New response