fix_ut3.sh 709 B

12345678910111213141516171819
  1. #!/bin/bash
  2. # LinuxGSM fix_ut2.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://linuxgsm.com
  5. # Description: Resolves various issues with Unreal Tournament 3.
  6. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  7. fn_parms(){
  8. parms="server VCTF-Suspense?Game=UTGameContent.UTVehicleCTFGame_Content?bIsDedicated=true?bIsLanMatch=false?bUsesStats=false?bShouldAdvertise=false?PureServer=1?bAllowJoinInProgress=true?ConfigSubDir=${selfname} -port=${port} -queryport=${queryport} -multihome=${ip} -nohomedir -unattended -log=${gamelog}"
  9. }
  10. fn_print_information "starting ${gamename} server to generate configs."
  11. fn_sleep_time
  12. exitbypass=1
  13. command_start.sh
  14. sleep 10
  15. exitbypass=1
  16. command_stop.sh