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

b [fixed] Error while running event Moon_Logic::on_tick

4 years ago

I happens when loading a save file:

61.522 Error MainLoop.cpp:1207: Exception at tick 2376554: Die Mod Moon Logic (0.0.7) hat einen Fehler verursacht, der nicht behoben werden kann.
Bitte informiere den Autor der Mod über diesen Fehler.

Error while running event Moon_Logic::on_tick (ID 0)
Moon_Logic/control.lua:98: attempt to index local 'e' (a nil value)
stack traceback:
Moon_Logic/control.lua:98: in function 'cn_wire_signals'
Moon_Logic/control.lua:267: in function 'update_signals_in_guis'
Moon_Logic/control.lua:303: in function <Moon_Logic/control.lua:301>

4 years ago

I think it happens with a save where gui was left open?
Not entirely sure how to do that though, as main menu is usually bound on Esc and that closes the gui too, but guess can be rebound or maybe there's a mouse button for it.
Should be fixed in 0.0.8, I think.

4 years ago

It was autosave. So it can happen at any time.

4 years ago

Ah, right. Should probably find some way to test this case without autosaves.

4 years ago

keep calm! (and do not introduce typos)

6.090 Mods to disable:Fehler beim Laden der Mods: Moon_Logic/data.lua:65: '}' expected (to close '{' at line 48) near '{'

Mods, die deaktiviert werden müssen:
• Moon_Logic (0.0.8)

4 years ago

Oh right, forgot to run "git stash" before zipping it all up...

4 years ago

Did that and re-uploaded, hope it works this time, sorry about that.

4 years ago

Howto re-download in factorio?

4 years ago

Good question! I don't actually know.
Removing and re-adding the mod should be fine, though would require two restarts.
Or I'd probably quit the game, copy new file into "mods" dir, then start it, to avoid +1 restart with above.

4 years ago

At least a lot of effort. Probably not worth a saved version number.

4 years ago
(updated 4 years ago)

Yeah, guess I should just update changelog and skip over versions there instead, as noise in it is pretty much the only issue with bumping over tiny things constantly, but obviously it doesn't have to be.

4 years ago

Works now. Thank you.

4 years ago

Yeah, guess I should just update changelog and skip over versions there instead, as noise in it is pretty much the only issue with bumping over tiny things constantly, but obviously it doesn't have to be.

I know this problem. Have this too with my mods sometimes.

New response