fix_ut3.sh 795 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. # LinuxGSM fix_ut2.sh module
  3. # Author: Daniel Gibbs
  4. # Contributors: http://linuxgsm.com/contrib
  5. # Website: https://linuxgsm.com
  6. # Description: Resolves various issues with Unreal Tournament 3.
  7. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  8. fn_parms(){
  9. 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}"
  10. }
  11. fn_print_information "starting ${gamename} server to generate configs."
  12. fn_sleep_time
  13. exitbypass=1
  14. command_start.sh
  15. fn_firstcommand_reset
  16. sleep 10
  17. exitbypass=1
  18. command_stop.sh
  19. fn_firstcommand_reset