left_4_dead_2_server_quick_start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| left_4_dead_2_server_quick_start [2012/07/15 18:43] – tkbletsc | left_4_dead_2_server_quick_start [2012/07/15 20:33] (current) – tkbletsc | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| //Note: if using modern Ubuntu or Debian 32-bit, first do: //'' | //Note: if using modern Ubuntu or Debian 32-bit, first do: //'' | ||
| + | |||
| + | ===== Auto-install script ===== | ||
| + | < | ||
| + | wget -c http:// | ||
| + | chmod +x hldsupdatetool.bin || exit | ||
| + | ./ | ||
| + | |||
| + | test -e go || cat <<EOL > go | ||
| + | export RDTSC_FREQUENCY=2500.000000 | ||
| + | cd left4dead2 | ||
| + | ./srcds_run l4d -autoupdate +hostport 27015 +ip 0.0.0.0 +exec server.cfg | ||
| + | EOL | ||
| + | chmod +x go | ||
| + | |||
| + | mkdir -p left4dead2/ | ||
| + | ln -s left4dead2/ | ||
| + | ln -s left4dead2/ | ||
| + | ln -s left4dead2/ | ||
| + | |||
| + | cat <<EOL > server.cfg | ||
| + | hostname " | ||
| + | rcon_password " | ||
| + | z_difficulty " | ||
| + | sv_region 0 | ||
| + | sv_gametypes "coop, versus, survival, scavenge" | ||
| + | sv_allow_lobby_connect_only 0 | ||
| + | EOL | ||
| + | |||
| + | echo ' | ||
| + | chmod +x update | ||
| + | |||
| + | ./update ; ./update | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | ===== Manual install and config ===== | ||
| Get steam: | Get steam: | ||
| Line 29: | Line 66: | ||
| sv_allow_lobby_connect_only 0 | sv_allow_lobby_connect_only 0 | ||
| - | ====== Private server | + | ===== Private server ===== |
| By default, the server will be open to all comers. | By default, the server will be open to all comers. | ||
| Line 39: | Line 76: | ||
| Then, in game, just hit F12 any time to make the game use your server. | Then, in game, just hit F12 any time to make the game use your server. | ||
| - | ====== Addons | + | ===== Addons ===== |
| Script to update the addons list when new addons are introduced (" | Script to update the addons list when new addons are introduced (" | ||
| Line 73: | Line 110: | ||
| print "Wrote $n addons.\n"; | print "Wrote $n addons.\n"; | ||
| </ | </ | ||
| - | |||
left_4_dead_2_server_quick_start.1342402991.txt.gz · Last modified: by tkbletsc
