Hosting your own dedicated for Lethal Stigma is pretty easy and is not much different from hosting a Counter-Strike: Source or TF2 server. This tutorial will outline how to set up a LS dedicated server under Linux. If you want to know how to set up a LS dedicated server under Linux, please click here now and disregard the rest of this tutorial.
First of all, open up a new terminal window and type in the following in sequence:
mkdir srcds_l cd srcds_l wget https://www.steampowered.com/download/hldsupdatetool.bin chmod +x hldsupdatetool.bin ./hldsupdatetool.bin ./steam
NOTE: If you want to install to another location besides the one specified above, please do so now. Keep in mind though that the entire tutorial is based on installing your server to this location, so if you change things up here, you'll need to follow through with the rest of the tutorial in the same fashion, changing each destination folder path accordingly.
This will download and update your hldsupdatetool to the latest version available from Valve. As soon the cursor blinks and nothing appears to be happening, you are done updating.
Now that we're done updating the installer, it's time to, well, install. To do this, type the following into your terminal window (copying and pasting will work as well):
./steam -command update -game orangebox -dir .
A list of files will begin to generate. This will take quite a while depending on the speed of your internet connection (though it should be quite fast anyway if you plan to run a dedicated server through it), so sit back and wait. You'll know when you're done when you are prompted for command and can type in your terminal window again. If you run into a known issue where it looks like the downloading has randomly stopped at a specific step, wait a few more minutes, then run the command again. You'll pick up from where you left off.
All that needs to be done now is to download the latest LS files and extract them to your ~/srcds/orangebox folder. Click here to begin downloading v0.1.1 via ModDB, then click here to obtain the v0.1.2 patch.
Finally, to start your server, type the following into your terminal window:
./srcds_run -console -game lethalstigma +map ls_ravine -maxplayers 12 -autoupdate
In a few minutes, you should see your server in Lethal Stigma's server browser. If not, it's probably because your ports are not forwarded on your router. For more information, check out this thread on the srcds.com forums. However, I'm afraid this is beyond the scope of this tutorial.
-maxplayers can be as high as 32 as long as your computer and connection to the Internet supports it. Also, +map can be followed by the name of any Lethal Stigma map as long as it is in the ~/srcds/orangebox/lethalstigma/maps directory, ls_ravine is just used as an example in this case.
If you would like to configure your server further, you can always do so by editing the server.cfg file located in your ~/srcds/orangebox/lethalstigma/cfg folder. In it you will find all applicable engine and mod-specific server configuration set to their default values. Change what you want, save, then restart your server to test your changes.
If you have any questions, please post them in the comments section of this tutorial and a member of the development team will get back to you as soon as possible. I hope this tutorial was helpful. Thanks for choosing Lethal Stigma!