AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HL1 Servers (HLDS) (https://forums.alliedmods.net/forumdisplay.php?f=131)
-   -   Half-Life Docker - Launch a HLDM server in seconds. (https://forums.alliedmods.net/showthread.php?t=312177)

speziFanta 11-19-2018 11:53

Half-Life Docker - Launch a HLDM server in seconds.
 
Today is the 20th anniversary of Half-Life and that's why I wanted to reboot a Half-Life Deathmatch server.

Unfortunately, this is a bit tedious because downloading HLDS needs a workaround and a couple of retries. Long story short: I made a Docker image which launches a HLDM server in seconds.

Code:

docker run -it --rm -p27015:27015 -p27015:27015/udp spezifanta/hldm
If you are familiar with Docker, please have a try and post some feedback or file an issue on GitHub.

The project can be found on GitHub.

https://raw.githubusercontent.com/sp...ter/banner.jpg

haZh 11-19-2018 21:59

Re: Half-Life Docker
 
Damn, quality stuff. Thanks for sharing.

hleV 11-20-2018 12:38

Re: Half-Life Docker
 
It's been maybe a month or so since my last attempt, but for me it'd fail to download all the required files unless I logged in to SteamCMD with an actual Steam account rather than as anonymous.

Chlorus 05-14-2019 03:08

Re: Half-Life Docker - Launch a HLDM server in seconds.
 
Thanks so much for this - works great for spooling up HLDM.

I'm taking a crack at parameterizing the image build so we can specify the game ID / mod name we want to pull down as ENVs; I'd like to be able to run DoD & TFC servers just as easily. Unfortunately, I can't seem to reproduce the image built from the provided Dockerfile - I keep getting a 'Error! App '90' state is 0x1 after update job.' error from the steamcmd instance. I've tried spamming the validate command in a RUN statement but that doesn't seem to help, at least for HLDM. When I specify DoD, it works fine.

I'll keep poking at it, but I wonder if anyone else has a workaround.
If I can get it working, I'll create a PR for my new Dockerfile.

DJEarthQuake 05-14-2019 10:54

Re: Half-Life Docker - Launch a HLDM server in seconds.
 
Quote:

Originally Posted by Chlorus (Post 2651566)
Thanks so much for this - works great for spooling up HLDM.

'Error! App '90' state is 0x1 after update job.'

Have you tried deleting the manifest file? I recently had this issue with one of the App 90 mods.

Others are experiencing this.
For me once I touched gearbox it hosed the entire App 90 manifest file for all the other mods. Either deleting the manifest file or using one of the other mods to validate repaired my case.

When TFC won't work for one guy, HLDM for you, and Gearbox for me leaves me with the impression the steamcmd replication servers are out of sync.

Chlorus 05-14-2019 12:52

Re: Half-Life Docker - Launch a HLDM server in seconds.
 
Thanks DJ! There's some great stuff in that GitHub issue I'll have to try as soon as I get home.


All times are GMT -4. The time now is 01:11.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.