Jajangmon Posted August 11, 2018 Share Posted August 11, 2018 Hello~! Thanks for read this msg! I made a mod and it worked well with no cave server but when I use this mod with add cave, custom Items not showing even when I try to make the item it crashed. Here is my mod link https://steamcommunity.com/sharedfiles/filedetails/?id=1313085028 Hope I can hear good idea from you have a good day and enjoy don't starve life! Link to comment Share on other sites More sharing options...
Lumina Posted August 11, 2018 Share Posted August 11, 2018 Hi, 9 hours ago, Jajangmon said: I made a mod and it worked well with no cave server but when I use this mod with add cave, custom Items not showing even when I try to make the item it crashed. When you have a problem on a server with caves but not on a server without caves, it's usually a host/client problem. Meaning : it works fine as an host (without cave) but not as a client (with caves, on a dedicated server, friends joining your server). The main causes are missing one of these lines or both: inst.entity:AddNetwork() inst.entity:SetPristine() if not TheWorld.ismastersim then return inst end I suggest you to take one of the existing base items similar to yours and verify if you are missing one of these lines. If it's not the case, post the code of your item here, it's usually quicker to look at the code than to download entire mod. Also, if you still have the issue after doing what i suggested, i strongly encourage you to attach the error log. You can find how to find it here : 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