KazueKato Posted January 27, 2015 Share Posted January 27, 2015 Hey guys!Since the new update the throwable spears mod seems to cause the crash of my friends only server after about 5 throws? (maybe)Is this a common issue or does the problem only occur when other mods are enabled? Here's the warning screen for you Can someone pls help me? Link to comment Share on other sites More sharing options...
rezecib Posted January 27, 2015 Share Posted January 27, 2015 @KazueKato, I think this is the mod config bug that got fixed today. It's saying that LARGE_USES is a table, but according to my code it should be a number. The bug that got fixed today involved a table that contained the number being passed to the mod instead of the number directly. So let your game update and try again? Link to comment Share on other sites More sharing options...
KazueKato Posted January 28, 2015 Author Share Posted January 28, 2015 Thank you very much for your help!I'll try once I'm home and report immediately. Link to comment Share on other sites More sharing options...
Maris Posted January 28, 2015 Share Posted January 28, 2015 (edited) That's why I'm in no hurry to update my mods. I'm still use this function:local function GetConfig(s,default,get_local) local c=GetModConfigData(s,get_local) or default if type( c)=="table" then c=c.option_data end return cendFor example:t.can_winter = GetConfig("winter",false)t.must_night = GetConfig("night",true)t.must_rain = GetConfig("rain",false) Edited January 28, 2015 by Maris Link to comment Share on other sites More sharing options...
rezecib Posted January 28, 2015 Share Posted January 28, 2015 @Maris, Well, that bug was fixed in the hotfix a couple of hours ago. Which is why I didn't bother updating my mods with a fix like that (although I was testing a similar one that checked the type of the value returned by the mod config and defaulted it if it was wrong). Link to comment 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