소스 검색

Removed allocs fixed

I have decided to remove allocs fixes as the builds are not kept up to
date and can break the server. I think allocs fixes would be best
applied manually currently.
Daniel Gibbs 11 년 전
부모
커밋
e3957b710e
2개의 변경된 파일0개의 추가작업 그리고 47개의 파일을 삭제
  1. 0 11
      7DaysToDie/sdtdserver
  2. 0 36
      functions/fn_sdtdfix_alloc

+ 0 - 11
7DaysToDie/sdtdserver

@@ -20,17 +20,6 @@ steampass="password"
 ip="0.0.0.0"
 updateonstart="no"
 
-# Mod Variables
-
-# If you are using or want to use Alloc's Server Fixes,
-# uncomment the variable below
-# *****Note: It has happened where the core gets updated, but
-# Alloc's fixes weren't updated yet. If this happens
-# you may need to comment out or set to false temporarily
-# until Alloc's patch is updated.  Please see 7 Days To Die
-# forum for details.  Many people use this patch.
-allocsfixes=true  # set to true if you want installed, false or comment if not
-
 # http://7daystodie.gamepedia.com/Server
 fn_parms(){
 parms="-configfile=\"${servercfgfullpath}\" -dedicated"

+ 0 - 36
functions/fn_sdtdfix_alloc

@@ -1,36 +0,0 @@
-#!/bin/bash
-# LGSM fn_sdtdfix_alloc function
-# Author: Daniel Gibbs
-# Contributor: Chris Koepf
-# Website: http://gameservermanagers.com
-# Version: 210115
-
-# Description: Creates a .tar.gz file in the backup directory.
-# addition for 7 Days to Die - very popular server addon run on most dedicated servers
-# file validation breaks this addon and it requires re-installation each time.
-
-if [ "${allocsfixes}" = true ]; then
-        sleep 5
-        fn_scriptlog "Installing Alloc's Server Fixes"
-        echo -en "\n"
-        sleep 5
-        echo -en "Installing Alloc's Server Fixes\n"
-        cd "${rootdir}"/serverfiles/
-        rm -rf server_fixes.tar.gz
-        wget http://illy.bz/fi/7dtd/server_fixes.tar.gz
-        if [ -f "server_fixes.tar.gz" ]; then
-                tar -xzf server_fixes.tar.gz
-                rm -rf server_fixes.tar.gz
-                fn_scriptlog "Server Fixes Installed"
-                echo -en "Alloc's Server Fixes have been installed.\n"
-        else
-            	if [ ! -f "server_fixes.tar.gz" ]; then
-                        fn_scriptlog "Error downloading Server Fixes!"
-                fi
-                echo -en "There was a problem installing Alloc's Server Fixes!"
-        fi
-
-	fn_scriptlog "Alloc's Server Fixes installed."
-        echo -en "FAlloc's Server Fixes installed.\n"
-fi
-}