diff --git a/README.md b/README.md index fe7b767..b4ae194 100644 --- a/README.md +++ b/README.md @@ -18,24 +18,6 @@ This volume can get quite large. It will require at least 2G of disk space for t Some map mods are as large as 10G. Make sure you have that much disk space in the location where docker stores its volumes, usually `/var/lib/docker/volumes`. -## TL;DR for this branch and release DayZ server - -```shell -git clone https://ceregatti.org/git/daniel/dayzdockerserver.git -cd dayzdockerserver -git checkout volume-refactor -docker compose up -d --build -docker compose exec main bash -dz login # Use a real login, as anonymous cannot download mods -dz install -cd /serverfiles -mv DayZServer DayZServer.release -wget https://cdn.discordapp.com/attachments/491622000935305217/1105089599983853698/DayZServer -chmod 755 DayZServer -cp /files/tmp/* . -exit -docker compose exec server bash -dz start # Will start a vanilla Chernarus map ``` ## Configure and Build diff --git a/files/dz-common b/files/dz-common index 81c5c25..c52044e 100755 --- a/files/dz-common +++ b/files/dz-common @@ -118,7 +118,7 @@ get_mod_name(){ list(){ X=1 C="${green}" - spaces=" " + spaces=" " echo "Installed mods:" echo -e " ID Name URL Size" echo "------------------------------------------------------------------------------------------------------------------------" @@ -127,7 +127,7 @@ list(){ ID=${dir} NAME=$(grep name "${WORKSHOP_DIR}/${dir}/meta.cpp" | cut -d '"' -f2 | sed -r 's/\s+//g') SIZE=$(du -sh "${WORKSHOP_DIR}/${dir}" | awk '{print $1}') - printf "${C}%.3d %s %.23s %s https://steamcommunity.com/sharedfiles/filedetails/?id=%s %s${default}\n" ${X} ${ID} "${NAME}" "${spaces:${#NAME}+1}" ${ID} ${SIZE} + printf "${C}%.3d %s %.30s %s https://steamcommunity.com/sharedfiles/filedetails/?id=%s %s${default}\n" ${X} ${ID} "${NAME}" "${spaces:${#NAME}+1}" ${ID} ${SIZE} X=$((X+1)) done echo diff --git a/server/bin/dz b/server/bin/dz index 0cb9aaf..8119510 100755 --- a/server/bin/dz +++ b/server/bin/dz @@ -202,7 +202,7 @@ start(){ report ' EXIT get_mods -# mergexml + mergexml cd ${SERVER_FILES} # Run the server. Allow docker to restart the container if the script exits with a code other than 0. This is so we can # safely shut the container down without killing the server within. diff --git a/tmp/libsteam_api.so b/tmp/libsteam_api.so deleted file mode 100755 index 10b6385..0000000 Binary files a/tmp/libsteam_api.so and /dev/null differ diff --git a/tmp/steamclient.so b/tmp/steamclient.so deleted file mode 100755 index 6f49323..0000000 Binary files a/tmp/steamclient.so and /dev/null differ