Recommended Posts

deavepup    0

Hello there,
I want to set up my server mode but I can fix how my modes don't work.

modoverrides.lua

return {
    ["workshop-345692228"] = { enabled = true },
    ["workshop-346962876"] = { enabled = true },
    ["workshop-347079953"] = { enabled = true },
	["workshop-351325790"] = { enabled = true },
	["workshop-358749986"] = { enabled = true },
	["workshop-365119238"] = { enabled = true },
	["workshop-372033333"] = { enabled = true },
	["workshop-374550642"] = { enabled = true },
	["workshop-375850593"] = { enabled = true },
	["workshop-375859599"] = { enabled = true },
	["workshop-376333686"] = { enabled = true },
	["workshop-378160973"] = { enabled = true },
	["workshop-382177939"] = { enabled = true },
	["workshop-396026892"] = { enabled = true },
	["workshop-458587300"] = { enabled = true },
	["wworkshop-569043634"] = { enabled = true },
	["workshop-569043634"] = { enabled = true },
	["workshop-1120124958"] = { enabled = true },
    ["workshop-1139925855"] = { enabled = true },
}

dedicated_server_mods_setup.lua

ServerModSetup("345692228")
ServerModSetup("346962876")
ServerModSetup("347079953")
ServerModSetup("351325790")
ServerModSetup("358749986")
ServerModSetup("365119238")
ServerModSetup("372033333")
ServerModSetup("374550642")
ServerModSetup("375850593")
ServerModSetup("375859599")
ServerModSetup("376333686")
ServerModSetup("378160973")
ServerModSetup("382177939")
ServerModSetup("396026892")
ServerModSetup("458587300")
ServerModSetup("569043634")
ServerModSetup("836583293")
ServerModSetup("1120124958")
ServerModSetup("1139925855")

 

Share this post


Link to post
Share on other sites
Zillvr    1,634

Hello @deavepup, welcome to the forums.

How do you start up your server? There's a method that unfortunately wipes dedicated_server_mods_setup.lua. Do your mods already exist in the mods folder of the DST Dedicated Server directory(not talking about the one with server logs and such)? 

Share this post


Link to post
Share on other sites
franlemes    10
1 hour ago, Zillvr said:

Olá @deavepup , bem vindo aos fóruns.

Como você inicia seu servidor? Existe um método que infelizmente limpa o dedicated_server_mods_setup.lua. Seus mods já existem na pasta mods do diretório DST Dedicated Server (não falando sobre aquele com logs do servidor e tal)? 

Could you teach me how to use mods on a dedicated server? Such as Health Info, Global Positions, Show Me, Food Values.

  • Like 1

Share this post


Link to post
Share on other sites
Zillvr    1,634

Depending on what guide you used to start up your server, methods to make sure mods operate correctly varries. So far the simplest guide I've seen to start up a dedicated server is this.

If you are able to already run a dedicated server properly. Then all you need to do is generate the modoverrides.lua file. Which you don't have to do MANUALLY. If you follow the guide I linked above you'll have DST make your .lua files for you.

If however you are using a different method entirely, do share what guide you followed and we can go from there.

  • Thanks 1

Share this post


Link to post
Share on other sites
deavepup    0

C:\steamcmd\steamapps\common\Don't Starve Together Dedicated Server\mods

dontstarve_dedicated_server_nullrenderer starting

http://prntscr.com/nuiyk3

http://prntscr.com/nuiyzk

Server Log

[00:00:00]: 
System Memory:
	Memory Load: 23%
	Available Physical Memory: 3128m/4095m
	Available Page File: 3774m/5119m
	Available Virtual Memory: 3995m/4095m
	Available Extended Virtual Memory: 0m
[00:00:00]: 
Process Memory:
	Peak Working Set Size: 10m
	Working Set Size: 10m
	Quota Peak Page Pool Usage: 188k
	Quota Page Pool Usage: 188k
	Quota Peak Non Paged Pool Usage:14k
	Quota Non Paged Pool Usage: 14k
	Page File Usage: 3m
	Peak Page File Usage: 3m
[00:00:00]: PersistRootStorage is now APP:Klei//DoNotStarveTogether/Cluster_1/Master/ 
[00:00:00]: Starting Up
[00:00:00]: Version: 332910
[00:00:00]: Current time: Tue May 28 17:02:37 2019

[00:00:00]: Don't Starve Together: 332910 WIN32
[00:00:00]: Build Date: 4145
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: 
[00:00:00]: Initializing distribution platform
[00:00:00]: Initializing Minidump handler
[00:00:00]: ....Done
[00:00:00]: ....Done
[00:00:00]: Fixing DPI
[00:00:00]: ...Done
[00:00:00]: THREAD - started 'GAClient' (1428)
[00:00:00]: CurlRequestManager::ClientThread::Main()
[00:00:00]: Mounting file system databundles/klump.zip successful.
[00:00:00]: Mounting file system databundles/shaders.zip successful.
[00:00:00]: Mounting file system databundles/fonts.zip successful.
[00:00:00]: Mounting file system databundles/anim_dynamic.zip successful.
[00:00:00]: Mounting file system databundles/bigportraits.zip successful.
[00:00:00]: Mounting file system databundles/images.zip successful.
[00:00:00]: Mounting file system databundles/scripts.zip successful.
[00:00:00]: ProfileIndex:4.62
[00:00:00]: [Connect] PendingConnection::Reset(true)
[00:00:00]: Platform: 1
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: THREAD - started 'Ping Job Thread' (6044)
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Error trying to change cluster setting (GAMEPLAY->game_mode) from 'Endless' to 'endless'
[00:00:00]: [Warning] Authorized application C:\steamcmd\steamapps\common\Don't Starve Together Dedicated Server\bin\dontstarve_dedicated_server_nullrenderer.exe is not setup in the firewall.
[00:00:00]: [Warning] Add failed: 0x80070005
[00:00:00]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/Cluster_1/blocklist.txt (Failure)
[00:00:00]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/Cluster_1/adminlist.txt (Failure)
[00:00:00]: OnLoadUserIdList: APP:Klei//DoNotStarveTogether/Cluster_1/whitelist.txt (Failure)
[00:00:00]: THREAD - started 'StreamInput' (1808)
[00:00:00]: Token retrieved from: APP:Klei//DoNotStarveTogether/Cluster_1/cluster_token.txt
[00:00:00]: Token retrieved from: APP:Klei//DoNotStarveTogether/Cluster_1/cluster_token.txt
[00:00:00]: HardwareStats:
  OS                        
    name                      Microsoft Windows Server 2016 Datacenter
    version                   10.0.14393
    architecture              64-bit
    platformSpecific          SP 0.0
  CPU                       
    numCores                  1
    features                  SSE,SSE2,SSE3,SSSE3,SSE41,SSE42,AVX
    name                      Intel(R) Xeon(R) CPU @ 2.00GHz
    manufacturer              GenuineIntel
    clockSpeed                2000
  RAM                       
    megsOfRam                 4096
  GPU                       
    name                      
    driverDate                
    megsOfRam                 0
    refreshRate               2147483713
    videoModeDescription      
    driverVersion             

[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]: 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]:   taskgrouplist:	default	Together	
[00:00:00]:   taskgrouplist:	classic	Classic	
[00:00:00]:   taskgrouplist:	cave_default	Underground	
[00:00:00]:   taskgrouplist:	lavaarena_taskset	The Forge	
[00:00:00]:   taskgrouplist:	quagmire_taskset	The Gorge	
[00:00:00]: running main.lua
	
[00:00:00]: loaded modindex	
[00:00:00]: ModIndex: Beginning normal load sequence for dedicated server.
	
[00:00:00]: DownloadMods(14)
[00:00:00]: Download server mod 347079953
[00:00:01]: Download server mod 356420397
[00:00:01]: Download server mod 356930882
[00:00:01]: Download server mod 375850593
[00:00:02]: Download server mod 375859599
[00:00:02]: Download server mod 378160973
[00:00:02]: Download server mod 380423963
[00:00:03]: Download server mod 458587300
[00:00:03]: Download server mod 466732225
[00:00:05]: cWorkshopMod::UnzipMod ../mods/workshop-466732225
[00:00:05]: Download server mod 501385076
[00:00:05]: Download server mod 661253977
[00:00:06]: Download server mod 785295023
[00:00:06]: Download server mod 786556008
[00:00:06]: Download server mod 1271089343
[00:00:07]: Event data unavailable: lavaarena_event_server/lavaarena_achievement_quest_defs
[00:00:11]: LOADING LUA SUCCESS
[00:00:11]: PlayerDeaths could not load morgue	
[00:00:11]: PlayerHistory could not load player_history	
[00:00:11]: ServerPreferences could not load server_preferences	
[00:00:11]: bloom_enabled	false	
[00:00:11]: loaded saveindex	
[00:00:11]: OnFilesLoaded()	
[00:00:11]: OnUpdatePurchaseStateComplete	
[00:00:11]: Klump load on boot started.	
[00:00:11]: Klump files loaded: 	0	
[00:00:12]: 	Load FE	
[00:00:13]: 	Load FE: done	
[00:00:13]: THREAD - started 'FilesExistAsyncThread' (3620)
[00:00:13]: FilesExistAsyncThread started (10583 files)...
[00:00:13]: ModIndex: Load sequence finished successfully.	
[00:00:13]: Reset() returning
[00:00:14]: [200] Account Communication Success (6)
[00:00:14]: Received (KU_PGRXk3S1) from TokenPurpose
[00:00:14]: Starting Dedicated Server Game	
[00:00:14]: Network tick rate: U=15(2), D=0
[00:00:14]: About to start a server with the following settings:
[00:00:14]:   Dedicated: true
[00:00:14]:   Online: true
[00:00:14]:   Passworded: false
[00:00:14]:   ServerPort: 10999
[00:00:14]:   SteamAuthPort: 8766
[00:00:14]:   SteamMasterServerPort: 27016
[00:00:14]:   ClanID: false
[00:00:14]:   ClanOnly: false
[00:00:14]:   ClanAdmin: false
[00:00:14]:   LanOnly: false
[00:00:14]:   FriendsOnly: false
[00:00:14]:   EnableAutosaver: true
[00:00:14]:   EncodeUserPath: true
[00:00:14]:   PVP: false
[00:00:14]:   MaxPlayers: 64
[00:00:14]:   GameMode: endless
[00:00:14]:   OverridenDNS: 
[00:00:14]:   PauseWhenEmpty: true
[00:00:14]:   IdleTimeout: 1800s
[00:00:14]:   VoteEnabled: true
[00:00:14]:   InternetBroadcasting: true
[00:00:14]:   Intent: cooperative
[00:00:14]: [Warning] Could not confirm port 10999 is open in the firewall. 
[00:00:14]: [Shard] Shard server mode disabled: missing is_master setting.
[00:00:14]: [Shard] Missing 'is_master' config field.
[00:00:14]: ... FilesExistAsyncThread complete
[00:00:14]: Online Server Started on port: 10999
[00:00:15]: Collecting garbage...
[00:00:15]: lua_gc took 0.04 seconds
[00:00:15]: ~ShardLuaProxy()
[00:00:15]: ~cEventLeaderboardProxy()
[00:00:15]: ~ItemServerLuaProxy()
[00:00:15]: ~InventoryLuaProxy()
[00:00:15]: ~NetworkLuaProxy()
[00:00:15]: ~SimLuaProxy()
[00:00:15]: lua_close took 0.06 seconds
[00:00:15]: ReleaseAll
[00:00:15]: ReleaseAll Finished
[00:00:15]: cGame::StartPlaying
[00:00:15]: LOADING LUA
[00:00:15]: DoLuaFile scripts/main.lua
[00:00:15]: DoLuaFile loading buffer scripts/main.lua
[00:00:15]:   taskgrouplist:	default	Together	
[00:00:15]:   taskgrouplist:	classic	Classic	
[00:00:15]:   taskgrouplist:	cave_default	Underground	
[00:00:15]:   taskgrouplist:	lavaarena_taskset	The Forge	
[00:00:15]:   taskgrouplist:	quagmire_taskset	The Gorge	
[00:00:15]: running main.lua
	
[00:00:15]: loaded modindex	
[00:00:15]: ModIndex: Beginning normal load sequence for dedicated server.
	
[00:00:15]: Event data unavailable: lavaarena_event_server/lavaarena_achievement_quest_defs
[00:00:15]: LOADING LUA SUCCESS
[00:00:15]: PlayerDeaths could not load morgue	
[00:00:15]: PlayerHistory could not load player_history	
[00:00:15]: ServerPreferences could not load server_preferences	
[00:00:15]: bloom_enabled	false	
[00:00:15]: loaded saveindex	
[00:00:15]: OnFilesLoaded()	
[00:00:15]: OnUpdatePurchaseStateComplete	
[00:00:15]: Loading world: session/47CB12301DC0E8A3/0000000017	
[00:00:15]: Save file is at version 4.77	
[00:00:15]: Klump load on boot started.	
[00:00:15]: Klump files loaded: 	0	
[00:00:15]: 	Unload FE	
[00:00:15]: 	Unload FE done	
[00:00:16]: 	LOAD BE	
[00:00:27]: 	LOAD BE: done	
[00:00:27]: Begin Session: 47CB12301DC0E8A3
[00:00:27]: saving to server_temp/server_save	
[00:00:27]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
[00:00:27]: Loading 13 new character(s)	
[00:00:29]: Total 13 character(s) loaded	
[00:00:29]: Loading Nav Grid	
[00:00:29]: setting 	summerlength	15	
[00:00:29]: setting 	isnightmaredawn	false	
[00:00:29]: setting 	elapseddaysinseason	0	
[00:00:29]: setting 	isfullmoon	false	
[00:00:29]: setting 	moisture	57.788436889648	
[00:00:29]: setting 	springlength	20	
[00:00:29]: setting 	isnightmarewild	false	
[00:00:29]: setting 	moonphase	new	
[00:00:29]: setting 	precipitationrate	0	
[00:00:29]: setting 	iswet	false	
[00:00:29]: setting 	isnewmoon	false	
[00:00:29]: setting 	iswinter	false	
[00:00:29]: setting 	israining	false	
[00:00:29]: setting 	isnightmarewarn	false	
[00:00:29]: setting 	precipitation	none	
[00:00:29]: setting 	cavephase	day	
[00:00:29]: setting 	moistureceil	505.51837158203	
[00:00:29]: setting 	isday	true	
[00:00:29]: setting 	iscaveday	true	
[00:00:29]: setting 	season	autumn	
[00:00:29]: setting 	timeinphase	0.96314849456151	
[00:00:29]: setting 	temperature	31.049916418819	
[00:00:29]: setting 	isnightmarecalm	false	
[00:00:29]: setting 	isnight	false	
[00:00:29]: setting 	isdusk	false	
[00:00:29]: setting 	iscavedusk	false	
[00:00:29]: setting 	isautumn	true	
[00:00:29]: setting 	issnowing	false	
[00:00:29]: setting 	iswaxingmoon	true	
[00:00:29]: setting 	pop	0.11431520620863	
[00:00:29]: setting 	snowlevel	0	
[00:00:29]: setting 	issnowcovered	false	
[00:00:29]: setting 	autumnlength	20	
[00:00:29]: setting 	phase	day	
[00:00:29]: setting 	nightmaretime	0	
[00:00:29]: setting 	winterlength	15	
[00:00:29]: setting 	isspring	false	
[00:00:29]: setting 	nightmarephase	none	
[00:00:29]: setting 	remainingdaysinseason	20	
[00:00:29]: setting 	cycles	0	
[00:00:29]: setting 	iscavenight	false	
[00:00:29]: setting 	nightmaretimeinphase	0	
[00:00:29]: setting 	wetness	0	
[00:00:29]: setting 	time	0.48157424728076	
[00:00:29]: setting 	issummer	false	
[00:00:34]: Reconstructing topology	
[00:00:34]: 	...Sorting points	
[00:00:34]: 	...Sorting edges	
[00:00:34]: 	...Connecting nodes	
[00:00:34]: 	...Validating connections	
[00:00:34]: 	...Housekeeping	
[00:00:34]: 	...Done!	
[00:00:34]: 1 uploads added to server. From server_temp
[00:00:34]: Telling Client our new session identifier: 47CB12301DC0E8A3
[00:00:34]: ModIndex: Load sequence finished successfully.	
[00:00:34]: Reset() returning
[00:00:34]: [Steam] SteamGameServer_Init(8766, 10999, 27016)
[00:00:36]: [Steam] SteamGameServer_Init success
[00:00:36]: Validating portal[5] <-> <nil>[5] (inactive)	
[00:00:36]: Validating portal[2] <-> <nil>[2] (inactive)	
[00:00:36]: Validating portal[1] <-> <nil>[1] (inactive)	
[00:00:36]: Validating portal[6] <-> <nil>[6] (inactive)	
[00:00:36]: Validating portal[4] <-> <nil>[4] (inactive)	
[00:00:36]: Validating portal[3] <-> <nil>[3] (inactive)	
[00:00:36]: Validating portal[9] <-> <nil>[9] (inactive)	
[00:00:36]: Validating portal[7] <-> <nil>[7] (inactive)	
[00:00:36]: Validating portal[10] <-> <nil>[10] (inactive)	
[00:00:36]: Validating portal[8] <-> <nil>[8] (inactive)	
[00:00:36]: Sim paused
[00:00:37]: Gameserver logged on to Steam, assigned SteamID [A:1:2015051785:12612]
[00:00:39]: Best lobby region is aws/EU (ping 1)
[00:00:39]: Registering master server in EU lobby
[00:00:49]: Registering master server in EU lobby

 

 

Share this post


Link to post
Share on other sites
franlemes    10
24 minutes ago, Zillvr said:

Dependendo de qual guia você usou para inicializar seu servidor, métodos para certificar-se de que os mods operam corretamente varries. Até agora, o guia mais simples que vi para iniciar um servidor dedicado é este .

Se você já é capaz de executar um servidor dedicado corretamente. Então tudo que você precisa fazer é gerar o arquivo modoverrides.lua. Que você não tem que fazer manualmente. Se você seguir o guia acima, você fará com que o DST crie seus arquivos .lua para você.

Se, no entanto, você estiver usando um método totalmente diferente, compartilhe o guia seguido e poderemos ir a partir daí.

I was following this one, however I never got by mods. But I'll try this one, thank you.

 

Share this post


Link to post
Share on other sites
Zillvr    1,634

@deavepup I noticed something;

[00:00:14]: [Shard] Shard server mode disabled: missing is_master setting.

Is that intentional? Cause it seems you didn't set you server settings.ini file correctly? Does your settings.ini file in DoNotStarveTogether/Cluster_1/Master/ have the following line:

is_master = true

 

Share this post


Link to post
Share on other sites
Zillvr    1,634

Step 8 in this guide for the settings.ini of the Master folder:

[NETWORK]
server_port = 11000


[SHARD]
is_master = true


[STEAM]
master_server_port = 27018
authentication_port = 8768

While the Cave's folder has Step 9:

[NETWORK]
server_port = 11001


[SHARD]
is_master = false
name = Caves


[STEAM]
master_server_port = 27019
authentication_port = 8769

Main difference is the is_master, server_port(s) and master_server_ports(s). All of which much not be identical.

Share this post


Link to post
Share on other sites
deavepup    0
Follow the steps
I will make a new installation
how do I set the port setting

 

Share this post


Link to post
Share on other sites
Zillvr    1,634

@deavepup you simply make the settings.ini file. Also make sure it's a .ini file and not a .txt.ini file.

To make sure it's a .ini file, with your notepad open > Click File > Save As > Write filename "settings.ini" > Click Save as type > Set to All files (*.*) > Save. The file should now be a .ini file.

Then again, doing all of it manually get's tedious. I do recommend the other guide I told franlemes above. (this)

  • Thanks 1

Share this post


Link to post
Share on other sites
deavepup    0
Follow the steps
I did setup
and the problem has been solved
Thank you for your help

 

Share this post


Link to post
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