Jump to content

Cannot start dedicated server on mac with mod enabled


Hubert Zhang
  • Pending
[00:00:16]: error calling LoadPrefabFile in mod workshop-1909182187 (能力勋章): 
[string "scripts/mainfunctions.lua"]:157: Error loading file prefabs/livingroot_chest_extinguish_fx

	no file '../mods/workshop-1595631294/scripts/prefabs/livingroot_chest_extinguish_fx.lua' (checked with custom loader)
	no file '../mods/workshop-2189004162/scripts/prefabs/livingroot_chest_extinguish_fx.lua' (checked with custom loader)
	no file '../mods/workshop-1909182187/scripts/prefabs/livingroot_chest_extinguish_fx.lua' (checked with custom loader)
	no file '../mods/workshop-378160973/scripts/prefabs/livingroot_chest_extinguish_fx.lua' (checked with custom loader)
	no file '../mods/workshop-1887331613/scripts/prefabs/livingroot_chest_extinguish_fx.lua' (checked with custom loader)
	no file '../mods/workshop-1582864428/scripts/prefabs/livingroot_chest_extinguish_fx.lua' (checked with custom loader)
	no file '../mods/workshop-1898292532/scripts/prefabs/livingroot_chest_extinguish_fx.lua' (checked with custom loader)
	no file '../mods/workshop-1216718131/scripts/prefabs/livingroot_chest_extinguish_fx.lua' (checked with custom loader)
	no file 'scripts/prefabs/livingroot_chest_extinguish_fx.lua' (checked with custom loader)
	no file 'scriptlibs/prefabs/livingroot_chest_extinguish_fx.lua' (checked with custom loader)
LUA ERROR stack traceback:
        =[C] in function 'assert'
        scripts/mainfunctions.lua(157,1)
        =(tail call) ?
        =[C] in function 'xpcall'
        scripts/mods.lua(168,1)
        scripts/mods.lua(644,1) in function 'oldRegisterPrefabs'
        ../mods/workshop-1909182187/scripts/medal_wipebutt.lua(52,1) in function 'oldRegisterPrefabs'
        ../mods/workshop-1595631294/modmain.lua(90,1) in function 'RegisterPrefabs'
        scripts/gamelogic.lua(302,1) in function 'LoadAssets'
        scripts/gamelogic.lua(956,1) in function 'cb'
        scripts/shardindex.lua(209,1) in function 'OnLoadSaveDataFile'
	...
        =[C] in function 'GetPersistentString'
        scripts/saveindex.lua(285,1) in function 'Load'
        scripts/gamelogic.lua(1189,1) in function 'callback'
        scripts/playerprofile.lua(1228,1) in function 'Set'
        scripts/playerprofile.lua(1079,1)
        =[C] in function 'GetPersistentString'
        scripts/playerprofile.lua(1077,1) in function 'Load'
        scripts/gamelogic.lua(1188,1) in main chunk
        =[C] in function 'require'
        scripts/mainfunctions.lua(1114,1)

Above error occurred on my mac while executing following command

 

"/Users/Hubert/Library/Application Support/Steam/steamapps/common/Don't Starve Together Dedicated Server/dontstarve_dedicated_server_nullrenderer.app/Contents/MacOS/dontstarve_dedicated_server_nullrenderer" -conf_dir DedicatedServer -console -cluster Medal -shard Master

 

And the reason would be the path on mac is too long when using mods from workshop. The file that failed to load is located at "/Users/Hubert/Library/Application Support/Steam/steamapps/common/Don't Starve Together Dedicated Server/dontstarve_dedicated_server_nullrenderer.app/Contents/ugc_mods/Medal/Master/content/322330/1909182187/scripts/prefabs/livingroot_chest_extinguish_fx.lua" and its path exceed 256 chars...


Steps to Reproduce

"/Users/Hubert/Library/Application Support/Steam/steamapps/common/Don't Starve Together Dedicated Server/dontstarve_dedicated_server_nullrenderer.app/Contents/MacOS/dontstarve_dedicated_server_nullrenderer" -conf_dir DedicatedServer -console -cluster Medal -shard Master

With mod 能力勋章 (workshop-1909182187) enabled




User Feedback




Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...