Loki Posted March 30, 2014 Share Posted March 30, 2014 Hey all, Could someone point me in the direction of the SoftReset file or where/how to do it? Thank you! Running Linux with Putty and WinSCP. Link to comment Share on other sites More sharing options...
Loki Posted March 30, 2014 Author Share Posted March 30, 2014 Anybody? =] Link to comment Share on other sites More sharing options...
Loki Posted March 31, 2014 Author Share Posted March 31, 2014 Would love to know where I can find this Server.Softreset file? Link to comment Share on other sites More sharing options...
harakka Posted March 31, 2014 Share Posted March 31, 2014 There is no magical softreset file as far as I know. Make a copy of the shell script you use to start up the server and open it in editor. Before the -cp parameter, add a new parameter, -Dsoftreset. Also up the memory parameters in the script to as high as your environment allows. Run the script you just edited, it'll take a long time and potentially run out of memory anyway. If not, you have most likely successfully soft reset your server. Link to comment Share on other sites More sharing options...
Loki Posted April 1, 2014 Author Share Posted April 1, 2014 There is no magical softreset file as far as I know. Make a copy of the shell script you use to start up the server and open it in editor. Before the -cp parameter, add a new parameter, -Dsoftreset. Also up the memory parameters in the script to as high as your environment allows. Run the script you just edited, it'll take a long time and potentially run out of memory anyway. If not, you have most likely successfully soft reset your server I ran the script, initially after it ran for a bit I recieved a Java error about memory. I then increased the memory parameters but recieved this error. ./projectzomboid-dedi-server.sh: line 28: 2604 Killed XMODIFIERS= java -Djava.library.path="${INSTDIR}" -Dorg.lwjgl.util.NoChecks=true -Dorg.lwjgl.librarypath="${INSTDIR}" -Xms6144m -Xmx6144m -XX:-UseSplitVerifier -Dsoftreset -cp "${JARPATH}" zombie.network.GameServer "$@" Is this even an error at all? And if so, what does it mean? Link to comment Share on other sites More sharing options...
harakka Posted April 1, 2014 Share Posted April 1, 2014 It means the process was killed, probably because the OS ran out of memory. You might want to lower the memory settings a bit and try again. Link to comment Share on other sites More sharing options...
Connall Posted April 1, 2014 Share Posted April 1, 2014 It means the process was killed, probably because the OS ran out of memory. You might want to lower the memory settings a bit and try again. Yeah the OS ran out of Memory. AFAIK you need quite a ridiculous amount of RAM in order to successfully pull off the soft reset unless you do a convoluted method that someone talked about in the forum. I'll go see if I can find it. Link to comment Share on other sites More sharing options...
Loki Posted April 1, 2014 Author Share Posted April 1, 2014 It means the process was killed, probably because the OS ran out of memory. You might want to lower the memory settings a bit and try again. Yeah the OS ran out of Memory. AFAIK you need quite a ridiculous amount of RAM in order to successfully pull off the soft reset unless you do a convoluted method that someone talked about in the forum. I'll go see if I can find it. I saw that method about cutting the SoftResetted files and putting them somewhere safe, then running it again so that it Soft Resets the rest of the files. My issue with this is that when I try and move things in WinSCP, ESPECIALLY servertest files, it takes ridiculously long. Link to comment Share on other sites More sharing options...
Connall Posted April 1, 2014 Share Posted April 1, 2014 It means the process was killed, probably because the OS ran out of memory. You might want to lower the memory settings a bit and try again. Yeah the OS ran out of Memory. AFAIK you need quite a ridiculous amount of RAM in order to successfully pull off the soft reset unless you do a convoluted method that someone talked about in the forum. I'll go see if I can find it. I saw that method about cutting the SoftResetted files and putting them somewhere safe, then running it again so that it Soft Resets the rest of the files. My issue with this is that when I try and move things in WinSCP, ESPECIALLY servertest files, it takes ridiculously long. Are you moving the files internally within the server or with WinSCP or trying to put them on your computer? Link to comment Share on other sites More sharing options...
Loki Posted April 1, 2014 Author Share Posted April 1, 2014 It means the process was killed, probably because the OS ran out of memory. You might want to lower the memory settings a bit and try again. Yeah the OS ran out of Memory. AFAIK you need quite a ridiculous amount of RAM in order to successfully pull off the soft reset unless you do a convoluted method that someone talked about in the forum. I'll go see if I can find it. I saw that method about cutting the SoftResetted files and putting them somewhere safe, then running it again so that it Soft Resets the rest of the files. My issue with this is that when I try and move things in WinSCP, ESPECIALLY servertest files, it takes ridiculously long. Are you moving the files internally within the server or with WinSCP or trying to put them on your computer? I'm not really that versed with Linux to move them by command. First I tried moving them to my pc but realized quickly that download would take too long. So I then tried moving them within WinSCP to another folder, but that too took very very long. Link to comment Share on other sites More sharing options...
Connall Posted April 1, 2014 Share Posted April 1, 2014 It means the process was killed, probably because the OS ran out of memory. You might want to lower the memory settings a bit and try again. Yeah the OS ran out of Memory. AFAIK you need quite a ridiculous amount of RAM in order to successfully pull off the soft reset unless you do a convoluted method that someone talked about in the forum. I'll go see if I can find it. I saw that method about cutting the SoftResetted files and putting them somewhere safe, then running it again so that it Soft Resets the rest of the files. My issue with this is that when I try and move things in WinSCP, ESPECIALLY servertest files, it takes ridiculously long. Are you moving the files internally within the server or with WinSCP or trying to put them on your computer? I'm not really that versed with Linux to move them by command. First I tried moving them to my pc but realized quickly that download would take too long. So I then tried moving them within WinSCP to another folder, but that too took very very long. I'll look for a better alternative to WinSCP to see if there are any programs that would make it expedient. Link to comment Share on other sites More sharing options...
Loki Posted April 1, 2014 Author Share Posted April 1, 2014 It means the process was killed, probably because the OS ran out of memory. You might want to lower the memory settings a bit and try again. Yeah the OS ran out of Memory. AFAIK you need quite a ridiculous amount of RAM in order to successfully pull off the soft reset unless you do a convoluted method that someone talked about in the forum. I'll go see if I can find it. I saw that method about cutting the SoftResetted files and putting them somewhere safe, then running it again so that it Soft Resets the rest of the files. My issue with this is that when I try and move things in WinSCP, ESPECIALLY servertest files, it takes ridiculously long. Are you moving the files internally within the server or with WinSCP or trying to put them on your computer? I'm not really that versed with Linux to move them by command. First I tried moving them to my pc but realized quickly that download would take too long. So I then tried moving them within WinSCP to another folder, but that too took very very long. I'll look for a better alternative to WinSCP to see if there are any programs that would make it expedient. Excellent.. Hopefully the devs can figure out a way to insure the soft reset doesn't outgrow the server in terms of memory. Link to comment Share on other sites More sharing options...
Loki Posted April 3, 2014 Author Share Posted April 3, 2014 Bump? Link to comment Share on other sites More sharing options...
Connall Posted April 3, 2014 Share Posted April 3, 2014 Bump? Still looking, I'll post if I find anything. Edit: FileZilla is probably for the best. When it asks for a connection type, don't do it by FTP, do it SFTP. The distinction is very important. https://filezilla-project.org/ Link to comment Share on other sites More sharing options...
harakka Posted April 3, 2014 Share Posted April 3, 2014 Alternatively, use Google and learn how to use the Linux mv command. It's not rocket science. There are also semi-graphical tools such as mc (Midnight Commander) that can be easier to use than pure command line. Link to comment Share on other sites More sharing options...
Connall Posted April 3, 2014 Share Posted April 3, 2014 Alternatively, use Google and learn how to use the Linux mv command. It's not rocket science. There are also semi-graphical tools such as mc (Midnight Commander) that can be easier to use than pure command line. Yes, there's also that of course. Link to comment Share on other sites More sharing options...
i3loodyMoon Posted April 8, 2014 Share Posted April 8, 2014 followed all the steps after reading through this topic. practically hard reset my server and even server options were reset along side every character.mm yes it worked but lol hard reset takes less time and is 100x easier at least i find it to be. Any solutions to only resetting containers clean dead zombies// respawn default zombie counts that were set via server options Link to comment Share on other sites More sharing options...
JonSyn Posted April 8, 2014 Share Posted April 8, 2014 there is a ResetID= line in serverOptions.ini.make sure to keep that the same or all the chars will reset.or atleast thats what it seemed to me . Link to comment Share on other sites More sharing options...
ModdedTibby Posted May 3, 2014 Share Posted May 3, 2014 i have soft resets working smoothly on my main and my test server Soft resets all depend on your ability to allocate ram to your server. On the Test server i allocated 20gb of ram just for shits and giggles, was more than enough to soft reset, Looking at system properties i was running a solid 12gb of ram usage the whole time performing the soft reset. I did not have to move files to a folder and my java did not crash and just to be safe yes, i back up the reset the world ID just to be safe Link to comment Share on other sites More sharing options...
Connall Posted May 3, 2014 Share Posted May 3, 2014 i have soft resets working smoothly on my main and my test server Soft resets all depend on your ability to allocate ram to your server. On the Test server i allocated 20gb of ram just for shits and giggles, was more than enough to soft reset, Looking at system properties i was running a solid 12gb of ram usage the whole time performing the soft reset. I did not have to move files to a folder and my java did not crash and just to be safe yes, i back up the reset the world ID just to be safe Yeah I believe someone pointed that out a bit ago now, it's just the problem is most people don't have the RAM to dedicate to a soft reset, so many people couldn't perform it. Link to comment Share on other sites More sharing options...
harakka Posted May 3, 2014 Share Posted May 3, 2014 With build 26, soft resets shouldn't take humongous amounts of memory any more. If they still do, file a bugreport. Link to comment Share on other sites More sharing options...
ModdedTibby Posted May 3, 2014 Share Posted May 3, 2014 youll also want to back up your zombie bin files inside th3 same folder your soft resets otherwise youre newly cleared map with contain 0 zombies 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