vanclan117 Posted July 17, 2015 Share Posted July 17, 2015 I made a custom item that my character starts with when loading in but it doesnt load unless I am the host. If I am the host, the item loads fine and everything works. If I am not the host, the item slot is taken but there is no actual item there and I cannot put anything in the slot but when I craft the item it works just fine. Thanks for any help in advance. Link to comment Share on other sites More sharing options...
Kzisor Posted July 17, 2015 Share Posted July 17, 2015 @vanclan117, your missing inst.entity:AddNetwork() in the prefab file. Link to comment Share on other sites More sharing options...
vanclan117 Posted July 17, 2015 Author Share Posted July 17, 2015 Excellent! Thank you That wasn't in any of the tutorials I looked at Do you know much about writing code? I have an issue that I put in another thread about making a dash attack :/ Link to comment Share on other sites More sharing options...
tom30395 Posted July 18, 2015 Share Posted July 18, 2015 I've been having the same problem, I did what you said and now whenever the second player comes into the game as my character it closes their game and says "don't starve has run out of memory" I only had 1 mod (my character) enabled so I don't know why this is happening. Link to comment Share on other sites More sharing options...
DarkXero Posted July 20, 2015 Share Posted July 20, 2015 @tom30395, post the code (scripts/prefabs/myitem.lua) of your item. 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