Posts Tagged ‘ L4D2

L4D2 Windows Server Guide

  1. Download HLDSUpdateTool to your desktop or where ever you want.
  2. Install it with the defaults. This should create a folder named “Valve\HLServer” under “C:\Program Files”
  3. With notepad create a new document and copy and paste the following 2 lines into it.
  4. hldsupdatetool
    hldsupdatetool -command update -game left4dead2 -dir .

  5. Save the file as “Update_L4D2.bat” under the “C:\Program Files\Valve\HLServer\”
  6. If you want create a shortcut to this batch file on your desktop.  You can use it to update the L4D2 install as it needs updating.
  7. Run the batch file.  This will take some time because it will start downloading the L4D2 server files from steam.
  8. With Notepad again create a new document and copy and paste the following into it. Make sure it’s all on one line.
  9. start /High srcds.exe -console -game left4dead2 +map c1m1_hotel +maxplayers 16 -tickrate 33

  10. Save the file as “StartL4D2Server.bat” under “C:\Program Files\Valve\HLServer\left4dead2″
  11. Launch this batch file and the server will be up and running.
  12. If you are on the same network as the server you can connect to it by using your server’s local IP address.  Open your console and enter the command “mm_dedicated_force_servers x.x.x.x” where x.x.x.x is your servers IP address.
  13. Setup a lobby and launch.

Note: Since this is a local server, only you will be able to connect to it, or other friends on your local network. To allow external users the ability to connect you will need to setup port forwarding on your router.
Later I’ll add some more information about router port forwarding, srcfpsboost and setting your l4d2 server up as a windows service.