Hackebein / docker-garrysmod

Dockerfiles for Garry's Mod
https://hub.docker.com/r/hackebein/garrysmod/
28 stars 2 forks source link

Can't download workshop collection #11

Closed vinnpinn closed 4 years ago

vinnpinn commented 4 years ago

Hey, so I used the docker container back in march quite a lot with some friends and it worked pretty well. We then stopped playing and now wanted to play again, but for some reason the server doesn't gave any maps or addons downloaded. It also doesn't download them at all. I haven't changed anything at all, still something seems to be off.

Here's my console log: `** WARNING *** Running the dedicated server as root is highly discouraged. It is generally unnecessary to use root privileges to execute the dedicated server.


Auto detecting CPUntinue to launch in 1 secondss Using default binary: ./srcds_linux Server will auto-restart if there is a crash. mount.cfg adding path: '/opt/steam/Steam' mount.cfg adding path: '/opt/steam/cstrike' mount.cfg adding path: '/opt/steam/hl2' Couldn't load shader dll: game_shader_generic_garrysmod_srv.soConVarRef mat_dxlevel doesn't point to an existing ConVar Game_srv.so loaded for "Garry's Mod" Setting breakpad minidump AppID = 4000 Initializing Steam libraries for Workshop.. [S_API] SteamAPI_Init(): Loaded 'steamclient.so' OK. CAppInfoCacheReadFromDiskThread took 55 milliseconds to initialize CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread) [S_API FAIL] Tried to access Steam interface SteamUser020 before SteamAPI_Init succeeded. WS: Waiting for Steam to log us in...... WS: Fetching collection info... Processing collection 0... Failed to get collection info! File not found! Collection '' Reported 0 items, skipping WS: Finished!

WS: Processing 0 addons... WS: Finished! Could not find steamerrorreporter binary. Any minidumps will be uploaded in-processCWorkThreadPool::~CWorkThreadPool: work complete queue not empty, 2 items discarded. Unknown command "cl_cmdrate" Unknown command "cl_updaterate" Unknown command "rate" Changing gamemode to Trouble in Terrorist Town (terrortown) CModelLoader::Map_IsValid: No such map 'maps/ttt_minecraft_b5.bsp' map load failed: ttt_minecraft_b5 not found or invalid Network: IP 10.0.3.8, mode MP, dedicated Yes, ports 27015 SV / 27005 C`

Here's my docker config, I just replaced the auth key:

docker run -it \ --name GMod_Server \ -p 27015:27015/tcp \ -p 27015:27015/udp \ -e "AUTHKEY=XXXXXXX" \ -e "GAMEMODE=terrortown" \ -e "MAP=ttt_minecraft_b5" \ -e "WORKSHOPCOLLECTIONID=2041111932" \ -v /share/Media/ContainerData/GMod:/opt/steam/ \ hackebein/garrysmod

vinnpinn commented 4 years ago

Looks like the collection ID doesn't get passed to the right spot and just errors out to 0

vinnpinn commented 4 years ago

Just saw that WORKSHOPCOLLECTIONID was changed to just WORKSHOP. It seems to download addons now.