Regniwekim Posted February 8, 2015 Share Posted February 8, 2015 Hey guys. I've started playing with a few friends. We were playing for about an hour before I started getting a LUA error that causes the game to crash. Here is a screenshot to show the errors I am getting Link to comment https://forums.kleientertainment.com/forums/topic/50692-helpgame-crashing-because-of-lua-errors/ Share on other sites More sharing options...
rezecib Posted February 8, 2015 Share Posted February 8, 2015 @Regniwekim, Were you the host or the client? Of those mods, only DST RoG Characters adds a componentaction (for upgrading spider dens with silk), but I've never encountered that bug with it myself. I'm wondering if maybe a mod that shouldn't be server-only is marked as server-only and causing this problem... Or maybe it's a bug that can occur with any mod that works with componentactions. Link to comment https://forums.kleientertainment.com/forums/topic/50692-helpgame-crashing-because-of-lua-errors/#findComment-610922 Share on other sites More sharing options...
Regniwekim Posted February 8, 2015 Author Share Posted February 8, 2015 I was not the host. The weirdest part is we had 5 people playing, and this problem only happened for two of us. We couldn't figure out a reliable way to reproduce the crash between the two of us either. Link to comment https://forums.kleientertainment.com/forums/topic/50692-helpgame-crashing-because-of-lua-errors/#findComment-611019 Share on other sites More sharing options...
rezecib Posted February 8, 2015 Share Posted February 8, 2015 (edited) @PeterA Is this something you know anything about? As far as I can tell it's not something that should be possible to do in a mod (without really interfering with the component action system in a weird way). This has popped up a fair amount in the bug reports section too, but it seems really difficult to reproduce. Is it possible we could improve the error messages or log output for this one? I'd do it locally, but nobody knows how to reproduce it... Edited February 8, 2015 by rezecib Link to comment https://forums.kleientertainment.com/forums/topic/50692-helpgame-crashing-because-of-lua-errors/#findComment-611081 Share on other sites More sharing options...
Dhaos Posted February 10, 2015 Share Posted February 10, 2015 Hey guys. I've started playing with a few friends. We were playing for about an hour before I started getting a LUA error that causes the game to crash. Here is a screenshot to show the errors I am getting I'm getting this same error on my Brother in law's server. Here is mine, same errors, different mods. I'm the only one with the problem, sadly. Link to comment https://forums.kleientertainment.com/forums/topic/50692-helpgame-crashing-because-of-lua-errors/#findComment-611576 Share on other sites More sharing options...
Developer PeterA Posted February 10, 2015 Developer Share Posted February 10, 2015 @rezecib, I've added some more debug output to the log.txt file when we detect this crash. Hopefully that will illuminate what's going on here. Link to comment https://forums.kleientertainment.com/forums/topic/50692-helpgame-crashing-because-of-lua-errors/#findComment-611789 Share on other sites More sharing options...
rezecib Posted February 10, 2015 Share Posted February 10, 2015 (edited) It looks like this occurs when the server defines a componentaction but it isn't defined on the client. I managed to reproduce it with a server-only mod that consisted of this:AddComponentAction("SCENE", "burnable", function(inst, doer, actions, right) if right then table.insert(actions, GLOBAL.ACTIONS.ACTIVATE) endend)Clients crashed when mousing over a campfire. So maybe a few mods are doing this unintentionally. But it's also possible that I just found an artificial way to fabricate it, rather than the actual cause for the crashes you guys are encountering. Edited February 10, 2015 by rezecib Link to comment https://forums.kleientertainment.com/forums/topic/50692-helpgame-crashing-because-of-lua-errors/#findComment-611809 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now