fix_ut3.sh 760 B

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