Upcycler

by Quezler

No quality modules, sacrifice x (configurable) items to get the next tier.

Overhaul
8 months ago
2.0
4.68K
Factorio: Space Age Icon Space Age Mod
Mining Manufacturing Cheats

g Crash when Placed

1 year, 8 days ago
(updated 1 year, 8 days ago)

Crash When placed. ratio is set to 1. By the way this is on Nauvis not Space.

Error while running event upcycler::on_tick (ID 0)
upcycler/scripts/tick-handler.lua:87: attempt to index local 'struct' (a nil value)
stack traceback:
upcycler/scripts/tick-handler.lua:87: in function 'handle_observed_struct'
upcycler/scripts/tick-handler.lua:138: in function <upcycler/scripts/tick-handler.lua:123>

1 year, 8 days ago

odd im seeing this crash more and more

1 year, 6 days ago
(updated 1 year, 6 days ago)

odd im seeing this crash more and more

I was getting this error too.

Looks like uncommenting this if statement fixes it.
https://github.com/Quezler/glutenfree/blob/22550b4012f1f4bb06a40baf752f393752b190af/mods_2.0/010_upcycler/scripts/tick-handler.lua#L137

The upcycler seems to work fine now for me. It seems to always be "active" though. As soon as you place it it starts "processing" nothing, but if you feed it items it takes it and eventually spits out the upcycled item.

Edit: I forgot to mention, I am running Factorio 2.0.24

New response