-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving luac from position results in server crash #566
Comments
Doesn’t sound like our bug but as defensive coding, the workaround can be accepted. I’d also check for the controller ID, to not run the code on a wrong controller should there be one. |
it seems that the crash here has been mitigated by a nil check since the bug was reported: code, as it was when this was reported: mesecons/mesecons_luacontroller/init.lua Lines 470 to 472 in d356f90
code, as it is now: mesecons/mesecons_luacontroller/init.lua Lines 477 to 484 in 54de66b
however i haven't tested whether there's still a crash if a luac is WE'ed or MVPS'ed, there might be other problems. |
@fluxionary thanks for noticing! Tested with Mesecons piston and Digistuff piston. No crash or other problems. |
Repro:
Another Repro:
This is what happens:
This is how it can be fixed:
Thanks to Test_User who discovered it and whosit who debugged it and found a solution.
For my reference: #610
The text was updated successfully, but these errors were encountered: