Andmann Posted August 3, 2016 Share Posted August 3, 2016 (edited) update: so I found the problem.. its with the infinitepigtorch prefab but what I haven't found is an adequate solution :/ so my mod, Team survival apparently is very heavy on the clients memory D: which is not so funny cause it aint even a client mod... http://imgur.com/IEBsxOJ well.. I know it spams a lot... like seriously a LOT! since I attached it to the clocktick event but: the server itself doesnt seem to have any problems. when I don't use a dedicated server there seems to be no issue either. So this is clearly a problem with dedicated server + client stuff.... I attached the mod as it is used by the server I have no idea how lua handles memory. Do I have to clear tables and variable after use? Last night I playtested the mod for hours without dedicated host.. no crash so I doubt it's a memory leak ? D: sadly I don't have a 2nd machine right now so I can't tell whether its an issue with host and client being on the same machine workshop-737054453.zip Edited August 4, 2016 by Andmann Link to comment Share on other sites More sharing options...
DarkXero Posted August 4, 2016 Share Posted August 4, 2016 -- Character mods need this set to true all_clients_require_mod = false Your mod has this in modinfo. Which means it doesn't load client side. Which is a problem, because you spawn "eternalpigtorch", and clients don't know what that is. Switch that false to true. Or use AddPrefabPostInit to edit pig torches to make it server side only. But since you are going to have faction icons floating around (so clients need the assets), just switch it to true. Link to comment Share on other sites More sharing options...
Andmann Posted August 4, 2016 Author Share Posted August 4, 2016 yeah I have =) thank you. It's a little different to ragnaroks server to client communication =D I thought since I'm only cloning the prefab and changed it's name with a behaviour tweek the client would be cool with that D: well I was wrong ^_^ I guess the client contributes more than just the graphics 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