• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Code Mut: workshop downloader for dedicated servers

King Sumo

Grizzled Veteran
Jan 8, 2011
503
15
Brazil
www.youtube.com
The mutator will download the subscribed Workshop items of the dedicated server administrator steam account.
To start the download first Login as administrator then enter in console:
Code:
adminlogin youradminpasswordhere
mutate update
(the download process is shown in the dedicated server log/console)

If bShowProgress is enabled (see .ini file) then the progress is shown also at the player console. Notice to make this I'm using a custom PlayerController so this option is not compatible with Marco's ServerPerks and other mutators. Better disable ALL mutators.

To test this mutator better start using a fresh dedicated server, then add only the Mutator KFWorkshopDownloader.KFWorkshopDownloader. Leave the killingfloor.ini as is (setup only the administrator password).

Dedicated server log example:
Code:
Log: STEAMAUTH : VAC Security Enabled
Log: STEAMSTATS: SECURITY CHECK FAILED - ../System/KFWorkshopDownloader.u
Log: STEAMSTATS: Stats Are Now Enabled
Log: STEAMAUTH : Sending updated server details - Killing Floor Server 0 | 6
Log: STEAMAUTH : Sending updated server details - Killing Floor Server 0 | 6
Log: STEAMAUTH : Sending updated server details - Killing Floor Server 0 | 6
Log: STEAMAUTH : Sending updated server details - Killing Floor Server 0 | 6
NetComeGo: Open myLevel 11/14/12 02:54:46 127.0.0.1:3979
Log: STEAMAUTH : Accepted Client : SteamID [1:16990111] (76561197977255839)
Log: STEAMAUTH : Sending updated server details - Killing Floor Server 0 | 6
Log: STEAMSTATS: SECURITY CHECK FAILED - ../System/KFWorkshopDownloader.u
ScriptLog: New Player Sumo 
ScriptLog: Sumo logged in as Administrator.
Workshop_Debug: KFPlayerController.OnSubscribedFilesEnumerated 50
Workshop_Debug: KFPlayerController.OnGetSubscribedFileDetailsCompleted 0 Door Messages True
Workshop_Debug: KFPlayerController.OnGetSubscribedFileDetailsCompleted 1 Doom 3 monsters pack True
Workshop_Debug: KFPlayerController.OnGetSubscribedFileDetailsCompleted 2 Doom 3 monsters pack textures True
Workshop_Debug: KFPlayerController.OnGetSubscribedFileDetailsCompleted 3 Jason Voorhees True
Workshop_Debug: KFPlayerController.OnGetSubscribedFileDetailsCompleted 4 Colt Python True
Workshop_Debug: KFPlayerController.OnGetSubscribedFileDetailsCompleted 5 MP5 Pack True
Workshop_Debug: KFPlayerController.OnGetSubscribedFileDetailsCompleted 6 The Brute True
Workshop_Debug: KFPlayerController.OnGetSubscribedFileDetailsCompleted 7 The Shiver True
Workshop_Debug: KFPlayerController.OnGetSubscribedFileDetailsCompleted 8 Sledge Hammer True
Workshop_Debug: KFPlayerController.OnGetSubscribedFileDetailsCompleted 9 HUD Slot Machines True
....
 

Attachments

  • KFWorkshopDownloader.zip
    2.4 KB · Views: 1
Yes, it works but both KillingFloor admin and the Dedicated Server must be on the same host.

Notice TWI have removed the download logs. The download progress is not shown in the dedicated server console anymore!
If you want to see the download progress then set bShowProgress=true. BUT this option is using a custom PlayerController and this is not compatible with mutators such MutServerPerks/ScrnBalanceSrv...

But even enabling bShowProgress some logs are missing and is not possible to see if the download progress is complete.

PS. This mutator just triggers the workshop download at server's side (no magic here, this is a single line sourcecode). The download is done by KF/Steam - sometimes the download suddenly stops, in this case run "mutate update" again (and again...).
 
Upvote 0