Due to the difficulty in finding any reliable or detailed explanation on how to set up a steam server AND configure it / administer it. I've decided to start this thread (hopefully in the right place).
I share with you my meager learnings in hope that others will pick up where I left off and share their abundant knowledge.
I'm an utter noob so this is probably not best practice and I will update this accordingly as other users share their input. I have also tried to explain everything to the best of my knowledge so that other users can learn as I have.
LET'S START!!
-------------------------
download this utility from valve: http://storefront.steampowered.com/d...updatetool.bin
located under: http://store.steampowered.com/about/
Make sure you are already in your chosen directory before using this!
I created a new directory under my home directory and dropped the utility into it. It seems other sources online have ranged in their recommendations... anywhere from dropping it under /var/steam to creating user accounts for each server. For simplicity's sake, I'm just putting it under my home dir.
-
Open up a terminal window and navigate to whichever directory you dropped hldsupdatetool.bin
Allows you to execute hldsupdatetool.bin$chmod -x hldsupdatetool.bin
$./hldsupdatetool.bin
Runs hldsupdatetool.bin and installs steam
Runs and updates steam$./steam
Run steam and install Left 4 Dead 2
$./steam -command update -game left4dead2 -dir ./
Steam will update/install left4dead2 within your current directory.
(if you are trying to install a different game, just type './steam -command update' and it should give you a list of arguments and games)
This may take a while depending on your Internet connection...
To verify everything downloaded properly...
You can create a server cfg file by going under <steam_dir>/left4dead2/left4dead2/cfg/ and creating a server.cfg file. I don't believe the cfg/ dir is created by default so go ahead and$./steam -command update -game left4dead2 -verify_all
This is what my server.cfg looks like.mkdir <steam_dir>/left4dead2/left4dead2/cfg
NOTE: I don't have a rcon_password set because I wouldn't know what to do with it... Where do I even go to connect?
Okay, now that we have the server configured, let's go ahead and start it!
// Server Name
hostname "<hostname>"
// Lan
sv_lan 1
// Disable Autokick
mp_disable_autokick 1
// Disallow cheats
sv_cheats 0
// Server Hint History??
//sv_clearhinthistory 0
// Enforce File Consistency
sv_consistency 1
// Allow Pause
sv_pausable 0
// Allow Voice
sv_voiceenable 1
// All-talk
sv_alltalk 0
// Region (0- east 1- west) (i think 3 is europe and 4 is australia?)
sv_region 1
//Set Difficulty
z_difficulty normal
//I believe this sets it to 4 player coop mode...
sv_gametypes "coop"
Start the server using srcds_run
Sources:./srcds_run -port 27015 -game left4dead2 -maxplayers 4 -ip 129.210.131.56
If anyone knows how to actually administer the server while it's running PLEASE LET ME KNOW and I'll add the information!
-----------------
valve developer wiki (very useful)
http://www.arsgeek.com/2008/08/18/ho...estrike-style/
http://jamespo.org.uk/wp/archives/862
http://forums.steampowered.com/forum...d.php?t=292495




Adv Reply




Bookmarks