Ubuntu/Debian/Mint news and tutorials | Linux stuff
facebook.png
twitter.png
feed.png
Quick Tip
Find Files Containing a Text Pattern
find . -iname "*.txt" -exec grep -l "hello" {} +
Quick Tip
Create a Bootable USB from an ISO Image
sudo dd if=/path/to/image.iso of=/dev/sdX bs=4096k
Replace /dev/sdX with your USB device, for example, /dev/sdb.
Quick Tip
Disable Overlay Scrollbars in GNOME
gsettings set com.canonical.desktop.interface scrollbar-mode normal
Changes should occur instantly. The overlay scrollbars should now be replaced with normal scrollbars. This method works for Ubuntu 12.10 and above.
Categories
Ubuntu Unleashed 2014 Edition
Buy the Ubuntu Unleashed 2014 Edition book from Amazon.com now!
Linux Cheat Sheet
Have a look at our Linux Cheat Sheet for quick one-liners, commands and tips.

AssaultCube is a popular cross-platform first-person shooter with pretty low hardware requirements, with a fast gameplay and many modes – including the classic CTF, TDM, FFA, or the popular TOSOK (Team One Shot One Kill), LSS (Last Swiss Standing), or HTF (Hold the Flag).

Starting a server should be pretty straightforward in Linux, all you have to do is run the server dedicated binary with several parameters, however AssaultCube provided a script, called server.sh for doing it. Here’s an example:

This is a perfectly working example, and you will be able to see your server listed in the Server Browser under the name “Public AC Server”. Here is what the switches used mean:

-c20 – the maximum number of clients allowed (20)

-xserverpass – the admin password (-x is the switch and serverpass is the actual password)

-Bconfig/serverblacklist.cfg – the -B switch specifies the blacklist file (banned IPs), in this case config/serverblacklist.cfg

-n”Publci AC Server” – the name of the server, which will appear in the Server Browser, you can use the slash (\) to escape characters like $

-o”Welcome to our AssaultCube server! – this is the welcome message which will be displayed to each player after he joins the server

For a complete list of parameters, see this page on the official website.

Share this!Share on RedditShare on StumbleUponShare on FacebookTweet about this on TwitterShare on TumblrShare on Google+

Leave a Comment

Sponsors
Ballkleider - Ballkleider
Online Readers
Advertise on TuxArena