Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only V2 Mods (UGC) are getting downloaded #53

Open
Frapes opened this issue Jun 3, 2022 · 6 comments
Open

Only V2 Mods (UGC) are getting downloaded #53

Frapes opened this issue Jun 3, 2022 · 6 comments

Comments

@Frapes
Copy link

Frapes commented Jun 3, 2022

I tried to install some mods on my dedicated server and for some strange reason only 1 of them was downloaded.
I tryied to find out what was happening and i found out that there are 2 version of mods. The ones that are inside the mods folder (V1) and the others which are inside a ugc folder (V2). Even if you put v1 mods inside modoverrides.lua and in dedicated_server_mods_setup.lua they are never downloaded. A temporary solution i found is manually putting the v1 mod source files from my local machine inside the mods folder at my server, but this solution requires manuall update of the mods and its not optimal.

Some context to recreate this. Try installing this v1 mods:

Global Position (workshop-1623498822):
https://steamcommunity.com/sharedfiles/filedetails/?id=1623498822

Restart (workshop-462434129):
https://steamcommunity.com/sharedfiles/filedetails/?id=462434129

Their files will be located under: steamapps\common\Don't Starve Together\mods\workshop-XXXX
While V2 Mod files are located under: steamapps\common\workshop\content\322330

@domesticwarlord86
Copy link

This may explain why I've been unable to get mods to work after nearly 24 hours of struggling with it.

.A temporary solution i found is manually putting the v1 mod source files from my local machine inside the mods folder at my server, but this solution requires manuall update of the mods and its not optimal.

Would you be able to go into more detail about how you were able to manually get them uploaded? I manually copied the files into DoNotStarveTogether/DoNotStarveTogether/Cluster_1/mods/ so the workshop-XXXX folder is there for each of the mods, but they're still refusing to run. The server starts up just fine and I'm not showing any errors in the log but when connecting to it through the game it shows No-Mods. I can connect to and play on the server just fine, it just doesn't have mods.

This is my dedicated_server_mods_setup.lua https://pastebin.com/KSnybdCr
Here's my modoverrides.lua https://pastebin.com/wBm1vLG6
Here's the logs from startup of server https://pastebin.com/AJ88wV1L

@kirito41dd
Copy link

@Frapes @domesticwarlord86 I have a temporary method,copy mod to container:/data/ugc/content/322330/ use docker cp

@qinghuannn
Copy link

@domesticwarlord86 @kirito41dd Copy the mods ( in your local machine steamapps\common\Don't Starve Together\mods\workshop-XXXX) to DoNotStarveTogether/Cluster_1/mods/.

@Mega349
Copy link

Mega349 commented Mar 14, 2023

v1 mods still not downloadable.
v2 mods are working.

v1 mods timed out while "downloading".

If i try to download the not working v1 mod manually, using steamcmd ill got a timeout IF i logon as anonymous!
If i use another account (including account that NOT own the game), the download just works.

I tried with this: workshop_download_item 322330 466732225

Can i change the logon credentials to a dummy account, just to auto download/update the mods?

Any other updated here?

@chaoszh
Copy link

chaoszh commented Mar 22, 2023

Just as @Mega349 said, v1 mods are not downloaded since steamcmd is logged in as annoymous.

After I login steamcmd with my personal account, I can successfully downloaded missing v1 mods.
uTools_1679509067544

reference: https://forums.kleientertainment.com/forums/topic/128054-questions-regarding-mod-management-post-qol/page/2/

Unfortunately, I haven't figure out a quick way to download those mods properly since this dst-server image use dontstarve_dedicated_server_nullrenderer(provided by klei) to install mods, and it implicily includes an annoymous login of steamcmd.

image

@interlock
Copy link

I hacked my way around this, here is my docker-compose.yml

version: '3.5'
services:
  dst-server:
     image: jamesits/dst-server:latest
     restart: "on-failure:5"
     ports:
        - "10999-11000:10999-11000/udp"
        - "12346-12347:12346-12347/udp"
     volumes:
        - data:/data
        - /home/.../dockers/dont_starve_together/install_dst_server:/opt/steamcmd_scripts/install_dst_server
        - steam_config:/root/Steam
     stop_grace_period: 6m

volumes:
  steam_config:

Steps

  1. add the steam_config volume mount (skip the replacement install_dst_server to start)
  2. restart the server
  3. exec in and run steamcmd and login <steamuser>
  4. update your docker_compose to have the bind mount for install_dst_server and updated that file to login <steamuser> instead of anonymous
  5. restart one more time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants