Search found 4 matches

by IWTDU
Fri Jan 31, 2020 12:05 pm
Forum: Resolved Problems and Bugs
Topic: [0.18.3] Crash to desktop when saving with mod: LuaCustomTable cannot be serialized.
Replies: 2
Views: 2111

Re: [0.18.3] Crash when saving with my mod

I found a workaround: don't store anything not serializable not just in global but anywhere it can be accessed by metatables (from objects in global).
by IWTDU
Fri Jan 31, 2020 9:07 am
Forum: Resolved Problems and Bugs
Topic: [0.18.3] Crash to desktop when saving with mod: LuaCustomTable cannot be serialized.
Replies: 2
Views: 2111

[0.18.3] Crash to desktop when saving with mod: LuaCustomTable cannot be serialized.

mod page https://mods.factorio.com/mod/SandboxedLuaCombinator It adds combinators programmable in lua. I am developing mod, and at some point it become impossible to save game when any of my mod's combinators are active, while I can't find that I placing anything wrong to global table. Moreover, gam...
by IWTDU
Thu Jan 23, 2020 11:14 am
Forum: Mods
Topic: [MOD 0.18] Sandboxed LuaCombinator
Replies: 1
Views: 1451

[MOD 0.18] Sandboxed LuaCombinator

I recently found mod named LuaCombinator2 , and I liked it's idea but not implementation, so I 'improved' it (if I correctly understood CC BY-SA 4.0 license it is fine). So here it is: Sandboxed LuaCombinator https://mods.factorio.com/mod/SandboxedLuaCombinator Adds combinators programmed with lua. ...
by IWTDU
Wed Jan 22, 2020 7:47 am
Forum: Modding interface requests
Topic: LuaGuiElement.selected [RW] for textboxes
Replies: 0
Views: 457

LuaGuiElement.selected [RW] for textboxes

We can use select(start, end) to change selection or cursor position in text fields, but looks like there is no way to know where cursor is. I am making ingame lua code editor with syntax highlighting (programming combinators), and there is working implementation, but it have to compare previous wit...

Go to advanced search