Skip to content

Commit 83df2c6

Browse files
authored
feat(sf): add new port for ReliableMessaging (#4813)
1 parent f12a3ae commit 83df2c6

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

lgsm/config-default/config-lgsm/sfserver/_default.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@
1212
ip="0.0.0.0"
1313
queryport="15777"
1414
beaconport="15000"
15+
reliableport="8888"
1516
port="7777"
1617

1718
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
1819
## Game Server Docs | https://satisfactory.fandom.com/wiki/Dedicated_servers
19-
startparameters="FactoryGame -Port=${port} -ServerQueryPort=${queryport} -BeaconPort=${beaconport} -log"
20+
startparameters="FactoryGame -Port=${port} -ServerQueryPort=${queryport} -BeaconPort=${beaconport} -ReliablePort=${reliableport} -log"
2021

2122
#### LinuxGSM Settings ####
2223

lgsm/modules/command_dev_parse_game_details.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ declare -A server_details=(
9696
['RCON Port']="${rconport}"
9797
['RCON Web']="${rconweb}"
9898
['Reserved Slots']="${reservedslots}"
99+
['Reliable Messaging']="${reliableport}"
99100
['RMI Port']="${rmiport}"
100101
['RMI Reg Port']="${rmiregport}"
101102
['Salt']="${salt}"

lgsm/modules/command_dev_query_raw.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ fn_messages_separator
9090
echo -e "Beacon:"
9191
fi
9292

93+
if [ -n "${reliableport}" ]; then
94+
echo -e "ReliableMessaging: \t${reliableport} \t$(ss -tupl | grep -c "${reliableport}") \t$(ss -tupl | grep "${reliableport}" | grep tcp | awk '{ print $2 }') \t$(ss -tupl | grep "${reliableport}" | grep udp | awk '{ print $2 }')"
95+
else
96+
echo -e "ReliableMessaging:"
97+
fi
98+
9399
if [ -n "${clientport}" ]; then
94100
echo -e "Client: \t${clientport} \t$(ss -tupl | grep -c "${clientport}") \t$(ss -tupl | grep "${clientport}" | grep tcp | awk '{ print $2 }') \t$(ss -tupl | grep "${clientport}" | grep udp | awk '{ print $2 }')"
95101
else

lgsm/modules/info_game.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1993,6 +1993,7 @@ fn_info_game_sf() {
19931993
port="${port:-"0"}"
19941994
queryport="${queryport:-"0"}"
19951995
beaconport="${beaconport:-"0"}"
1996+
reliableport="${reliableport:-"0"}"
19961997
}
19971998

19981999
# Config Type: Parameters (with an ini)

lgsm/modules/info_messages.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,6 +1502,7 @@ fn_info_messages_sf() {
15021502
fn_port "Game" port udp
15031503
fn_port "Query" queryport udp
15041504
fn_port "Beacon" beaconport udp
1505+
fn_port "ReliableMessaging" reliableport tcp
15051506
} | column -s $'\t' -t
15061507
}
15071508

0 commit comments

Comments
 (0)