Don't Starve Together

Don't Starve Together

Epic Healthbar
Chủ đề này đã bị khoá
Mod won't work on a dedicated server
Thank you for creating such a great mod! Unfortunately, ever since my friends and I moved our local server over to a dedicated docker container, we've had nothing but issues with this mod. Everything in our workshop collection works, except for this mod in specific.

As I've said in previous comments on this mod, I've made sure to add the collection to my dedicated_server_mods_setup.lua, as well as adding the mod individually, but to no avail. I've tried manually moving the mod from the workshop folder into the mods folder itself, which didn't work either.

My last ditch effort today was to add it into modsettings.lua with the ForceEnableMod function, and it produced this whole bit in my logs: https://rentry.co/w4bye. I'll do as much as I can to assist any troubleshooting or solving of this problem.
Lần sửa cuối bởi tortapounder854; 13 Thg11, 2023 @ 1:41pm
< >
Đang hiển thị 1-12 trong 12 bình luận
Tykvesh  [nhà phát triển] 13 Thg11, 2023 @ 1:42pm 
Could you link the mod collection?
tortapounder854 13 Thg11, 2023 @ 1:44pm 
I should also mention I've tried disabling every single mod with the exception of Epic Healthbar, and still nothing popped up in logs.
Tykvesh  [nhà phát triển] 13 Thg11, 2023 @ 1:49pm 
Setup file you're talking about is the one from the dedicated server's app folder, correct?
So the path would look something like this:
..\Don't Starve Together Dedicated Server\mods\dedicated_server_mods_setup.lua
tortapounder854 13 Thg11, 2023 @ 1:51pm 
Correct.
Tykvesh  [nhà phát triển] 13 Thg11, 2023 @ 2:00pm 
Sorry, I don't have any clues what could be the issue here.
I can only suggest asking for help elsewhere:
Dedicated Server Discussion[forums.kleientertainment.com]
Klei Entertainment Discord[discord.com]
tortapounder854 13 Thg11, 2023 @ 2:10pm 
Fair enough, thank you so much for your help! I'll try taking this to the forums.
Tykvesh  [nhà phát triển] 13 Thg11, 2023 @ 6:59pm 
Could you try replacing the following lines in this file? I have added the print lines to see if the setup functions even run. Look for @DanKGooGLy in the server log afterwards.
..\Don't Starve Together Dedicated Server\data\databundles\scripts​.zip\scripts\mods.lua
function ModWrangler:LoadServerModsFile() local function ServerModSetup(product_id) TheNet:ServerModSetup(product_id) print("@DanKGooGLy TheNet:ServerModSetup", product_id) end local function ServerModCollectionSetup(collection_id) TheNet:ServerModCollectionSetup(collection_id) print("@DanKGooGLy TheNet:ServerModCollectionSetup", collection_id) end
If you don't mind sharing, it would be nice to see the entire log.
Tykvesh  [nhà phát triển] 14 Thg11, 2023 @ 10:05am 
If you gave up on this, you can try this addon with Show Me.
It's not perfect, but better than nothing.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3066812804
tortapounder854 14 Thg11, 2023 @ 1:11pm 
Nguyên văn bởi Tykvesh:
Could you try replacing the following lines in this file? I have added the print lines to see if the setup functions even run. Look for @DanKGooGLy in the server log afterwards.
..\Don't Starve Together Dedicated Server\data\databundles\scripts​.zip\scripts\mods.lua
function ModWrangler:LoadServerModsFile() local function ServerModSetup(product_id) TheNet:ServerModSetup(product_id) print("@DanKGooGLy TheNet:ServerModSetup", product_id) end local function ServerModCollectionSetup(collection_id) TheNet:ServerModCollectionSetup(collection_id) print("@DanKGooGLy TheNet:ServerModCollectionSetup", collection_id) end
If you don't mind sharing, it would be nice to see the entire log.
Sure thing, I'll check it out in an hour and give you the results. Same thing with the mod.
tortapounder854 14 Thg11, 2023 @ 1:15pm 
What lines do you want me to replace? You only provided the file and the replacement lines,
Tykvesh  [nhà phát triển] 14 Thg11, 2023 @ 1:23pm 
Find and select that entire snippet in the file and replace it with my version. What I specifiaclly added are the lines starting with print
< >
Đang hiển thị 1-12 trong 12 bình luận
Mỗi trang: 1530 50