Hey all,
dont know if anyone used the 2k4 version but here is my script adjusted for UT3 linux dedicated servers.
Direct links You can use wget to get them directly to your box
-
Script
Command:
wget http://aria.dominating.nl/ut-admin/ut3/ut3ss
-
Install/Help
Command:
wget http://aria.dominating.nl/ut-admin/ut3/INSTALL
Package
-
Script+install/help
Command:
wget http://aria.dominating.nl/ut-admin/ut3/ut3ss.tar.gz
Unpack:
tar -xzf ut3ss.tar.gz
What it can do
Commandline options
- start, this starts the server in background. All server output goes into logfile
- stop, this stops the running server
- restart, this restarts the running server
- check, this checks if the server is running and gives online or offline back
- status, this checks if the server is running and if not restart the server
- debug, this starts the server but wont background the process. All server output
will be showed on screen. To stop hit CTRL+C (this kills the running server!).
Note: There was a line in the INSTALL file that said that it was not possible to run 2 servers from 1 dir.. That is a lie. Just make sure you use different logfiles and pids for each instance
Have fun and if there are comments they can be places here. There is also an irc channel and forum listed in the script for support.
Issues:
- Double spaces in gameopt makes in impossible to stop the server [fixed]
Download files are updated version 0.4.1
For people that dont want to redownload the files here is the fix IF you had problems with multiple spaces.
After this line:
realbin="./ut3-bin"
Add this line:
gameopt=`echo ${gameopt}| sed s/"[ ]\{2,\}"/" "/g`
This will remove all extra spaces in the gameopt.
Regards.