[GH-ISSUE #108] Left 4 Dead 1 script #86

Closed
opened 2026-02-27 01:59:25 +03:00 by kerem · 14 comments
Owner

Originally created by @lblanchardiii on GitHub (Jul 4, 2014).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/108

Originally assigned to: @dgibbs64 on GitHub.

After many, many months it seems Valve has finally fixed and/or added the dedicated Left 4 Dead server package to SteamCMD. I modified your L4D2 script slightly earlier today to test if it would work with L4D since I prefer to play that over L4D2 and so far, it seems to be working.

There are a few minor things that don't seem to work. Such as it's not accepting the custom named cfg file for some reason. I can continue to work on it to get it right, but I figured I would mention it to you to see if you'd rather do it since it's your script.

Basically the only thing I changed was the a directory from left4dead2 to left4dead, the name of the cfg file to drop the "2" as well as dropping the "2" from all other parts of the script. I also changed the app ID to 222840 since that's the L4D ID.

Waiting on it to finish installing on my laptop so I can test it out.

Originally created by @lblanchardiii on GitHub (Jul 4, 2014). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/108 Originally assigned to: @dgibbs64 on GitHub. After many, many months it seems Valve has finally fixed and/or added the dedicated Left 4 Dead server package to SteamCMD. I modified your L4D2 script slightly earlier today to test if it would work with L4D since I prefer to play that over L4D2 and so far, it seems to be working. There are a few minor things that don't seem to work. Such as it's not accepting the custom named cfg file for some reason. I can continue to work on it to get it right, but I figured I would mention it to you to see if you'd rather do it since it's your script. Basically the only thing I changed was the a directory from left4dead2 to left4dead, the name of the cfg file to drop the "2" as well as dropping the "2" from all other parts of the script. I also changed the app ID to 222840 since that's the L4D ID. Waiting on it to finish installing on my laptop so I can test it out.
kerem 2026-02-27 01:59:25 +03:00
Author
Owner

@lblanchardiii commented on GitHub (Jul 4, 2014):

Just an update to this. Seems I was able to get it working some what. Using APP ID 222840 allows you to install the dedicated server files, but once you get the server started it wont allow anyone to connect. The console says it's in LAN Mode only and fails to load the Steam Support files. I haven't tested to see if I could actually connect to the server if it was hosted on my LAN, since I was using my dedicated box on another network to install it.

With that being said, maybe you might have better luck and/or know something I do not. Do note that I did use sv_lan 0 in both the cfg file as well as part of that start command. Neither seemed to do anything.

I am just amazed that Valve has it this far on SteamCMD. Last time I tried it I got absolutely no where with it.

Wishful thinking I suppose.

<!-- gh-comment-id:48069711 --> @lblanchardiii commented on GitHub (Jul 4, 2014): Just an update to this. Seems I was able to get it working some what. Using APP ID 222840 allows you to install the dedicated server files, but once you get the server started it wont allow anyone to connect. The console says it's in LAN Mode only and fails to load the Steam Support files. I haven't tested to see if I could actually connect to the server if it was hosted on my LAN, since I was using my dedicated box on another network to install it. With that being said, maybe you might have better luck and/or know something I do not. Do note that I did use sv_lan 0 in both the cfg file as well as part of that start command. Neither seemed to do anything. I am just amazed that Valve has it this far on SteamCMD. Last time I tried it I got absolutely no where with it. Wishful thinking I suppose.
Author
Owner

@dgibbs64 commented on GitHub (Jul 4, 2014):

Thanks for this. I definitely will try and get a L4D script up and running. However I have a few others to work on first. If you can continue to work on this and then request a merge I will be happy to merge this in to the project. You may be able to complete this before I get a chance to work on it. So if you haven't already fork this project and have a go :). Failing this I will work on this as soon as I get the time.

<!-- gh-comment-id:48071505 --> @dgibbs64 commented on GitHub (Jul 4, 2014): Thanks for this. I definitely will try and get a L4D script up and running. However I have a few others to work on first. If you can continue to work on this and then request a merge I will be happy to merge this in to the project. You may be able to complete this before I get a chance to work on it. So if you haven't already fork this project and have a go :). Failing this I will work on this as soon as I get the time.
Author
Owner

@lblanchardiii commented on GitHub (Jul 4, 2014):

I haven't given up completely yet. Been trying to get the server to not run in LAN mode is my only issue. Surely there has to be a way.

<!-- gh-comment-id:48071704 --> @lblanchardiii commented on GitHub (Jul 4, 2014): I haven't given up completely yet. Been trying to get the server to not run in LAN mode is my only issue. Surely there has to be a way.
Author
Owner

@dgibbs64 commented on GitHub (Jul 4, 2014):

Excellent keep at it. I would of thought there would be a way. Might be worth trying a forum like allied modders. They may have an answer :)

<!-- gh-comment-id:48071808 --> @dgibbs64 commented on GitHub (Jul 4, 2014): Excellent keep at it. I would of thought there would be a way. Might be worth trying a forum like allied modders. They may have an answer :)
Author
Owner

@summitsingh commented on GitHub (Aug 5, 2014):

I have made a working script for l4dserver, tested with gametracker.
http://www.summit.im/l4dserver-left-4-dead-linux-server-manager/

<!-- gh-comment-id:51195511 --> @summitsingh commented on GitHub (Aug 5, 2014): I have made a working script for l4dserver, tested with gametracker. http://www.summit.im/l4dserver-left-4-dead-linux-server-manager/
Author
Owner

@lblanchardiii commented on GitHub (Aug 5, 2014):

Oh wow you are awesome. Gonna have to look at the script later today to see how. I couldn't get it to work when I tried a month ago.

<!-- gh-comment-id:51252464 --> @lblanchardiii commented on GitHub (Aug 5, 2014): Oh wow you are awesome. Gonna have to look at the script later today to see how. I couldn't get it to work when I tried a month ago.
Author
Owner

@lblanchardiii commented on GitHub (Aug 6, 2014):

Had some time to play around with this and although it does display on Gametracker, clients are NOT able to connect to the server. I did some digging and found this error when running the server in debug mode.:

[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.


  • Unable to load Steam support library. *
  • This server will operate in LAN mode only. *

Little bit of digging later and I discovered I needed to setup a symlink (or copy the file) to a location.
ln -ls steamcmd/linux32/libstdc++.so.6 serverfiles/bin/

Restarted the server and I was able to join it.

<!-- gh-comment-id:51279676 --> @lblanchardiii commented on GitHub (Aug 6, 2014): Had some time to play around with this and although it does display on Gametracker, clients are NOT able to connect to the server. I did some digging and found this error when running the server in debug mode.: [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll. --- - Unable to load Steam support library. * - This server will operate in LAN mode only. * ************************************************ Little bit of digging later and I discovered I needed to setup a symlink (or copy the file) to a location. ln -ls steamcmd/linux32/libstdc++.so.6 serverfiles/bin/ Restarted the server and I was able to join it.
Author
Owner

@lblanchardiii commented on GitHub (Aug 6, 2014):

Well crap. I got to the loading screen and thought I was good to go. So I minimized it to write that post before I lost/forgot the information. Opened the game back up to try to play a game or two and it seems to get stuck on the connecting screen. Eventually I get a message stating that connection failed after 10 tries (or something to that effect) and I can't join. Still looking into the reason. Waiting on a friend to try to connect to the server to rule out my client as that seems to be the general consensus whilst searching the error on Google. Will keep ya posted.

<!-- gh-comment-id:51280391 --> @lblanchardiii commented on GitHub (Aug 6, 2014): Well crap. I got to the loading screen and thought I was good to go. So I minimized it to write that post before I lost/forgot the information. Opened the game back up to try to play a game or two and it seems to get stuck on the connecting screen. Eventually I get a message stating that connection failed after 10 tries (or something to that effect) and I can't join. Still looking into the reason. Waiting on a friend to try to connect to the server to rule out my client as that seems to be the general consensus whilst searching the error on Google. Will keep ya posted.
Author
Owner

@lblanchardiii commented on GitHub (Aug 6, 2014):

Some further information.

I have figured out that I can not get the server to allow me to connect via the server browser. Opening the server browser via typing openserverbrowser in the console, then adding the server to the favorites tab and clicking join will hang up. Eventually you will get a message stating connection failed after 10 retries.

I can join the server by typing connect [ip:port] in the console. Seems to work just fine this way.

I even set sv_allow_lobby_connect_only in the server config and it doesn't appear to have any effect.

<!-- gh-comment-id:51283094 --> @lblanchardiii commented on GitHub (Aug 6, 2014): Some further information. I have figured out that I can not get the server to allow me to connect via the server browser. Opening the server browser via typing openserverbrowser in the console, then adding the server to the favorites tab and clicking join will hang up. Eventually you will get a message stating connection failed after 10 retries. I can join the server by typing connect [ip:port] in the console. Seems to work just fine this way. I even set sv_allow_lobby_connect_only in the server config and it doesn't appear to have any effect.
Author
Owner

@dgibbs64 commented on GitHub (Aug 6, 2014):

Thanks for the infomation. This will need to be investigated.

<!-- gh-comment-id:51302085 --> @dgibbs64 commented on GitHub (Aug 6, 2014): Thanks for the infomation. This will need to be investigated.
Author
Owner

@dgibbs64 commented on GitHub (Aug 26, 2014):

#Console initialized.
Unable to remove /home/l4dserver/serverfiles/left4dead/addonlist.txt!
#Unable to remove /home/l4dserver/serverfiles/left4dead/addonlist.txt!
#Game.dll loaded for "L4D - Co-op - Normal"
#ConVarRef cl_language doesn't point to an existing ConVar
Server is hibernating
Queuing heartbeat send to legacy master server.
Game supporting (2) split screen players
maxplayers set to 18
Unable to remove /home/l4dserver/serverfiles/left4dead/addonlist.txt!
Unable to remove /home/l4dserver/serverfiles/left4dead/addonlist.txt!
Unknown command "servercfgfile"
Network: IP 37.59.99.175, mode MP, dedicated Yes, ports 27016 SV / 0 CL
---- Host_NewGame ----
Host_NewGame on map l4d_hospital01_apartment
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
Commentary: Loading commentary data from maps/l4d_hospital01_apartment_commentary.txt.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.


  • Unable to load Steam support library. *
  • This server will operate in LAN mode only. *

Queuing heartbeat send to legacy master server.
Server logging enabled.
Server logging data to file logs/L037_059_099_175_27016_201408262219_000.log
L 08/26/2014 - 22:19:32: Log file started (file "logs/L037_059_099_175_27016_201408262219_000.log") (game "/home/l4dserver/serverfiles/left4dead") (version "5672")
Queuing heartbeat send to legacy master server.
Unable to load Steam library.

This is the issue. @summitsingh could you please have a look in to this and try and find a working solution

<!-- gh-comment-id:53484190 --> @dgibbs64 commented on GitHub (Aug 26, 2014): #Console initialized. Unable to remove /home/l4dserver/serverfiles/left4dead/addonlist.txt! #Unable to remove /home/l4dserver/serverfiles/left4dead/addonlist.txt! #Game.dll loaded for "L4D - Co-op - Normal" #ConVarRef cl_language doesn't point to an existing ConVar Server is hibernating Queuing heartbeat send to legacy master server. Game supporting (2) split screen players maxplayers set to 18 Unable to remove /home/l4dserver/serverfiles/left4dead/addonlist.txt! Unable to remove /home/l4dserver/serverfiles/left4dead/addonlist.txt! Unknown command "servercfgfile" Network: IP 37.59.99.175, mode MP, dedicated Yes, ports 27016 SV / 0 CL ---- Host_NewGame ---- Host_NewGame on map l4d_hospital01_apartment ConVarRef room_type doesn't point to an existing ConVar Executing dedicated server config file Commentary: Loading commentary data from maps/l4d_hospital01_apartment_commentary.txt. [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll. --- - Unable to load Steam support library. * - This server will operate in LAN mode only. * ************************************************ Queuing heartbeat send to legacy master server. Server logging enabled. Server logging data to file logs/L037_059_099_175_27016_201408262219_000.log L 08/26/2014 - 22:19:32: Log file started (file "logs/L037_059_099_175_27016_201408262219_000.log") (game "/home/l4dserver/serverfiles/left4dead") (version "5672") Queuing heartbeat send to legacy master server. Unable to load Steam library. This is the issue. @summitsingh could you please have a look in to this and try and find a working solution
Author
Owner

@lblanchardiii commented on GitHub (Aug 26, 2014):

ln -ls steamcmd/linux32/libstdc++.so.6 serverfiles/bin/

<!-- gh-comment-id:53485640 --> @lblanchardiii commented on GitHub (Aug 26, 2014): ln -ls steamcmd/linux32/libstdc++.so.6 serverfiles/bin/
Author
Owner

@dgibbs64 commented on GitHub (Aug 30, 2014):

I have now resolved this issue. l4dserver now working correctly

<!-- gh-comment-id:53952749 --> @dgibbs64 commented on GitHub (Aug 30, 2014): I have now resolved this issue. l4dserver now working correctly
Author
Owner

@lock[bot] commented on GitHub (Jul 20, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:406471837 --> @lock[bot] commented on GitHub (Jul 20, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#86
No description provided.