EmDash Posted June 7, 2015 Share Posted June 7, 2015 EDIT My apologies.. I figured it out. I haven't ENABLED the mods. I overlooked that part in the tutorial page. Feel free to delete this. Have a dedicated server that I connect to through LAN. Didn't feel like doing all the mumbo jumbo with the router. The server does not have any mods when I load it. I have followed instructions to the letter for how to set up the lua file for mods and collections. It looks like the server downloads the individual mods files and puts them in folders but it doesn't do that for the collection. It still does not have any mods after loading it though. Downloads mods, doesn't use them. Weird. Any help would be very much appreciated, I'm sure I didn't put enough information so feel free to ask what you will. I'm new so if this is in the wrong section I apologize, just throw me into the right one. my dedicated_server_mods_setup.lua file. --There are two functions that will install mods, ServerModSetup and ServerModCollectionSetup. Put the calls to the functions in this file and they will be executed on boot.--ServerModSetup takes a string of a specific mod's Workshop id. It will download and install the mod to your mod directory on boot.--The Workshop id can be found at the end of the url to the mod's Workshop page.--Example: http://steamcommunity.com/sharedfiles/filedetails/?id=350811795--ServerModSetup("350811795")--ServerModCollectionSetup takes a string of a specific mod's Workshop id. It will download all the mods in the collection and install them to the mod directory on boot.--The Workshop id can be found at the end of the url to the collection's Workshop page.--Example: http://steamcommunity.com/sharedfiles/filedetails/?id=379114180--ServerModCollectionSetup("379114180")---[[ServerModCollectionSetup("456575911")--[[Em&Gatts Best DST Mods]]----]]---[[ServerModSetup("347079953")--[[Display Food Values]]--**ServerModSetup("358749986")--[[Extended Indicators WIP]]--*ServerModSetup("343762271")--[[More DST Characters]]--*ServerModSetup("360722606")--[[Detailed tooltips]]--**--[[*Do not add to Collection]]----[[**Add to it's own Collection]]----]]--[[ServerModSetup("")ServerModSetup("")ServerModSetup("")ServerModSetup("")ServerModSetup("")ServerModSetup("")ServerModSetup("")ServerModSetup("")ServerModSetup("")ServerModSetup("")ServerModSetup("")--]] My log file from startup. E:\dstserver\bin>dontstarve_dedicated_server_nullrenderer -conf_dir myDSTserver[00:00:00]: Starting Up[00:00:00]: Version: 138844[00:00:00]: Current time: Sat Jun 06 21:08:38 2015[00:00:00]: Don't Starve Together: 138844 WIN32NNN Build Date: 2015-06-05_16-34-30[00:00:00]: Parsing command line[00:00:00]: Command Line Arguments: -conf_dir myDSTserver[00:00:00]: Initializin Minidump handler[00:00:00]: ....Done[00:00:00]: Fixing DPI[00:00:00]: ...Done[00:00:00]: THREAD - started 'GAClient' (6288)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: ProfileIndex:4.40[00:00:00]: THREAD - started 'GAClient' (6372)[00:00:00]: THREAD - started 'GAClient' (6336)[00:00:00]: Network tick rate: U=15(2), D=0[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: Network tick rate: U=30(1), D=0[00:00:00]: Authorized application E:\dstserver\bin\dontstarve_dedicated_server_nullrenderer.exe is enabled in the firewall.[00:00:00]: WindowsFirewall - Application already authorized[00:00:00]: OnLoadPermissionList: APP:Klei/myDSTserver/save/blocklist.txt (Failure)[00:00:00]: OnLoadPermissionList: APP:Klei/myDSTserver/save/adminlist.txt (Failure)[00:00:00]: OnLoadUserIdList: APP:Klei/myDSTserver/save/whitelist.txt (Failure)[00:00:00]: Server token retrieved from: server_token.txt[00:00:00]: THREAD - started 'GAClient' (6388)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: THREAD - started 'GAClient' (6392)[00:00:00]: HttpClient::ClientThread::Main()[00:00:00]: cGame::InitializeOnMainThread[00:00:00]: Renderer initialize: Okay[00:00:00]: AnimManager initialize: Okay[00:00:00]: Buffers initialize: Okay[00:00:00]: cDontStarveGame::DoGameSpecificInitialize()[00:00:00]: FMOD Error: An invalid object handle was used.[00:00:00]: GameSpecific initialize: Okay[00:00:00]: cGame::StartPlaying[00:00:00]: LOADING LUA[00:00:00]: DoLuaFile scripts/main.lua[00:00:00]: DoLuaFile loading buffer scripts/main.lua[00:00:01]: scripts/main.lua(167,1) running main.lua[00:00:01]: loaded modindex[00:00:01]: ModIndex: Beginning normal load sequence for dedicated server.[00:00:01]: DownloadMods(4)[00:00:01]: Download server mod 347079953[00:00:01]: Download server mod 358749986[00:00:02]: cWorkshopMod::UnzipMod ../mods/workshop-358749986[00:00:02]: Download server mod 343762271[00:00:03]: Download server mod 360722606[00:00:03]: FMOD Error: An invalid object handle was used.[00:00:03]: LOADING LUA SUCCESS[00:00:03]: PlayerDeaths could not load morgue[00:00:03]: loaded profile[00:00:03]: bloom_enabled false[00:00:03]: loaded saveindex[00:00:03]: OnFilesLoaded()[00:00:03]: OnUpdatePurchaseStateComplete[00:00:04]: Load FE[00:00:04]: Load FE: done[00:00:04]: ModIndex: Load sequence finished successfully.[00:00:04]: Reset() returning[00:00:06]: [200] Account Communication Success (6)[00:00:06]: [ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_DgkdZQwF[00:00:06]: Starting Dedicated Server Game[00:00:06]: Network tick rate: U=30(1), D=0[00:00:06]: [Warning] Could not confirm port 10999 is open in the firewall.[00:00:06]: Setting up socket descriptors[00:00:06]: Online Server Started on port: 10999[00:00:06]: Overriding server save slot to: 4[00:00:06]: Collecting garbage...[00:00:06]: lua_gc took 0.01 seconds[00:00:06]: ~NetworkLuaProxy()[00:00:06]: ~SimLuaProxy()[00:00:06]: lua_close took 0.02 seconds[00:00:06]: cGame::StartPlaying[00:00:06]: LOADING LUA[00:00:06]: DoLuaFile scripts/main.lua[00:00:06]: DoLuaFile loading buffer scripts/main.lua[00:00:06]: scripts/main.lua(167,1) running main.lua[00:00:06]: loaded modindex[00:00:06]: ModIndex: Beginning normal load sequence for dedicated server.[00:00:06]: LOADING LUA SUCCESS[00:00:06]: PlayerDeaths could not load morgue[00:00:06]: loaded profile[00:00:06]: bloom_enabled false[00:00:06]: loaded saveindex[00:00:06]: OnFilesLoaded()[00:00:06]: OnUpdatePurchaseStateComplete[00:00:06]: Unload FE[00:00:06]: Unload FE done[00:00:07]: LOAD BE[00:00:08]: Could not preload undefined prefab 0x4058bc0 (molehat)[00:00:08]: Could not preload undefined prefab 0x20e21d7a (puppet_wes)[00:00:08]: Could not preload undefined prefab 0x20e21d7a (puppet_wes)[00:00:08]: LOAD BE: done[00:00:08]: Deserialize world session from session/0DC000074502AFBA/0000000001[00:00:09]: Save file is at version nil[00:00:09]: Upgrading to 1...[00:00:09]: Converting summer to autumn:[00:00:09]: Begin Session: 0DC000074502AFBA[00:00:09]: saving to server_temp/server_save[00:00:09]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )[00:00:09]: Loading Nav Grid[00:00:09]: OVERRIDE: setting season_start to autumn[00:00:10]: Can't find prefab randomtreeandleif[00:00:10]: SpawnSaveRecord [nil, RandomTreeAndLeif] FAILED[00:00:12]: Reconstructing topology[00:00:12]: ...Sorting points[00:00:12]: ...Sorting edges[00:00:12]: ...Connecting nodes[00:00:12]: ...Validating connections[00:00:12]: ...Housekeeping[00:00:12]: ...Done![00:00:12]: Truncating to snapshot #1...[00:00:12]: - session/0DC000074502AFBA/KU_DgkdZQwF_/0000000002[00:00:12]: 1 file(s) removed[00:00:12]: 1 uploads added to server. From server_temp[00:00:12]: Telling Client our new session identifier: 0DC000074502AFBA[00:00:12]: ModIndex: Load sequence finished successfully.[00:00:12]: Reset() returningSetting breakpad minidump AppID = 343050[00:00:13]: SteamGameServer_Init SuccessOnNewConnection mostRecentExternalPort first time set to 10999[00:00:28]: New incoming connection 192.168.2.5|59748[00:00:28]: ValidateGameSessionToken token: re^eyJVc2VySUQiOiJLVV9EZ2tkWlF3RiIsIkdhbWUiOiJEb250U3RhcnZlVG9nZXRoZXIiLCJQdXJwb3NlIjoiR2FtZVNlc3Npb24ifQ==^EcGqvPhMfDiDnq2GNCyHvAoe7dHj2aYa for: 301741207059824663[00:00:28]: SendHandShakeServerListing[00:00:28]: ReceiveAuthenticationBlob[00:00:34]: ReceiveResumeRequest[00:00:34]: Received request to resume from: session/0DC000074502AFBA/KU_DgkdZQwF_[00:00:34]: OnResumeRequestLoadComplete - UserID KU_DgkdZQwF[00:00:45]: Received request to spawn as wx78 from EmDash[00:00:45]: [Fixed] SPAWNING PLAYER AT: (-156.00, 0.00, -16.00)[00:00:45]: Serializing user session to session/0DC000074502AFBA/KU_DgkdZQwF_/0000000002[00:00:45]: [Announcement] EmDash has joined the game.[00:00:57]: [Announcement] EmDash has left the game. Link to comment https://forums.kleientertainment.com/forums/topic/54925-server-wont-load-mods/ Share on other sites More sharing options...
zootal Posted June 11, 2015 Share Posted June 11, 2015 This bit me for a while also. What is even better, is that if you update your server (which you have to do almost every day), it overwrites dedicated_server_mods_setup.lua and modsettings.lua. And if you don't have a backup, you get to figure out your mod ID numbers all over again. It would be nice if the update would leave those files alone. And if your client version does not exactly match the server version, the client won't see your server. Sometimes Steam updates the client without any notice or announcements (or in the case of the last update, the announcement came out the next day) and suddenly your server is empty. Link to comment https://forums.kleientertainment.com/forums/topic/54925-server-wont-load-mods/#findComment-646233 Share on other sites More sharing options...
mrGRINCH Posted June 11, 2015 Share Posted June 11, 2015 I joined the forum in hopes of finding an answer to this problem but as noone has answered this thread it looks like there's no info here on what to do so I went ahead and worked it out on my own. As I can see in your post EmDash you and I did the same thing and used "dedicated_server_mods_setup.lua" With content something similar to below.--Minimap HUDServerModSetup("345692228")--Additional equipslotsServerModSetup("375919633")--Global Player IconsServerModSetup("373991022")The solution to our dedicated servers downloading the mods but not enabling is solved by using "modsettings.lua" With content similar to below.--Minimap HUDForceEnableMod("workshop-345692228")--Additional equipslotsForceEnableMod("workshop-375919633")--Global Player IconsForceEnableMod("workshop-373991022")I hope this has helped you and anyone else with the same issue. Link to comment https://forums.kleientertainment.com/forums/topic/54925-server-wont-load-mods/#findComment-646289 Share on other sites More sharing options...
Trenix Posted June 12, 2015 Share Posted June 12, 2015 Weird, I'm still having the problem and I'm doing exactly what you guys are saying to do.dedicated_server_mods_setup.lua ServerModSetup("354415247")ServerModSetup("404983266") modsettings.lua ForceEnableMod("workshop-354415247")ForceEnableMod("workshop-404983266")My server is still not modded... Link to comment https://forums.kleientertainment.com/forums/topic/54925-server-wont-load-mods/#findComment-646613 Share on other sites More sharing options...
Trenix Posted June 12, 2015 Share Posted June 12, 2015 Found the problem, when it says 'server install folder"\mods' it doesn't mean Documents\Keli\(your sever name)\mods. It instead means 'C:Program Files (x86)\steam\steamapps\common\Don't Starve Together Dedicated Server\mods'. That's a big difference and the wiki should specify that. I wasted many hours of my time trying to figure out what was going wrong only to find out it was the wiki not explaining itself. In Minecraft, the server is all in one folder, rather than spread around in different folders on your desktop. I don't see how this is very convenient for everyone. Link to comment https://forums.kleientertainment.com/forums/topic/54925-server-wont-load-mods/#findComment-646655 Share on other sites More sharing options...
mrGRINCH Posted June 13, 2015 Share Posted June 13, 2015 Found the problem, when it says 'server install folder"\mods' it doesn't mean Documents\Keli\(your sever name)\mods. It instead means 'C:Program Files (x86)\steam\steamapps\common\Don't Starve Together Dedicated Server\mods'. That's a big difference and the wiki should specify that. I wasted many hours of my time trying to figure out what was going wrong only to find out it was the wiki not explaining itself. In Minecraft, the server is all in one folder, rather than spread around in different folders on your desktop. I don't see how this is very convenient for everyone. I agree with you on this comment, the wiki is not very clear when it comes to the mod section. Glad to see that I could help you out. Link to comment https://forums.kleientertainment.com/forums/topic/54925-server-wont-load-mods/#findComment-646807 Share on other sites More sharing options...
DTM450 Posted June 15, 2015 Share Posted June 15, 2015 I agree with you on this comment, the wiki is not very clear when it comes to the mod section. Glad to see that I could help you out. I have added a note to the wiki to clarify the mods folder as to enabling the mods I have gone into it a little here http://forums.kleientertainment.com/topic/55260-mod-collection/?p=647223 Link to comment https://forums.kleientertainment.com/forums/topic/54925-server-wont-load-mods/#findComment-647229 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.