LaoWang27 Posted November 22, 2021 Share Posted November 22, 2021 I made a new mod that can completely eliminate the lag of a server with cave. Since this mod only works on single player world, I named it Don't Starve Alone. view in steam workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=2657513551 Intro: (Thanks Thobeo20vn for translation) This mod cave/surface run base of player location, if you are in the surface, cave server will stop and if you are down the cave, surface server will stop. Time and season of two worlds sync when you migrating. this mod can only be activated on single player world (max player must be 1) if your world doesn't have cave, this mod won't do much :v (you can still turn it on) don't run this on dedicated server, it will crash :v don't close this mod later on, if you do, you will lose all of your progress in the cave (the surface is fine though) Link to comment https://forums.kleientertainment.com/forums/topic/135522-dont-starve-alone-no-lag-anymore/ Share on other sites More sharing options...
Wonderlarr Posted November 23, 2021 Share Posted November 23, 2021 I'm curious how you achieved this, it can't be that easy to just eliminate the internal server lag can it? I have a feeling you somehow made the server always trust the lag prediction info the client sends? I'd love to know. Link to comment https://forums.kleientertainment.com/forums/topic/135522-dont-starve-alone-no-lag-anymore/#findComment-1516180 Share on other sites More sharing options...
LaoWang27 Posted November 23, 2021 Author Share Posted November 23, 2021 Not so complicated. I just make game to launch only one shard. If player is in the surface, cave is closed, if player is in cave, surface is closed. That's why this mod is exclusive for single player world. You could browse mod source code for detailed implementation. Link to comment https://forums.kleientertainment.com/forums/topic/135522-dont-starve-alone-no-lag-anymore/#findComment-1516213 Share on other sites More sharing options...
Wonderlarr Posted November 25, 2021 Share Posted November 25, 2021 Oh okay well that's a bit simpler than I expected, still impressive though! I'm surprised Klei didn't have that as default when playing solo on a hosted world, seems like a simple idea. Link to comment https://forums.kleientertainment.com/forums/topic/135522-dont-starve-alone-no-lag-anymore/#findComment-1516865 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