docker-dst-server icon indicating copy to clipboard operation
docker-dst-server copied to clipboard

Mod issue

Open Victor2333 opened this issue 2 years ago • 4 comments

从日志可以看到mod被下载了,但是只有ugc v2版本的mod,老的v1版本的mod没有被自动安装。 start up log:

[00:00:01]: loaded modindex [00:00:01]: ModIndex: Beginning normal load sequence for dedicated server. [00:00:05]: DownloadPublishedFile [10] 378160973 [00:00:05]: DownloadPublishedFile [10] 458587300 [00:00:05]: DownloadPublishedFile [10] 462372013 [00:00:05]: DownloadPublishedFile [10] 462434129 [00:00:05]: DownloadPublishedFile [10] 661253977 [00:00:05]: DownloadPublishedFile [10] 676297854 [00:00:05]: DownloadPublishedFile [10] 829829879 [00:00:09]: OnDownloadPublishedFile [37] 378160973 [00:00:10]: OnDownloadPublishedFile [37] 458587300 [00:00:11]: OnDownloadPublishedFile [37] 462372013 [00:00:12]: OnDownloadPublishedFile [37] 462434129 [00:00:13]: OnDownloadPublishedFile [37] 661253977 [00:00:15]: OnDownloadPublishedFile [37] 676297854 [00:00:16]: OnDownloadPublishedFile [37] 829829879 [00:00:36]: FinishDownloadingServerMods Complete!

image image

dedicated_server_mods_setup.lua:

--There are two functions that will install mods, ServerModSetup and ServerModCollectionSetup. Put the calls to the functions in this file and they will be executed on boot.

--ServerModSetup takes a string of a specific mod's Workshop id. It will download and install the mod to your mod directory on boot.
	--The Workshop id can be found at the end of the url to the mod's Workshop page.
	--Example: http://steamcommunity.com/sharedfiles/filedetails/?id=350811795
	--ServerModSetup("350811795")

--ServerModCollectionSetup takes a string of a specific mod's Workshop id. It will download all the mods in the collection and install them to the mod directory on boot.
	--The Workshop id can be found at the end of the url to the collection's Workshop page.
	--Example: http://steamcommunity.com/sharedfiles/filedetails/?id=379114180
	--ServerModCollectionSetup("379114180")
ServerModSetup("378160973")
ServerModSetup("458587300")
ServerModSetup("462372013")
ServerModSetup("462434129")
ServerModSetup("661253977")
ServerModSetup("666155465")
ServerModSetup("676297854")
ServerModSetup("829829879")

Victor2333 avatar May 18 '22 12:05 Victor2333

And I can't find the downloaded V1 mod in the docker container.

Victor2333 avatar May 18 '22 12:05 Victor2333

And in windows local, after steam download. There will be a folder that contains the legacy.bin file. image

Victor2333 avatar May 18 '22 14:05 Victor2333