SRCDS Steam group


Linux Startup
#1
How do you start up srcds on linux? im newbie on this my first time on linux pm me fast!

On counter strike source
Reply
#2
use google and find the answer yourself. thanks.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#3
Oh BehaartesEtwas why so mean? Toungue
We must nurture the seedlings to see if they blossom but if they don't, then you may pull them out of the ground.

@mustang94 Check out the tutorial HERE
~ trewq
Reply
#4
(11-12-2010, 07:08 PM)mustang94 Wrote:  How do you start up srcds on linux? im newbie on this my first time on linux pm me fast!

On counter strike source

With bash command :

Go into the folder where srcds is located and use this command (adapted with your desired settings) :

Code:
./srcds -game cstrike -console -maxplayers 12 +map de_dust2 -ip YOURIP +servercfgfile server.cfg

That exemple launch a Counter Strike Source Server, with console ON, max players 12, starting map de_dust2 and starting configuration server.cfg file.

You can add any launch options after the last I used

But that's better to search and find yourself ...
Reply
#5
(11-12-2010, 08:45 PM)Goilio Wrote:  Oh BehaartesEtwas why so mean? Toungue

yeah sorry, bad day :-D
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#6
Hi other thread. Same situation; http://forums.srcds.com/viewtopic/15655
That time he already got the answer to his request by the program itself...
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#7
Quote:Welcome at the Linux srcds installation tutorial. Here we will explain how to get a Source Dedicated Server running on linux. We assume you have enough Linux knowledge to download, run files etc.

Attention:
After running ./hldsupdatetool.bin it will ask if you agree with the terms of conditions, a simple yes will extract the steam update file!

1) Getting started with HLDSUpdatetool

First of all download hldsupdatetool from the VALVe webserver. Make a dir called srcds_l, and save hldsupdatetool in that dir and run it. (Check this out when you have an uncompress error.)

Command(s):
mkdir srcds_l
cd srcds_l
wget http://www.steampowered.com/download/hldsupdatetool.bin
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin
./steam

The new version of HLDSUpdateTool will be downloaded now. You will be returned to the console after its done.

2) Downloading the files

We can start downloading the files. This can take a few hours depending on the connection the server uses.
Command(s):
./steam -command update -game "Counter-Strike Source" -dir .
If you want to install a Half-Life 2 Deathmatch server, use "hl2mp" for the game switch.
Go get yourself a cup of coffee.

3) Starting srcds

First edit (or create) srcds_l/cstrike/cfg/server.cfg like you want it to be. Now we are ready to run the srcds.
./srcds_run -console -game cstrike +map de_dust -maxplayers 16 -autoupdate
and press enter. (-game hl2mp if it's a HL2DM server ofcourse)
Your srcds is now up and running.

Extra) Running srcds in background (re-attachable)

We will make a script that will run the srcds in the background in a "screen"
you will need to have screen installed for this. make a file called server.sh and put this in:
Command(s):

#!/bin/sh
echo "Starting Cs:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate

Save the file, and chmod it to run
Command(s):
chmod +x server.sh

If you want to start your server, simply run server.sh . It will start your srcd server in the background, to open it type:
Command(s):
screen -x css-server

If you want to close it again press ctrl+a+d, and it will detach the screen and keep it running in the background.

Revision 2: No Login information required anymore.
24 Oct 2004 by Japje
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#8
Maybe a apt-get install screen ...
Warning Level: 0%
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)