Daniel Gibbs
2 years ago
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55
5 changed files with
16 additions and
17 deletions
-
lgsm/modules/command_monitor.sh
-
lgsm/modules/core_messages.sh
-
lgsm/modules/fix_kf.sh
-
lgsm/modules/fix_ro.sh
-
lgsm/modules/install_config.sh
|
|
@ -166,7 +166,6 @@ fn_monitor_check_session() { |
|
|
|
fn_print_dots "Checking session: " |
|
|
|
fn_print_checking_eol |
|
|
|
fn_script_log_info "Checking session: CHECKING" |
|
|
|
fn_sleep_time_1 |
|
|
|
# Tmux session width and height needs to be reviewed as may no longer be required. |
|
|
|
sessionwidth="80" |
|
|
|
sessionheight="23" |
|
|
|
|
|
@ -483,56 +483,56 @@ fn_print_info_eol_nl() { |
|
|
|
# QUERYING |
|
|
|
fn_print_querying_eol() { |
|
|
|
echo -en "${cyan}QUERYING${default}" |
|
|
|
fn_sleep_time |
|
|
|
fn_sleep_time_1 |
|
|
|
} |
|
|
|
|
|
|
|
fn_print_querying_eol_nl() { |
|
|
|
echo -e "${cyan}QUERYING${default}" |
|
|
|
fn_sleep_time |
|
|
|
fn_sleep_time_1 |
|
|
|
} |
|
|
|
|
|
|
|
# CHECKING |
|
|
|
fn_print_checking_eol() { |
|
|
|
echo -en "${cyan}CHECKING${default}" |
|
|
|
fn_sleep_time |
|
|
|
fn_sleep_time_1 |
|
|
|
} |
|
|
|
|
|
|
|
fn_print_checking_eol_nl() { |
|
|
|
echo -e "${cyan}CHECKING${default}" |
|
|
|
fn_sleep_time |
|
|
|
fn_sleep_time_1 |
|
|
|
} |
|
|
|
|
|
|
|
# DELAY |
|
|
|
fn_print_delay_eol() { |
|
|
|
echo -en "${green}DELAY${default}" |
|
|
|
fn_sleep_time |
|
|
|
fn_sleep_time_1 |
|
|
|
} |
|
|
|
|
|
|
|
fn_print_delay_eol_nl() { |
|
|
|
echo -e "${green}DELAY${default}" |
|
|
|
fn_sleep_time |
|
|
|
fn_sleep_time_1 |
|
|
|
} |
|
|
|
|
|
|
|
# CANCELED |
|
|
|
fn_print_canceled_eol() { |
|
|
|
echo -en "${lightyellow}CANCELED${default}" |
|
|
|
fn_sleep_time |
|
|
|
fn_sleep_time_1 |
|
|
|
} |
|
|
|
|
|
|
|
fn_print_canceled_eol_nl() { |
|
|
|
echo -e "${lightyellow}CANCELED${default}" |
|
|
|
fn_sleep_time |
|
|
|
fn_sleep_time_1 |
|
|
|
} |
|
|
|
|
|
|
|
# REMOVED |
|
|
|
fn_print_removed_eol() { |
|
|
|
echo -en "${red}REMOVED${default}" |
|
|
|
fn_sleep_time |
|
|
|
fn_sleep_time_1 |
|
|
|
} |
|
|
|
|
|
|
|
fn_print_removed_eol_nl() { |
|
|
|
echo -e "${red}REMOVED${default}" |
|
|
|
fn_sleep_time |
|
|
|
fn_sleep_time_1 |
|
|
|
} |
|
|
|
|
|
|
|
# UPDATE |
|
|
|
|
|
@ -7,12 +7,12 @@ |
|
|
|
|
|
|
|
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" |
|
|
|
|
|
|
|
echo -e "Applying WebAdmin ROOst.css fix." |
|
|
|
echo -e "applying WebAdmin ROOst.css fix." |
|
|
|
echo -e "http://forums.tripwireinteractive.com/showpost.php?p=585435&postcount=13" |
|
|
|
sed -i 's/none}/none;/g' "${serverfiles}/Web/ServerAdmin/ROOst.css" |
|
|
|
sed -i 's/underline}/underline;/g' "${serverfiles}/Web/ServerAdmin/ROOst.css" |
|
|
|
fn_sleep_time |
|
|
|
echo -e "Applying WebAdmin CharSet fix." |
|
|
|
echo -e "applying WebAdmin CharSet fix." |
|
|
|
echo -e "http://forums.tripwireinteractive.com/showpost.php?p=442340&postcount=1" |
|
|
|
sed -i 's/CharSet="iso-8859-1"/CharSet="utf-8"/g' "${systemdir}/UWeb.int" |
|
|
|
fn_sleep_time |
|
|
|
|
|
@ -7,16 +7,16 @@ |
|
|
|
|
|
|
|
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" |
|
|
|
|
|
|
|
echo -e "Applying webinterface ROOst.css fix." |
|
|
|
echo -e "applying webinterface ROOst.css fix." |
|
|
|
echo -e "http://forums.tripwireinteractive.com/showpost.php?p=585435&postcount=13" |
|
|
|
sed -i 's/none}/none;/g' "${serverfiles}/Web/ServerAdmin/ROOst.css" |
|
|
|
sed -i 's/underline}/underline;/g' "${serverfiles}/Web/ServerAdmin/ROOst.css" |
|
|
|
fn_sleep_time |
|
|
|
echo -e "Applying webinterface CharSet fix." |
|
|
|
echo -e "applying webinterface CharSet fix." |
|
|
|
echo -e "http://forums.tripwireinteractive.com/showpost.php?p=442340&postcount=1" |
|
|
|
sed -i 's/CharSet="iso-8859-1"/CharSet="utf-8"/g' "${systemdir}/uweb.int" |
|
|
|
fn_sleep_time |
|
|
|
echo -e "Applying Steam AppID fix." |
|
|
|
echo -e "applying Steam AppID fix." |
|
|
|
sed -i 's/1210/1200/g' "${systemdir}/steam_appid.txt" |
|
|
|
fn_sleep_time |
|
|
|
echo -e "applying server name fix." |
|
|
|
|
|
@ -25,7 +25,7 @@ fn_fetch_default_config() { |
|
|
|
echo -e "" |
|
|
|
echo -e "${italic}https://github.com/GameServerManagers/Game-Server-Configs${default}" |
|
|
|
echo -e "" |
|
|
|
fn_sleep_time |
|
|
|
fn_sleep_time_1 |
|
|
|
mkdir -p "${lgsmdir}/config-default/config-game" |
|
|
|
githuburl="https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/main" |
|
|
|
for config in "${array_configs[@]}"; do |
|
|
|