oskarcc Posted September 1, 2014 Share Posted September 1, 2014 Hello how can i soft reset on linux. Thanks Link to comment Share on other sites More sharing options...
Connall Posted September 2, 2014 Share Posted September 2, 2014 Add -Dsoftreset to the projectzomboid-dedi-server.sh file like so:#!/bin/bash## projectzomboid.sh################################################################################ SCRIPT="`basename $0`"GAMEDIR="${HOME}/.project_zomboid_2.9.9.17"LOGFILE="${GAMEDIR}/${SCRIPT}.log"INSTDIR="`dirname $0`"/projectzomboid ; cd "${INSTDIR}" ; INSTDIR="`pwd`" [[ ! -d "${GAMEDIR}" ]] && mkdir -m 0755 "${GAMEDIR}" JARPATH=".:lwjgl.jar:lwjgl_util.jar:jinput.jar:sqlitejdbc-v056.jar:trove-3.0.3.jar" # XMODIFIERS is cleared here to prevent SCIM screwing up keyboard inputXMODIFIERS= java \ -Djava.library.path="${INSTDIR}" \ -Dorg.lwjgl.util.NoChecks=true \ -Dorg.lwjgl.librarypath="${INSTDIR}" \ -Dsoftreset \ -Xms4096m \ -Xmx4096m \ -XX:-UseSplitVerifier \ -cp "${JARPATH}" \zombie.network.GameServer \ "$@" exit 0 ## EOF################################################################################DON'T COPY AND PASTE THAT TEXT IT'S JUST AN EXAMPLE As far as I'm aware, this should work. In theory it should work, but I never personally got it working. Someone might come along and tell you a way to do it better, so who knows. Make sure to remove -Dsoftreset after you have run the file once otherwise you would be resetting the server constantly. Link to comment Share on other sites More sharing options...
Xairoo Posted October 1, 2014 Share Posted October 1, 2014 Damn, this takes long... 95477 files left, after about 20 minutes... Link to comment Share on other sites More sharing options...
Connall Posted October 1, 2014 Share Posted October 1, 2014 Damn, this takes long... 95477 files left, after about 20 minutes... More RAM it has the faster it is if I'm not mistaken. Link to comment Share on other sites More sharing options...
Xairoo Posted October 6, 2014 Share Posted October 6, 2014 Hm, my server has 32 GB RAM... Link to comment Share on other sites More sharing options...
harakka Posted October 6, 2014 Share Posted October 6, 2014 PZ can only use as much as you allocate to it via the -Xms and -Xmx parameters. Connall 1 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