Useful Combinators


Adds many useful combinators that do various things! some simplify combinator logic whilst others add new functionality!

Content
3 years ago
0.14 - 1.1
8.11K
Circuit network

b Crash with Random Combinator

2 years ago

When i tried to place random combinator it instantly crashes

Error while running event UsefulCombinators::on_tick (ID 0)
UsefulCombinators/combinators/uc-random-combinator.lua:80: attempt to index field 'parameters' (a nil value)
stack traceback:
UsefulCombinators/combinators/uc-random-combinator.lua:80: in function 'on_tick'
UsefulCombinators/control.lua:82: in function <UsefulCombinators/control.lua:77>

2 years ago

Hmm, I'll figure it out
Thanks for the heads up

1 year, 1 month ago

Same:

The mod Useful Combinators (0.5.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event UsefulCombinators::on_tick (ID 0)
UsefulCombinators/combinators/uc-random-combinator.lua:80: attempt to index field 'parameters' (a nil value)
stack traceback:
UsefulCombinators/combinators/uc-random-combinator.lua:80: in function 'on_tick'
UsefulCombinators/control.lua:82: in function <UsefulCombinators/control.lua:77>

3 months ago

Lemme go ahead and necro this...
Line 80 should be
local count = control.parameters[1].count or 0 (and not control.parameters.parameters[1].count)
It also seems the "ticks" is actually "seconds"

New response