File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ if ! [[ "$SERVERMESSAGINGPORT" =~ $NUMCHECK ]]; then
1515fi
1616printf " Setting messaging port to %s\\ n" " $SERVERMESSAGINGPORT "
1717
18+ # Temporary code to fix the new messaging port flag forcing IPv4 binding. We only specify it if we're not using 8888
19+ SERVERMESSAGINGPORTARG=" "
20+ if [ " $SERVERMESSAGINGPORT " != " 8888" ]; then
21+ SERVERMESSAGINGPORTARG=" -ReliablePort=\" $SERVERMESSAGINGPORT \" "
22+ fi
23+
1824# Engine.ini settings
1925if ! [[ " $AUTOSAVENUM " =~ $NUMCHECK ]]; then
2026 printf " Invalid autosave number given: %s\\ n" " $AUTOSAVENUM "
148154cd /config/gamefiles || exit 1
149155
150156chmod +x FactoryServer.sh || true
151- ./FactoryServer.sh -Port=" $SERVERGAMEPORT " -ReliablePort= " $SERVERMESSAGINGPORT " " ${ini_args[@]} " " $@ " &
157+ ./FactoryServer.sh -Port=" $SERVERGAMEPORT " " $SERVERMESSAGINGPORTARG " " ${ini_args[@]} " " $@ " &
152158
153159sleep 2
154160satisfactory_pid=$( ps --ppid ${! } o pid=)
You can’t perform that action at this time.
0 commit comments