Jóhannes H. Laxdal is a specialized humanoid carbon unit whose field is computers and telling lousy jokes, it has a tendency to put "well" before every sentence it utters. In here you will find its ramblings about computer-related stuff.
So there I was, installing Windows on my nephews computer for the umpteenth time and I thought to myself : what if I do it correctly this time and see how long it will last. Usually I had just thrown windows on it, updated it, installed the bare essentials and thrown it back to the wolves.
2 months ago I decided to act on an idea that had been floating around in my cranium for a long time. It sounded simple enough, gather all the data pertaining to the price of oil in Iceland in one location and present it on a simple front end. However once I started working on it and the ball was rolling I learned it wasn't as simple as I thought it would be. So during these past weeks I have learned a lo
Part 4 : Extras. Host and MOTD banners, Exclusive servers and lobby.
How do you change the banners on your server?.. How do you connect to your server if you create a new lobby ?.. Yes, I had those same questions when my server was up and running, the first one about the banners was an easy one.. the one about creating a new lobby and connecting to your server.. that one required some Console magic. was no problem after Valve fixed the Steamgroup servers.
Since the game is not run as a service or as a daemon but as a program you have to stay logged on to the server as the user while the server is running, depending on your situation this might be bothersome. Optimally a dedicated server should be run as a service, you start it and can go do something else on the computer, even log outof your user. This is what I wanted to achieve from the get go, but I ran into some problems that I solved in the end.
Part 1 : Setting up the environment and installing the server
Nothing is worse than high latency (lag) in online games, especially in Left 4 Dead 2 when you're trying to have a relaxing zombie shooting session with couple of friends. The best way to combat this is playing on a Dedicated server. Which is exactly what I set out to do, getting L4D2 dedicated server to run on my linux box.
I didn't find any good comprehensive guide on how to do this for linux that tackled this adequately so after lots and lots of googling and running into weird problems (mainly concerning running srcds_run using nohup) I finally have a running dedicated Left 4 Dead 2 server with easy way to run it in the background. So let's get started shall we.