|
|
@ -2,7 +2,7 @@ |
|
|
|
# LGSM fn_details_config function |
|
|
|
# Author: Daniel Gibbs |
|
|
|
# Website: http://gameservermanagers.com |
|
|
|
# Version: 160415 |
|
|
|
# Version: 090515 |
|
|
|
|
|
|
|
# Description: Gets specific details from config files. |
|
|
|
|
|
|
@ -15,7 +15,9 @@ elif [ "${engine}" == "projectzomboid" ]; then |
|
|
|
|
|
|
|
elif [ "${engine}" == "realvirtuality" ]; then |
|
|
|
servername=$(grep -s hostname "${servercfgfullpath}"| grep -v //|sed -e 's/\<hostname\>//g'| tr -d '=\"; ') |
|
|
|
port=$(grep -s serverport= "${servercfgfullpath}"|grep -v //|tr -d '\r'|tr -cd [:digit:]) |
|
|
|
if [ -z "${port}" ]; then |
|
|
|
port=$(grep -s serverport= "${servercfgfullpath}"|grep -v //|tr -d '\r'|tr -cd [:digit:]) |
|
|
|
fi |
|
|
|
queryport=$(grep -s steamqueryport= "${servercfgfullpath}"|grep -v //|tr -d '\r'|tr -cd [:digit:]) |
|
|
|
masterport=$(grep -s steamport= "${servercfgfullpath}"|grep -v //|tr -d '\r'|tr -cd [:digit:]) |
|
|
|
|
|
|
|