|
|
@ -181,7 +181,7 @@ fn_info_config_bf1942(){ |
|
|
|
queryport="${zero}" |
|
|
|
else |
|
|
|
|
|
|
|
servername=$(grep "game.serverName " "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^--/d' -e 's/game.serverName //g' | tr -d '=\";,:' | xargs) |
|
|
|
servername=$(grep "game.serverName" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^--/d' -e 's/game.serverName //g' | tr -d '=\";,:' | xargs) |
|
|
|
serverpassword=$(grep "game.serverPassword" "${servercfgfullpath}" | sed -e 's/^ *//g' -e '/^--/d' -e 's/game.serverPassword//g' | tr -d '=\";,:' | xargs) |
|
|
|
maxplayers=$(grep "game.serverMaxPlayers" "${servercfgfullpath}" | grep -v "\--" | tr -cd '[:digit:]') |
|
|
|
port=$(grep "game.serverPort" "${servercfgfullpath}" | grep -v "\--" | tr -cd '[:digit:]') |
|
|
@ -1501,7 +1501,7 @@ elif [ "${shortname}" == "bf1942" ]; then |
|
|
|
fn_info_config_bf1942 |
|
|
|
# Battlefield: Vietnam |
|
|
|
elif [ "${shortname}" == "bfv" ]; then |
|
|
|
fn_info_config_bfv |
|
|
|
fn_info_config_bfv |
|
|
|
# Chivalry: Medieval Warfare |
|
|
|
elif [ "${shortname}" == "cmw" ]; then |
|
|
|
fn_info_config_chivalry |
|
|
|