Amator Phasma's Library


First of all: this is a resource and code library for my other mods. It self comes with extended functions for inserter: 1) make it possible that a inserter can handle the 'burnt result inventory' on all machines. 2) burner inserters can leech fuel from pickup and drop target. 3) burner inserters are capable to chain fuel through all burner type machines.

3 years ago
0.17 - 0.18
31

b Lua script error

5 years ago
(updated 5 years ago)

Reproducible error when cloning (shift+leftclick after shift-rightclick) a Burner filter inserter pulling ash from a crusher. Amator Phasma's Library 0.17.3

5550.747 Error MainLoop.cpp:1142: Exception at tick 275304: The mod Amator Phasma's Library caused a non-recoverable error.
Please report this error to the mod author.

Error while running event apm_lib::on_tick (ID 0)
apm_lib/lib/script/inserter.lua:185: attempt to index local 'drop_target' (a nil value)
stack traceback:
apm_lib/lib/script/inserter.lua:185: in function 'inserter_fix_check'
apm_lib/lib/script/inserter.lua:307: in function 'on_tick'
apm_lib/control.lua:58: in function 'Event_on_tick'
apm_lib/control.lua:16: in function <apm_lib/control.lua:16

Mods in use:
-apm pack
-base
-bobinserters
-even-distribution
-far-reach
-miniloader
-rso-mod

5 years ago
(updated 5 years ago)

Further testing reveals this happens any time a burner filter inserter filter is set to filter an object that the source production building currently has in its "waste" production slot. In this case I am filtering ash

5 years ago
(updated 5 years ago)

dup post

5 years ago

Thanks for the report, found it and is fixed in apm_lib 0.17.04 in the next minutes...

5 years ago

Thank you for the fantastic revamp of the start. Confirmed working!

This thread has been locked.