Auto Deconstruct

by mindmix

This mod marks drills that have no more resources to mine for deconstruction.

Utilities
a month ago
0.13 - 2.0
332K
Mining

b [Fixed] Fatal crash from chemical plant?

2 months ago

The setup was: at our uranium mine we had a chemical plant direct feeding the East side of a regular mining drill (no pipes in between), then we had a pipe coming out the west side of that mining drill leading to a big mining drill, the regular mining drill ran out creating this error:

The mod Auto Deconstruct (1.0.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event AutoDeconstruct :: on_nth_tick(17)
AutoDeconstruct /script/pipeutil.lua: 194: attempt to index field
'pipe_connections' (a nil value)
stack traceback:
AutoDeconstruct /script/pipeutil.lua: 194: in function 'find_pipes_to_build'
AutoDeconstruct
/script/autodeconstruct.lua:450: in function
order_deconstruction'
AutoDeconstruct /script/autodeconstruct.lua:592: in function 'process_queue'
AutoDeconstruct /control.lua:23: in function
< AutoDeconstruct /control.lua:22>

I have an image of the setup if my explanation isn't clear enough, my assumption after looking at the details is the mod didn't see the chemical plant as a pipe and didn't know where to place the pipe

a month ago

Thanks for the report! This revealed a big gap in the pipe category identification logic that is now fixed. This should be fixed in version 1.0.8.

New response