Moon Logic deprecated

by mk-fg

Adds Lua-programmable circuit network combinator. Based on Sandboxed LuaCombinator and LuaCombinator2 mods. Probably won't work in multiplayer games.

Content
2 years ago
1.0 - 1.1
4.97K
Circuit network

g [not-a-bug] Awful multiplayer performance

2 months ago

I started to use this mod as alternative for moderately complex combinator circuits but I'm surprised by absolutely awful performance.

I had 20 Moon Logic combinators running in one save and its update time was already 4ms. The problem probably could have been solved by setting delay for next update, but that is basically guaranteed desync in multiplayer.

So until this is fixed this should serve as deterrent for anyone who would want to use this mod in multiplayer.

2 months ago

Yeah, that's why it says "Probably won't work in multiplayer games." just above this message, and in every description.

2 months ago

I assumed that meant that it "might not work", not "have terrible performance".

2 months ago
(updated 2 months ago)

I think the issue is that you run lua code on every tick, hence bad performance of course, but you do that to avoid desyncs, which seem to be at the core of this.

Don't think I know why desyncs are affected by delays btw, as those should be stored in globals and synced across players just fine, but I'm sure there's some less obvious chain of effects that might lead to it, unfortunately.

New response