Browse Source

fix(tiserver): fix and update to latest version (#4190)

* fix(tiserver): fix and update to latest version

* update ti details

---------

Co-authored-by: Daniel Gibbs <[email protected]>
pull/4206/head
Christian 2 years ago
committed by GitHub
parent
commit
ecc9934d43
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      lgsm/config-default/config-lgsm/tiserver/_default.cfg
  2. 12
      lgsm/modules/info_game.sh

5
lgsm/config-default/config-lgsm/tiserver/_default.cfg

@ -15,8 +15,11 @@ queryport="27015"
# Possible maps, see: https://isle.fandom.com/wiki/The_Isle_Server_Settings_and_Configuration#Optional_Maps
map=""
# EAC start parameters
eaclaunch="-ini:Engine:[EpicOnlineServices]:DedicatedServerClientId=xyza7891gk5PRo3J7G9puCJGFJjmEguW -ini:Engine:[EpicOnlineServices]:DedicatedServerClientSecret=pKWl6t5i9NJK8gTpVlAxzENZ65P8hYzodV8Dqe5Rlc8"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="${map} -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -log"
startparameters="${map} -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -log ${eaclaunch}"
#### LinuxGSM Settings ####

12
lgsm/modules/info_game.sh

@ -653,12 +653,18 @@ fn_info_game_stn() {
# Filetype: ini
fn_info_game_ti() {
if [ -f "${servercfgfullpath}" ]; then
fn_info_game_ini "servername" "ServerName"
fn_info_game_ini "maxplayers" "MaxPlayerCount"
fn_info_game_ini "queueenabled" "QueueEnabled"
fn_info_game_ini "queueport" "QueuePort"
fn_info_game_ini "rconenabled" "RconEnabled"
fn_info_game_ini "rconport" "RconPort"
fn_info_game_ini "servername" "ServerName"
fi
maxplayers="${maxplayers:-"0"}"
port="${port:-"0"}"
queryport="${queryport:-"0"}"
queueenabled="${queueenabled:-"NOT SET"}"
queueport="${queueport:-"0"}"
rconenabled="${rconenabled:-"NOT SET"}"
rconport="${rconport:-"0"}"
servername="${servername:-"NOT SET"}"
}

Loading…
Cancel
Save