11-19-2008, 12:53 AM
Please and thank you!
Request for L4Dead Tutorial
|
11-19-2008, 12:53 AM
Please and thank you!
I could make one in end the of this week or next week!
11-19-2008, 09:37 PM
(This post was last modified: 11-19-2008, 09:53 PM by Firefox005.)
Barebones for setting up a L4D server, assumes you already have all the files, hldsupdatetool, etc installed might update later but there are already numerous guides for that.
Code: ./steam -command update -game left4dead -dir ./masters Here is a sample cfg file, name these server_01.cfg, server_cfg02.cfg, etc for as many server as you plan on running with –fork. Code: // server name Code: ./steam \ xxxx+## start incrementing from that number ie 27015+## starts at 27015, while 270## starts at 27001. You can leave off client, host, match, system, and steam ports if you wish the servers to auto find ports however there could potentially be conflicting ports and you cannot guarantee which server_cfg##.cfg is set to which server, ie 27015 could be server_cfg03.cfg. It has been hinted that the client, match and system ports will soon be deprecated as they are xbox specific and not needed on PC. Only enable netconport if you know what you are doing and have set a netconport password. With netconportpassword you must enter PASS xxxx before it will accept any commands. Here are the commands that you can run if you telnet into the parent process if using fork (in this case netconport will be 9000 for the parent). Code: Status see status of all children. Finally here is a useful init.d script for running this in a screen, and automatically starting on OS’s that support chkconfig. I got this for somewhere and modified it a bit, so kudos to whoever made it first. To enable chkconfig do: Code: chkconfig --add l4d Code: #!/bin/bash
Thank you for the replies both. That is a nice check config file fox. I'll play with that once I get the server running. I'm using a guardian script I've placed into the Startup folder I enjoy as well.
Here's where I'm starting from for the L4D Server and what I'm trying to achieve: I've got HLSupdatetool and am running a TF2 Server that I've installed and launch through CMD. What I'm not quite sure about is how to download the dedicated server files needed for L4D and how I can point them to install to the HLServer folder. I can't remember the command I used to do this for TF2 nor the phrase I need to do it for L4D. Then I'm looking for the command to launch the server. I'll keep looking around the forums, but I'm having a hard time (as a SRCDS newbie) locating just the code I need out of all the posts discussing various commands. Many thanks!
11-20-2008, 04:17 AM
(This post was last modified: 11-20-2008, 04:21 AM by Firefox005.)
Well you can run
Code: ./steam -command update -game left4dead -dir /path/to/dir To manually start it you can again cd to the directory where you downloaded the left4dead files and run: Code: ./srcds_run \ and that will start 4 left4dead servers. Make sure if you use fork + server_cfg##.cfg that you provide cfg for all your servers starting at 01. For a more basic setup just run this: Code: ./srcds_run \ There is a bug with fork right now where if you do not supply a map it will not start, however if you use only 1 server, or do not use the fork switch you do not need to supply a map. Also since no ports are specified this will start on a possibly random port. Do Code: netstat -an
11-20-2008, 04:28 AM
wow, holy crap i'm daft.
thank you fox! worked like a champ. I see now that you spelled that out for me in your first post XD. client is updating to the folder I want it to and I'll play with the cfg here in a bit.
11-20-2008, 05:26 AM
Also system link and matchmaking ports have been removed.
Quote:These ports are no longer opened on the PC. I have removed the convars from my configs without a problem.
11-21-2008, 03:23 AM
I've gots me another question.
When I run the "basic" server execution line listed above SRCDS actually opens up a GUI similar to what I'd see if I were launching the server through steam. It's a square green box complete with console tab. Is that normal?? With the TF2 server, it was ran entirely by the command prompt. I suppose they work the same way. I've just never used one of those before. Since it's a GUI, can I remote admin it? The dedicated server box is of course located on a different connection than where I'll be gaming. Thanks again!
To make it look like a prompt use -console in your startup line.
(Should work) - And yes it's normal, but it is not used much! You can also "Remote Admin" a non GUI server.
11-24-2008, 01:54 AM
Thanks for that Firefox005, great stuff!!
I want to do 2 servers, 1 Co-op & 1 Versus on my dedicated server, will I have to duplicate the game folder for each game type & work on the map cycle or is there a way to force a game type or map list? I'm sure there's something to do with cfgs, I'm a bit confused now...
11-24-2008, 05:10 AM
KrusT Wrote:Thanks for that Firefox005, great stuff!! All you need to do s create two mapcycle files, one called mapcycle_vs.txt and the other called mapcycle_coop.txt and in the server_##.cfg of whichever server you want to be versus you add the line: Code: mapcycle "mapcycle_vs.txt" Inside the mapcycle_vs.txt add these two lines: Code: l4d_vs_farm01_hilltop
11-24-2008, 11:04 AM
Firefox005 Wrote:All you need to do s create two mapcycle files, one called mapcycle_vs.txt and the other called mapcycle_coop.txt and in the server_##.cfg of whichever server you want to be versus you add the line: I did everything you said & I get this when server starts: Unknown command "mapcycle" This command should be in the server_***.cfg right?
11-25-2008, 04:42 AM
Hmmm try putting map l4d_vs_farm01_hilltop into your server.cfg file. I got that off the mailing list so wans't sure myself if it worked.
11-25-2008, 06:02 AM
It's mapcyclefile <mapcyclefilenamehere.txt> not mapcycle <namehere.txt>
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS) Free to join, Live support! (When available) http://forums.srcds.com/viewtopic/5114 |
« Next Oldest | Next Newest »
|