Closed jayzosayers closed 3 years ago
Sorry for the late response,
I think the issue is more in the code... you constantly send heavy screen update changes to your friend basically...
multiple times per frame...
this is not good...
you should try to add after your computer.skip()
at the bottom of your while loop, a event.pull(0.5)
so your code only gets executed two times per second.
Granted, I've got a lot of other mods installed, but the issue started shortly after installing the mod and seemed to resolve itself upon uninstalling.
As my Lua code has increased in complexity my friend has had increasing difficulty joining the game. It appears to just stop loading at some point in the loading screen. The game doesn't freeze, it just appears to stop loading resulting in him being stuck in the loading screen until he hits Alt-F4. It started off with it doing it once, with it working on the first re-attempt, but as our base expanded and as the code I'd written increased in complexity it started taking more and more re-attempts to join until the current situation he where he's no longer able to join.
We are both on v0.0.10, both SML and Satisfactory are up to date, and we've tried both Experimental and Early Access.
I've included my code below (please don't shame my noob Lua code), which is for switching entire sections of the factory on/off to manage power issues: