Browse Source

repaired ut99 fix

pull/743/head
Daniel Gibbs 9 years ago
parent
commit
248518c3c5
  1. 2
      functions/command_install.sh
  2. 4
      functions/fix_ut99.sh

2
functions/command_install.sh

@ -26,11 +26,11 @@ elif [ -n "${appid}" ]; then
fi
# Configuration
fix.sh
install_config.sh
if [ "${gamename}" == "Counter Strike: Global Offensive" ]||[ "${gamename}" == "Team Fortress 2" ]||[ "${gamename}" == "BrainBread 2" ]; then
install_gslt.sh
elif [ "${gamename}" == "Teamspeak 3" ]; then
install_ts3db.sh
fi
fix.sh
install_complete.sh

4
functions/fix_ut99.sh

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
echo "${servercfgfullpath}"
echo "enabling UdpServerUplink."
{
echo "[IpServer.UdpServerUplink]"
@ -21,5 +21,5 @@ 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}"
sed -i '65i\ServerActors=IpServer.UdpServerUplink MasterServerAddress=master.qtracker.com MasterServerPort=27900' "${servercfgfullpath}"
echo ""
Loading…
Cancel
Save