![]() ![]() You can play it on almost any system too, so people without gaming rigs can join in on the fun. Did I mention that the server and client packages together weigh in at a whopping 43MB? At the request of a few friends who I’ve recently got addicted to the game, I decided to put together this quick guide to setting up a dedicated private server for AssaultCube. You’ll need to go to the homepage and download the files for your OS. For Linux users this will be two bzip tarballs, and for Windows you’ll need the two installer files. Simply run the 1.0.2 installer followed by the 1.0.4 patch for your Windows machine and you’ll be good to go. For Linux, you’ll need to find a place to keep your server files, I just put mine in the home directory, but that’s obviously not ideal if you want to create init scripts to start the server automatically. Once you have decided on a location, download, or move the 1.0.2 tarball to that directory and execute the command: tar -jxvf AssaultCube_v1.0.2.tar.bz2. This will extract the files to a subdirectory named AssaultCube_v1.0.2. Then change into that subdirectory: cd AssaultCube_v1.0.2 and download/move the 1.0.4 tarball to the current folder. Next, extract the patch with: tar -jxvf AssaultCube_v1.0.2. Delete the leftover tarballs and your AssaultCube installation is ready for action. Your AssaultCube configuration files will be located in the installation folder. For Windows, that would be C:\Programs\AssaultCube or C:\Program Files\AssaultCube depending on your version. In Linux, this is that AssaultCube_v1.0.2 folder that was created during installation. Inside the installation folder is the config folder. The main files you’ll be concerned with in here for your server are: servercmdline.txt, serverpwd.cfg, serverinfo_en.txt, and maprot.cfg. This is where most of your server configuration is going to happen. o ‘ello all you happy peoples! The server’s message of the day.The file is well documented, but I’ll run through a quick list of things I changed for my server to get you started. m localhost Keeps the server from updating the masterserver if you want it to be a private server.-p SecretPassword The password for the server, if you want the server to be private.Check out the recommended bandwidth requirements when setting this. Put your admin password in here so that you can take control of the server when you need to perform admin tasks. This is a more detailed description of your server, usually contains contact information and the like, not needed for a private server. I haven’t actually messed with this any yet, but the file contains a decent description of the syntax used. The Windows server should default to saving all log information to a local file. However, if you’re running the server on Linux you’ll probably want to tweak the default settings a little. Mail,news ,local6.none -/var/log/messages Right now you probably have a section that looks a lot like this: *.* auth,authpriv.none -/var/log/syslogĪssaultCube uses the local6 facility, so change this section to look something like what we have below: *.* auth,authpriv ,local6.none -/var/log/syslog AssaultCube defaults to using syslog, so open up /etc/nf with root privileges and lets start editing. Now we need to redirect the AssaultCube log messages to they’re own file: local6.* /var/log/aclog This prevents AssaultCube messages from ending up in the general log files. Your server will now log all AssaultCube messages to /var/log/aclog after rebooting. Like I said earlier, you could set AssaultCube up as a service that starts at boot time, but I’m too lazy to do that right now. In Windows, you need to run the server.bat file in your installation directory. For Linux you can simply run the server.sh file. However, I use a little script of my own to call the server script. Home/srv-admin/AssaultCube_v1.0.4/server.shĮcho "server crashed on `date`" > last_crash.txt It will automatically restart the server if it ever happens to crash, and log the date of the crash to a log file for reference. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |