JohnWatson Posted January 3, 2017 Share Posted January 3, 2017 Specifically, these are the parts which do not work... GLOBAL.TheNet:Announce("Saving...") TheWorld:PushEvent("ms_save") -- Save map GLOBAL.TheNet:Announce("Saving and restarting...") GLOBAL.TheSystemService:EnableStorage(true) GLOBAL.SaveGameIndex:SaveCurrent() -- Save map TheWorld:DoTaskInTime(0.5,function() TheNet:SendWorldRollbackRequestToServer(0) end) -- Restart GLOBAL.TheNet:Announce("Loading last save...") TheWorld:DoTaskInTime(0.5,function() TheNet:SendWorldRollbackRequestToServer(0) end) -- Restart GLOBAL.TheNet:Announce("Resetting character...") TheWorld:DoTaskInTime(0.5,function() GLOBAL.DeleteUserSession(ThePlayer) ThePlayer:Remove() end) -- Change character ThePlayer.components.builder:GiveAllRecipes() Only the last piece produces a crash, though, the others just refuse to work. They all work normally on a Cave-disabled world. I suspect this is because having Caves needs means your world has another "shard" or whatever it's called. If someone could tell me what's going on, and hopefully what I can do to fix this, then that would be delightful. Link to comment Share on other sites More sharing options...
Leonardo Cox Posted January 4, 2017 Share Posted January 4, 2017 Is this mod a client mod? Perhaps trying making it server_only? I mean otherwise I'm out of ideas atm. Link to comment Share on other sites More sharing options...
JohnWatson Posted January 4, 2017 Author Share Posted January 4, 2017 16 hours ago, DarkKingBoo said: Is this mod a client mod? Perhaps trying making it server_only? I mean otherwise I'm out of ideas atm. Yes, it is a client-only mod. It still functions identically when set to server-only, it fixes none of the problems. Link to comment Share on other sites More sharing options...
JohnWatson Posted January 20, 2017 Author Share Posted January 20, 2017 Do Caves also break many other mods? Link to comment Share on other sites More sharing options...
alainmcd Posted January 20, 2017 Share Posted January 20, 2017 Take a look at this thread, 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