Don't Starve Together
Epic Healthbar
Αυτό το θέμα έχει κλειδωθεί
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.
Τελευταία επεξεργασία από tortapounder854; 13 Νοε 2023, 13:41
< >
Εμφάνιση 1-12 από 12 σχόλια
Tykvesh  [δημιουργός] 13 Νοε 2023, 13:42 
Could you link the mod collection?
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  [δημιουργός] 13 Νοε 2023, 13:49 
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
Tykvesh  [δημιουργός] 13 Νοε 2023, 14:00 
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]
Fair enough, thank you so much for your help! I'll try taking this to the forums.
Tykvesh  [δημιουργός] 13 Νοε 2023, 18:59 
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  [δημιουργός] 14 Νοε 2023, 10:05 
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
Αναρτήθηκε αρχικά από 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.
What lines do you want me to replace? You only provided the file and the replacement lines,
Tykvesh  [δημιουργός] 14 Νοε 2023, 13:23 
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
< >
Εμφάνιση 1-12 από 12 σχόλια
Ανά σελίδα: 1530 50