Browse Source

changes

pull/4339/head
Daniel Gibbs 2 years ago
parent
commit
ade64fe93c
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 1
      lgsm/modules/command_monitor.sh
  2. 20
      lgsm/modules/core_messages.sh
  3. 4
      lgsm/modules/fix_kf.sh
  4. 6
      lgsm/modules/fix_ro.sh
  5. 2
      lgsm/modules/install_config.sh

1
lgsm/modules/command_monitor.sh

@ -166,7 +166,6 @@ fn_monitor_check_session() {
fn_print_dots "Checking session: " fn_print_dots "Checking session: "
fn_print_checking_eol fn_print_checking_eol
fn_script_log_info "Checking session: CHECKING" 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. # Tmux session width and height needs to be reviewed as may no longer be required.
sessionwidth="80" sessionwidth="80"
sessionheight="23" sessionheight="23"

20
lgsm/modules/core_messages.sh

@ -483,56 +483,56 @@ fn_print_info_eol_nl() {
# QUERYING # QUERYING
fn_print_querying_eol() { fn_print_querying_eol() {
echo -en "${cyan}QUERYING${default}" echo -en "${cyan}QUERYING${default}"
fn_sleep_time fn_sleep_time_1
} }
fn_print_querying_eol_nl() { fn_print_querying_eol_nl() {
echo -e "${cyan}QUERYING${default}" echo -e "${cyan}QUERYING${default}"
fn_sleep_time fn_sleep_time_1
} }
# CHECKING # CHECKING
fn_print_checking_eol() { fn_print_checking_eol() {
echo -en "${cyan}CHECKING${default}" echo -en "${cyan}CHECKING${default}"
fn_sleep_time fn_sleep_time_1
} }
fn_print_checking_eol_nl() { fn_print_checking_eol_nl() {
echo -e "${cyan}CHECKING${default}" echo -e "${cyan}CHECKING${default}"
fn_sleep_time fn_sleep_time_1
} }
# DELAY # DELAY
fn_print_delay_eol() { fn_print_delay_eol() {
echo -en "${green}DELAY${default}" echo -en "${green}DELAY${default}"
fn_sleep_time fn_sleep_time_1
} }
fn_print_delay_eol_nl() { fn_print_delay_eol_nl() {
echo -e "${green}DELAY${default}" echo -e "${green}DELAY${default}"
fn_sleep_time fn_sleep_time_1
} }
# CANCELED # CANCELED
fn_print_canceled_eol() { fn_print_canceled_eol() {
echo -en "${lightyellow}CANCELED${default}" echo -en "${lightyellow}CANCELED${default}"
fn_sleep_time fn_sleep_time_1
} }
fn_print_canceled_eol_nl() { fn_print_canceled_eol_nl() {
echo -e "${lightyellow}CANCELED${default}" echo -e "${lightyellow}CANCELED${default}"
fn_sleep_time fn_sleep_time_1
} }
# REMOVED # REMOVED
fn_print_removed_eol() { fn_print_removed_eol() {
echo -en "${red}REMOVED${default}" echo -en "${red}REMOVED${default}"
fn_sleep_time fn_sleep_time_1
} }
fn_print_removed_eol_nl() { fn_print_removed_eol_nl() {
echo -e "${red}REMOVED${default}" echo -e "${red}REMOVED${default}"
fn_sleep_time fn_sleep_time_1
} }
# UPDATE # UPDATE

4
lgsm/modules/fix_kf.sh

@ -7,12 +7,12 @@
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" 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" 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/none}/none;/g' "${serverfiles}/Web/ServerAdmin/ROOst.css"
sed -i 's/underline}/underline;/g' "${serverfiles}/Web/ServerAdmin/ROOst.css" sed -i 's/underline}/underline;/g' "${serverfiles}/Web/ServerAdmin/ROOst.css"
fn_sleep_time 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" 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" sed -i 's/CharSet="iso-8859-1"/CharSet="utf-8"/g' "${systemdir}/UWeb.int"
fn_sleep_time fn_sleep_time

6
lgsm/modules/fix_ro.sh

@ -7,16 +7,16 @@
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" 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" 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/none}/none;/g' "${serverfiles}/Web/ServerAdmin/ROOst.css"
sed -i 's/underline}/underline;/g' "${serverfiles}/Web/ServerAdmin/ROOst.css" sed -i 's/underline}/underline;/g' "${serverfiles}/Web/ServerAdmin/ROOst.css"
fn_sleep_time 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" 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" sed -i 's/CharSet="iso-8859-1"/CharSet="utf-8"/g' "${systemdir}/uweb.int"
fn_sleep_time 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" sed -i 's/1210/1200/g' "${systemdir}/steam_appid.txt"
fn_sleep_time fn_sleep_time
echo -e "applying server name fix." echo -e "applying server name fix."

2
lgsm/modules/install_config.sh

@ -25,7 +25,7 @@ fn_fetch_default_config() {
echo -e "" echo -e ""
echo -e "${italic}https://github.com/GameServerManagers/Game-Server-Configs${default}" echo -e "${italic}https://github.com/GameServerManagers/Game-Server-Configs${default}"
echo -e "" echo -e ""
fn_sleep_time fn_sleep_time_1
mkdir -p "${lgsmdir}/config-default/config-game" mkdir -p "${lgsmdir}/config-default/config-game"
githuburl="https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/main" githuburl="https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/main"
for config in "${array_configs[@]}"; do for config in "${array_configs[@]}"; do

Loading…
Cancel
Save