Useful Combinators


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

Content
2 years ago
0.14 - 1.1
6.76K
Circuit network

g Error loading the map

7 years ago
(updated 7 years ago)

Hello, thanks for the mod, it looks great! As another post said here, this is exactly what I was looking for!

But, even though I only have this mod on, and can start a map and actually play, it gives an error when I load the game. It looks like this: "Error while running running event on_tick (ID 0). Useful Combinators. control lua:270. attempt to index upvalue 'data' (a nil value)."

But the first version of the mod works just fine. But I need those new combinators :)

Also, do you plan on extending the mod? This could turn into a nice mod for the circuit freaks like me :)

Thank you very much!

7 years ago

As I think of new combinators, I shall add them.
And thanks for the feedback, I will fix this error.

7 years ago
(updated 7 years ago)

can we please have a fix? It's a really good mod and really annoying that i can't use it on my map.

I'm getting the same error but on line 264

7 years ago
(updated 7 years ago)

easy to fix:
open control.lua, find the tick-function and add a
" if k ~= nil then"
before the first "for"-line

and and "end"-line
on the bottom:


local function tick()
if k ~= nil then
for k,v in pairs(classes) do
for q,i in pairs(data[k]) do
if i.entity.valid then
v.on_tick(i, q)
end
end
end
end
end

New response