Archive

Archive for the ‘SRCDS’ Category

SRCDS Linux auto-update fix

February 2nd, 2009 Dominic Baranski View Comments

The Problem

For some reason the Linux version of the dedicated server does not auto-update properly. It will simply fail to find the srcds bin file and have you do it manually for every update which gets very frustrating.

The problem originates from the introduction of a new subdirectory for all “new” source engine games. Luckily, this can be fixed with just two new “cd” lines in the script file!

The Fix

  1. Find and open the file srcds_run for editing (It will be a script file). It can be found in the game directory like /orangebox or /l4d
  2. search for the line update(). It can be found around line number 295.
  3. Make it look like this:
    update() {
        PWD=pwd
        cd ..
        updatesingle
        cd $PWD
    }

This should update any “new” srcds server by going back one directory, running srcds, and returning to the previous directory.

Notes
I suggest saving this new copy of srcds_run as something else like “srcds_run_tf2″. This will prevent the file from ever being overwritten by an update and will keep the original file if ever needed again.

Updated: Nov 26th
- Made this how-to more generic for any game like l4d

Categories: SRCDS Tags: ,

New SRCDS RCon tool in the works

January 30th, 2009 Dominic Baranski View Comments

I’m working on a web based administration tool for srcds based servers. It’s in the works but you should be able to administer any server that runs srcds with it with zero setup. All you require is the address and rcon password.

If you’re interested in trying it out you can find it at http://rcon.dbaranski.net/

Please report any bugs / feature requests to me via email or the proper forum on my site.

Enjoy :)

Categories: SRCDS Tags: , ,