饥荒联机版

饥荒联机版

史诗血量条 (Epic Healthbar)
此主题已被锁定
tortapounder854 2023 年 11 月 13 日 下午 1:39
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 编辑于; 2023 年 11 月 13 日 下午 1:41
< >
正在显示第 1 - 12 条,共 12 条留言
Tykvesh  [开发者] 2023 年 11 月 13 日 下午 1:42 
Could you link the mod collection?
tortapounder854 2023 年 11 月 13 日 下午 1:44 
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  [开发者] 2023 年 11 月 13 日 下午 1: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
tortapounder854 2023 年 11 月 13 日 下午 1:51 
Correct.
Tykvesh  [开发者] 2023 年 11 月 13 日 下午 2: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]
tortapounder854 2023 年 11 月 13 日 下午 2:10 
Fair enough, thank you so much for your help! I'll try taking this to the forums.
Tykvesh  [开发者] 2023 年 11 月 13 日 下午 6: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  [开发者] 2023 年 11 月 14 日 上午 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
tortapounder854 2023 年 11 月 14 日 下午 1:11 
引用自 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 2023 年 11 月 14 日 下午 1:15 
What lines do you want me to replace? You only provided the file and the replacement lines,
Tykvesh  [开发者] 2023 年 11 月 14 日 下午 1: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