Jump to content

Recommended Posts

@Ipsquiggle

@%1;

ipsquiggle ipsquiggle ipsquiggle

 

I have no problem downloading the workshop mod.

 

The server has no problem downloading the workshop mod.

 

vvvvvv Text file I found in mods folder of Dedicated Server. vvvvvv

----------------------------------------------------------------------------------------------------------

Looking to add mods to your game?

1) Head to the mod downloads section in the Klei Forums
   http://forums.kleientertainment.com/downloads.php
2) Unzip the files you download to this location
3) Start the game, go to the mods menu, and enable the mods you'd like to run!
----------------------------------------------------------------------------------------------------------

 

3) Start the game, go to the mods menu, and enable the mods you'd like to run!

What mods menu, where, I've looked all over the internet to find this said "mods menu" Is it talking about the client mods menu? I don't know, that doesn't seem logical, why would my client have the mod anyway, it doesn't, it doesn't have the mod. Obviously I need to find help, must find help, someone would know.. the devs would know, they set up the modloader, they would know how it loads mods.. yes.. the devs.. must..... find........ devs..........

 

Sanity level: 10

 

God help me.....

Link to comment
Share on other sites

I think those readme files in the mod folder are leftovers from the singleplayer game and is indeed referring to the gameclient. If the mod is set up correct on the server system, it -should- force your client to download the mod when joining it. (atleast that's how mine works)

 

the modoverrides.lua file in yourdocuments/klei/donotstarvetogether is the 'easiest' way to activate mods on the server, i'm not sure if it's generated by default though so might need to create it and copy paste it's structure, it should look like this:

 

return {
    ["workshop-?????????"] = { enabled = true },
    ["workshop-?????????"] = { enabled = true }
}

 

-Holo-

 

replace the ???? with the workshop id and it should be active on the server on restart.

Link to comment
Share on other sites

Hi @EmDash,

 

can you show your log.txt please?

 

well i used lot of mods on my 3 servers dedicated DST and it's works fine

 

do you use "-configdir" in your command line?

 

it's server dedicated on windows or linux?

Edited by ToNiO55
Link to comment
Share on other sites

Hi @EmDash,

 

can you show your log.txt please?

 

well i used lot of mods on my 3 servers dedicated DST and it's works fine

 

do you use "-configdir" in your command line?

 

it's server dedicated on windows or linux?

 

Hey @ToNiO55,

 

log.txt

[00:00:00]: Starting Up

[00:00:00]: Version: 138844

[00:00:00]: Current time: Sun Jun 07 17:55:52 2015

[00:00:00]: Don't Starve Together: 138844 WIN32

NNN Build Date: 2015-06-05_16-34-30

[00:00:00]: Parsing command line

[00:00:00]: Command Line Arguments: -conf_dir myDSTserver -console

[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' (5392)

[00:00:00]: HttpClient::ClientThread::Main()

[00:00:00]: ProfileIndex:4.80

[00:00:00]: THREAD - started 'GAClient' (4696)

[00:00:00]: HttpClient::ClientThread::Main()

[00:00:00]: THREAD - started 'GAClient' (3904)

[00:00:00]: Network tick rate: U=15(2), D=0

[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]: THREAD - started 'ConsoleInput' (404)

[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' (2504)

[00:00:00]: cGame::InitializeOnMainThread

[00:00:00]: THREAD - started 'GAClient' (3248)

[00:00:00]: HttpClient::ClientThread::Main()

[00:00:00]: HttpClient::ClientThread::Main()

[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:00]: scripts/main.lua(167,1) running main.lua

[00:00:00]: loaded modindex

[00:00:00]: ModIndex: Beginning normal load sequence for dedicated server.

[00:00:00]: DownloadMods(1)

[00:00:00]: Download server mod 343762271

[00:00:04]: DelDirectory [../mods/workshop-343762271] 2: FAILED

[00:00:04]: cWorkshopMod::UnzipMod ../mods/workshop-343762271

[00:00:04]: ERROR: Failed to load modoverrides.lua

[00:00:04]: FMOD Error: An invalid object handle was used.

[00:00:04]: LOADING LUA SUCCESS

[00:00:04]: PlayerDeaths could not load morgue

[00:00:04]: loaded profile

[00:00:04]: bloom_enabled false

[00:00:04]: loaded saveindex

[00:00:04]: OnFilesLoaded()

[00:00:04]: OnUpdatePurchaseStateComplete

[00:00:05]: Load FE

[00:00:06]: Load FE: done

[00:00:06]: ModIndex: Load sequence finished successfully.

[00:00:06]: Reset() returning

[00:00:07]: [200] Account Communication Success (6)

[00:00:07]: [ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_DgkdZQwF

[00:00:07]: Starting Dedicated Server Game

[00:00:07]: Network tick rate: U=30(1), D=0

[00:00:07]: [Warning] Could not confirm port 10999 is open in the firewall.

[00:00:07]: Setting up socket descriptors

[00:00:07]: Online Server Started on port: 10999

[00:00:07]: Overriding server save slot to: 3

[00:00:07]: Collecting garbage...

[00:00:07]: lua_gc took 0.01 seconds

[00:00:07]: ~NetworkLuaProxy()

[00:00:07]: ~SimLuaProxy()

[00:00:07]: lua_close took 0.02 seconds

[00:00:07]: cGame::StartPlaying

[00:00:07]: LOADING LUA

[00:00:07]: DoLuaFile scripts/main.lua

[00:00:07]: DoLuaFile loading buffer scripts/main.lua

[00:00:07]: scripts/main.lua(167,1) running main.lua

[00:00:07]: loaded modindex

[00:00:07]: ModIndex: Beginning normal load sequence for dedicated server.

[00:00:07]: ERROR: Failed to load modoverrides.lua

[00:00:07]: LOADING LUA SUCCESS

[00:00:07]: PlayerDeaths could not load morgue

[00:00:07]: loaded profile

[00:00:07]: bloom_enabled false

[00:00:07]: loaded saveindex

[00:00:07]: OnFilesLoaded()

[00:00:07]: OnUpdatePurchaseStateComplete

[00:00:07]: Unload FE

[00:00:07]: Unload FE done

[00:00:08]: LOAD BE

[00:00:09]: Could not preload undefined prefab 0x4058bc0 (molehat)

[00:00:09]: Could not preload undefined prefab 0x20e21d7a (puppet_wes)

[00:00:09]: Could not preload undefined prefab 0x20e21d7a (puppet_wes)

[00:00:10]: LOAD BE: done

[00:00:10]: Deserialize world session from session/04700004ABC2DA5F/0000000002

[00:00:10]: Save file is at version 1

[00:00:10]: Begin Session: 04700004ABC2DA5F

[00:00:10]: saving to server_temp/server_save

[00:00:10]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )

[00:00:11]: Loading Nav Grid

[00:00:11]: setting summerlength 15

[00:00:11]: setting elapseddaysinseason 1

[00:00:11]: setting isfullmoon false

[00:00:11]: setting moisture 120.23657989502

[00:00:11]: setting springlength 20

[00:00:11]: setting moonphase new

[00:00:11]: setting precipitationrate 0

[00:00:11]: setting iswet false

[00:00:11]: setting winterlength 15

[00:00:11]: setting iswinter false

[00:00:11]: setting issummer false

[00:00:11]: setting moistureceil 553.25909423828

[00:00:11]: setting isday true

[00:00:11]: setting wetness 0

[00:00:11]: setting isnight false

[00:00:11]: setting isdusk false

[00:00:11]: setting isspring false

[00:00:11]: setting isautumn true

[00:00:11]: setting issnowing false

[00:00:11]: setting snowlevel 0

[00:00:11]: setting issnowcovered false

[00:00:11]: setting autumnlength 20

[00:00:11]: setting phase day

[00:00:11]: setting temperature 28.816293803506

[00:00:11]: setting pop 0.21732418164867

[00:00:11]: setting season autumn

[00:00:11]: setting israining false

[00:00:11]: setting remainingdaysinseason 19

[00:00:11]: setting time 0.0020793596903483

[00:00:11]: setting cycles 1

[00:00:11]: setting precipitation none

[00:00:11]: setting timeinphase 0.0041587193806966

[00:00:14]: Reconstructing topology

[00:00:14]: ...Sorting points

[00:00:14]: ...Sorting edges

[00:00:14]: ...Connecting nodes

[00:00:14]: ...Validating connections

[00:00:14]: ...Housekeeping

[00:00:14]: ...Done!

[00:00:14]: Truncating to snapshot #2...

[00:00:14]: - session/04700004ABC2DA5F/KU_DgkdZQwF_/0000000003

[00:00:14]: - session/04700004ABC2DA5F/KU_G29cYC64_/0000000003

[00:00:14]: - session/04700004ABC2DA5F/KU_gVxHUEhY_/0000000003

[00:00:14]: - session/04700004ABC2DA5F/KU__ZrkhVhw_/0000000003

[00:00:14]: 4 file(s) removed

[00:00:14]: Restoring user session from session/04700004ABC2DA5F/KU_DgkdZQwF_/0000000002

[00:00:14]: Restoring user session from session/04700004ABC2DA5F/KU_gVxHUEhY_/0000000002

[00:00:14]: Serializing user session to session/04700004ABC2DA5F/KU_gVxHUEhY_/0000000003

[00:00:14]: Serializing user session to session/04700004ABC2DA5F/KU_DgkdZQwF_/0000000003

[00:00:14]: 1 uploads added to server. From server_temp

[00:00:14]: Telling Client our new session identifier: 04700004ABC2DA5F

[00:00:14]: ModIndex: Load sequence finished successfully.

[00:00:14]: Reset() returning

[00:00:15]: SteamGameServer_Init Success

[00:00:32]: New incoming connection 24.139.49.114|55283

[00:00:32]: ValidateGameSessionToken token: re^eyJVc2VySUQiOiJLVV9nVnhIVUVoWSIsIkdhbWUiOiJEb250U3RhcnZlVG9nZXRoZXIiLCJQdXJwb3NlIjoiR2FtZVNlc3Npb24ifQ==^IMuV94ANFmzRWaEXMRPzYigWgtMGpz60 for: 198158424373491799

[00:00:32]: SendHandShakeServerListing

[00:00:32]: ReceiveAuthenticationBlob

[00:00:41]: ReceiveResumeRequest

[00:00:41]: Received request to resume from: session/04700004ABC2DA5F/KU_gVxHUEhY_/0000000003

[00:00:41]: OnResumeRequestLoadComplete - UserID KU_gVxHUEhY

[00:00:41]: [Load] SPAWNING PLAYER AT: (-130.19, 0.00, -314.19)

 

I highlighted in greentext the line I think is the issue, but I don't see WHY it's failing to load the file.

 

This is my server starting batch file command line.

 

dontstarve_dedicated_server_nullrenderer -conf_dir myDSTserver -console

 

Dedicated on windows, same machine I use to play.

Link to comment
Share on other sites

3) Start the game, go to the mods menu, and enable the mods you'd like to run! What mods menu, where

Wait.. is this what's wrong? O_o

 

Image (from google)

See on the right side >> where it says "Mods".. click that?

Edited by Blueberrys
Link to comment
Share on other sites

Wait.. is this what's wrong? O_o

 

Image (from google)

See on the right side >> where it says "Mods".. click that?

 

Yeah I get that but that doesn't have anything to do with the dedicated server mod installation..

Link to comment
Share on other sites

@EmDash,

 

if you have this error:

 

[00:00:04]: ERROR: Failed to load modoverrides.lua

 

that's mean there is a variable that doesn't work or is misplaced

 

try this in your  Klei/myDSTserver/modoverrides.lua just for test:

 

 

-- Use the "ForceEnableMod" function when developing a mod. This will cause the
-- game to load the mod every time no matter what, saving you the trouble of
-- re-enabling it from the main menu.
--
-- Note! You shout NOT do this for normal mod loading. Please use the Mods menu
-- from the main screen instead.

--ForceEnableMod("sample_prefab")


-- Use "EnableModDebugPrint()" to show extra information during startup.

--EnableModDebugPrint()

return {
--#Global Position
["workshop-373991022"] = { enabled = true }
}

 

and with your E:\dstserver\mods\dedicated_server_mods_setup.lua:

 

 

--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")

--#Global Position
ServerModSetup("373991022")

 

 

restart your server and check your log.txt if modoverrides.lua loaded correctly and check in the game if your server have this mod now

Edited by ToNiO55
Link to comment
Share on other sites

@EmDash,

 

if you have this error:

 

[00:00:04]: ERROR: Failed to load modoverrides.lua

 

that's mean there is a variable that doesn't work or is misplaced

 

try this in your  Klei/myDSTserver/modoverrides.lua just for test:

 

 

and with your E:\dstserver\mods\dedicated_server_mods_setup.lua:

 

 

 

restart your server and check your log.txt if modoverrides.lua loaded correctly and check in the game if your server have this mod now

 

At first it sorta worked when I copy pasted your information. However, although the server showed up on the list as MODDED the mods you listed weren't working.

 

Basically it loaded the lua, but the mods didn't work.

 

So I tried a different mod. That didn't even load, but the log.txt did say the lua load was successful.

 

This is getting rediculous and I am about to give up if someone like @Ipsquiggle doesn't show up to help me.

Link to comment
Share on other sites

@EmDash,

 

im not sure Ipsquiglle or other devs can help you

 

because your problem is clearly a bad configuration of your server and not a bug in the system

 

because it's works for me and other admin on server dedicated and listen server

 

devs can't solve all of your problems, he can fixed crash or bugs of the game

 

but that's my opinion of course

Edited by ToNiO55
Link to comment
Share on other sites

  • Developer

@EmDash, I think you probably want to take a look at the mods section on here. http://dont-starve-game.wikia.com/wiki/Don%E2%80%99t_Starve_Together_Dedicated_Servers#Mods

 

To sum it up, you will need to modify mods\dedicated_server_mods_setup.lua to install the mods you want to use, and then in your Klei/myDSTserver/modoverrides.lua file, you'll want need to set it up to enable the mods you want.

 

Link to comment
Share on other sites

@EmDash, I think you probably want to take a look at the mods section on here. http://dont-starve-game.wikia.com/wiki/Don%E2%80%99t_Starve_Together_Dedicated_Servers#Mods

 

To sum it up, you will need to modify mods\dedicated_server_mods_setup.lua to install the mods you want to use, and then in your Klei/myDSTserver/modoverrides.lua file, you'll want need to set it up to enable the mods you want.

 

Yes I've followed the instructions exactly as they are written, bit by bit, character by character, the only things I'm changing are the numbers for the workshop mod. For some reason my server still will not load the mods. I'll try once again with another fresh install and no other modifications or edits.

 

Still losing my mind.. sanity level 5

Link to comment
Share on other sites

  • Developer

@EmDash, try just doing the setup in dedicated_server_mods_setup.lua, and seeing if the mod is actually downloaded and installed to your dedicated server's mod folder. That step will do the download but won't enabled the mod.

 

This will let us know if it's the download that is failing or the enabling that is failing.

Link to comment
Share on other sites

@EmDash, try just doing the setup in dedicated_server_mods_setup.lua, and seeing if the mod is actually downloaded and installed to your dedicated server's mod folder. That step will do the download but won't enabled the mod.

 

This will let us know if it's the download that is failing or the enabling that is failing.

 

@PeterA

The download is fine, the enabling is failing. I've tried multiple times, sometimes the enabler works, sometimes it doesn't, sometimes it works so little after a while I have to completely reinstall the server. Which, takes a while.. and is pretty annoying. I can't download mod collections with the ModCollection command, but that's not entirely important. Individual mods downloading isn't a problem though..

 

Enabling is what I'm having troubles with.

Link to comment
Share on other sites

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
 Share

×
  • Create New...