gameservergame-servergame-servershacktoberfestdedicated-game-serversgamelinuxgsmserverbashgaminglinuxmultiplayer-game-servershell
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
770 B
24 lines
770 B
#!/bin/bash
|
|
# LGSM fn_install_ut99fix function
|
|
# Author: Daniel Gibbs
|
|
# Website: http://danielgibbs.co.uk
|
|
# Version: 210115
|
|
|
|
echo "Applying ${gamename} Server Fixes"
|
|
echo "================================="
|
|
echo "enabling UdpServerUplink."
|
|
{
|
|
echo "[IpServer.UdpServerUplink]"
|
|
echo "DoUplink=True"
|
|
echo "UpdateMinutes=1"
|
|
echo "MasterServerAddress=unreal.epicgames.com"
|
|
echo "MasterServerPort=27900"
|
|
echo "Region=0"
|
|
}|tee -a "${servercfgfullpath}" > /dev/null 2>&1
|
|
sleep 1
|
|
echo "removing dead mplayer.com master server."
|
|
sed -i '/master.mplayer.com/d' "${servercfgfullpath}"
|
|
sleep 1
|
|
echo "inserting qtracker.com master server."
|
|
sed -i '66i\ServerActors=IpServer.UdpServerUplink MasterServerAddress=master.qtracker.com MasterServerPort=27900' "${servercfgfullpath}"
|
|
echo ""
|