fix_ut3.sh 791 B

1234567891011121314151617181920
  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. startparameters="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. fn_print_information "starting ${gamename} server to generate configs."
  10. fn_sleep_time
  11. exitbypass=1
  12. command_start.sh
  13. fn_firstcommand_reset
  14. sleep 10
  15. exitbypass=1
  16. command_stop.sh
  17. fn_firstcommand_reset