Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix various issues on blade symphony #2276

Merged
merged 8 commits into from
Apr 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion lgsm/config-default/config-lgsm/bsserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@ sourcetvport="27020"
defaultmap="duel_winter"
maxplayers="16"

## Required: Game Server Login Token
# GSLT is required for running a public server.
# More info: https://linuxgsm.com/gslt
gslt=""

## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
fn_parms(){
parms="-autoupdate -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
parms="-game "${serverfiles}/berimbau" -autoupdate -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
}

#### LinuxGSM Settings ####
Expand Down
8 changes: 4 additions & 4 deletions lgsm/functions/install_gslt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ echo ""
echo "Game Server Login Token"
echo "================================="
sleep 0.5
if [ "${gamename}" == "Counter-Strike: Global Offensive" ]||[ "${gamename}" == "Counter-Strike: Source" ]||[ "${gamename}" == "No More Room in Hell" ]; then
if [ "${shortname}" == "csgo" ]||[ "${shortname}" == "css" ]||[ "${shortname}" == "nmrih" ]||[ "${shortname}" == "bs" ]; then
echo "GSLT is required to run a public ${gamename} server"
fn_script_log_info "GSLT is required to run a public ${gamename} server"
else
Expand All @@ -26,7 +26,7 @@ fn_script_log_info "Get more info and a token here:"
fn_script_log_info "https://linuxgsm.com/gslt"
echo ""
if [ -z "${autoinstall}" ]; then
if [ "${gamename}" != "Tower Unite" ]; then
if [ "${shortname}" != "tu" ]; then
echo "Enter token below (Can be blank)."
echo -n "GSLT TOKEN: "
read -r token
Expand All @@ -38,11 +38,11 @@ if [ -z "${autoinstall}" ]; then
fi
fi
sleep 0.5
if [ "${gamename}" == "Tower Unite" ]; then
if [ "${shortname}" == "tu" ]; then
echo "The GSLT can be changed by editing ${servercfgdir}/${servercfg}."
fn_script_log_info "The GSLT can be changed by editing ${servercfgdir}/${servercfg}."
else
echo "The GSLT can be changed by editing ${configdirserver}/${servicename}.cfg."
fn_script_log_info "The GSLT can be changed by editing ${configdirserver}/${servicename}.cfg."
fi
echo ""
echo ""