Jump to content

Trying to set up a dedicated server on Amazon EC2 instance, help?


Recommended Posts

I'm trying to set up a dedicated server on an Amazon EC2 instance. I'm following the guide: http://steamcommunity.com/sharedfiles/filedetails/?id=590565473

I was able to install and run the server, but my server doesn't show up in the DST list of servers. 

cluster.ini

Spoiler

[GAMEPLAY]
game_mode = survival
max_players = 10
pvp = false
pause_when_empty = true

[NETWORK]
cluster_name = test_server
cluster_description = Welcome
cluster_password = beNiceKids
cluster_intention = social
autosaver_enabled = true
enable_vote_kick = false

[MISC]
console_enabled = true

[SHARD]
shard_enabled = true
bind_ip = 127.0.0.1
master_ip = 127.0.0.1
master_port = 10889
cluster_key = dst

Overworld server.ini

Spoiler

[NETWORK]
server_port = 11000


[SHARD]
is_master = true


[STEAM]
master_server_port = 27018
authentication_port = 8768

start script

Spoiler

./dontstarve_dedicated_server_nullrenderer -console -cluster MyDediServer -shard Master

restart script

Spoiler

#!/bin/sh
# launch of server Overworld

#Path Directory
name_folder="/home/dst/server_dst/bin"

#Command line
start_overworld="sh start_overworld.sh"

#Start or Restart the server
screen -dr dst_server1 -X -S quit
cd ${name_folder}
screen -dmS dst_server1 ${start_overworld}

Server logs

Spoiler

[00:00:00]: PersistRootStorage is now /home/dst/.klei//DoNotStarveTogether/MyDediServer/Master/ 
[00:00:00]: Starting Up
[00:00:00]: Version: 198581
[00:00:00]: Current time: Sat Dec  3 22:38:01 2016

[00:00:00]: System Name: Linux
[00:00:00]: Host Name: ip-172-31-16-105
[00:00:00]: Release(Kernel) Version: 4.4.0-45-generic
[00:00:00]: Kernel Build Timestamp: #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016
[00:00:00]: Machine Arch: x86_64
[00:00:00]: Don't Starve Together: 198581 LINUX
[00:00:00]: Build Date: 1537
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: -console -cluster MyDediServer -shard Master 
[00:00:00]: [WARNING] -console has been deprecated: Use the [MISC] / console_enabled setting instead.
[00:00:00]: Initializing distribution platform
[00:00:00]: ....Done
[00:00:00]: THREAD - started 'GAClient' (4133174080)
[00:00:00]: CurlRequestManager::ClientThread::Main()
[00:00:00]: ProfileIndex:5.91
[00:00:00]: [Connect] PendingConnection::Reset(true)
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: OnLoadPermissionList: /home/dst/.klei//DoNotStarveTogether/MyDediServer/blocklist.txt (Failure)
[00:00:00]: OnLoadPermissionList: /home/dst/.klei//DoNotStarveTogether/MyDediServer/adminlist.txt (Failure)
[00:00:00]: OnLoadUserIdList: /home/dst/.klei//DoNotStarveTogether/MyDediServer/whitelist.txt (Failure)
[00:00:00]: THREAD - started 'ConsoleInput' (4126145344)
[00:00:00]: Token retrieved from: /home/dst/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt
[00:00:00]: Token retrieved from: /home/dst/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt
[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:00]: running main.lua
        
[00:00:00]: loaded modindex     
[00:00:00]: ModIndex: Beginning normal load sequence for dedicated server.
        
[00:00:00]: DownloadMods(0)
[00:00:01]: FMOD Error: An invalid object handle was used. 
[00:00:01]: LOADING LUA SUCCESS
[00:00:01]: PlayerDeaths could not load morgue  
[00:00:01]: PlayerHistory could not load player_history 
[00:00:01]: bloom_enabled       false   
[00:00:01]: loaded saveindex    
[00:00:01]: OnFilesLoaded()     
[00:00:01]: OnUpdatePurchaseStateComplete       
[00:00:03]:     Load FE 
[00:00:03]:     Load FE: done   
[00:00:03]: ModIndex: Load sequence finished successfully.      
[00:00:03]: Reset() returning
[00:00:04]: [200] Account Communication Success (6)
[00:00:04]: Received (KU_CNQZ-X6t) from TokenPurpose
[00:00:04]: Starting Dedicated Server Game      
[00:00:04]: Network tick rate: U=15(2), D=0
[00:00:04]: About to start a server with the following settings:
[00:00:04]:   Dedicated: true
[00:00:04]:   Online: true
[00:00:04]:   Passworded: true
[00:00:04]:   ServerPort: 11000
[00:00:04]:   SteamAuthPort: 8768
[00:00:04]:   SteamMasterServerPort: 27018
[00:00:04]:   ClanID: false
[00:00:04]:   ClanOnly: false
[00:00:04]:   ClanAdmin: false
[00:00:04]:   LanOnly: false
[00:00:04]:   FriendsOnly: false
[00:00:04]:   EnableAutosaver: true
[00:00:04]:   PVP: false
[00:00:04]:   MaxPlayers: 10
[00:00:04]:   GameMode: survival
[00:00:04]:   OverridenDNS: 
[00:00:04]:   PauseWhenEmpty: true
[00:00:04]:   VoteEnabled: true
[00:00:04]:   InternetBroadcasting: true
[00:00:04]:   Intent: social
[00:00:04]: Online Server Started on port: 11000
[00:00:04]: Collecting garbage...
[00:00:04]: lua_gc took 0.01 seconds
[00:00:04]: ~ShardLuaProxy()
[00:00:04]: ~ItemServerLuaProxy()
[00:00:04]: ~InventoryLuaProxy()
[00:00:04]: ~NetworkLuaProxy()
[00:00:04]: ~SimLuaProxy()
[00:00:04]: lua_close took 0.02 seconds
[00:00:04]: ReleaseAll
[00:00:04]: ReleaseAll Finished
[00:00:04]: cGame::StartPlaying
[00:00:04]: LOADING LUA[00:00:04]: DoLuaFile scripts/main.lua
[00:00:04]: DoLuaFile loading buffer scripts/main.lua
[00:00:04]: running main.lua
        
[00:00:04]: loaded modindex     
[00:00:04]: ModIndex: Beginning normal load sequence for dedicated server.
        
[00:00:04]: LOADING LUA SUCCESS
[00:00:04]: PlayerDeaths could not load morgue  
[00:00:04]: PlayerHistory could not load player_history 
[00:00:04]: bloom_enabled       false   
[00:00:04]: loaded saveindex    
[00:00:04]: OnFilesLoaded()     
[00:00:04]: OnUpdatePurchaseStateComplete       
[00:00:04]:     Unload FE       
[00:00:04]:     Unload FE done  
[00:00:05]:     LOAD BE 
[00:00:07]:     LOAD BE: done   
[00:00:07]: Loading world: session/5432CB72C2272644/0000000005  
[00:00:07]: Save file is at version 4.4 
[00:00:07]: Begin Session: 5432CB72C2272644
[00:00:07]: saving to server_temp/server_save   
[00:00:07]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
[00:00:08]: Loading Nav Grid    
[00:00:08]: setting     summerlength    15      
[00:00:08]: setting     isnightmaredawn false   
[00:00:08]: setting     elapseddaysinseason     0       
[00:00:08]: setting     isfullmoon      false   
[00:00:08]: setting     moisture        0.058333333581686       
[00:00:08]: setting     springlength    20      
[00:00:08]: setting     isnightmarewild false   
[00:00:08]: setting     moonphase       new     
[00:00:08]: setting     precipitationrate       0       
[00:00:08]: setting     iswet   false   
[00:00:08]: setting     isnewmoon       false   
[00:00:08]: setting     iswinter        false   
[00:00:08]: setting     israining       false   
[00:00:08]: setting     isnightmarewarn false   
[00:00:08]: setting     precipitation   none    
[00:00:08]: setting     cavephase       day     
[00:00:08]: setting     moistureceil    662.91424560547 
[00:00:08]: setting     isday   true    
[00:00:08]: setting     iscaveday       true    
[00:00:08]: setting     season  autumn  
[00:00:08]: setting     timeinphase     0.00097242991129554     
[00:00:08]: setting     temperature     30.059774963915 
[00:00:08]: setting     isnightmarecalm false   
[00:00:08]: setting     isnight false   
[00:00:08]: setting     isdusk  false   
[00:00:08]: setting     iscavedusk      false   
[00:00:08]: setting     isautumn        true    
[00:00:08]: setting     issnowing       false   
[00:00:08]: setting     iswaxingmoon    true    
[00:00:08]: setting     pop     8.7995293461234e-05     
[00:00:08]: setting     snowlevel       0

[00:00:08]: setting     issnowcovered   false   
[00:00:08]: setting     autumnlength    20      
[00:00:08]: setting     phase   day     
[00:00:08]: setting     nightmaretime   0       
[00:00:08]: setting     winterlength    15      
[00:00:08]: setting     isspring        false   
[00:00:08]: setting     nightmarephase  none    
[00:00:08]: setting     remainingdaysinseason   20      
[00:00:08]: setting     cycles  0       
[00:00:08]: setting     iscavenight     false   
[00:00:08]: setting     nightmaretimeinphase    0       
[00:00:08]: setting     wetness 0       
[00:00:08]: setting     time    0.00048621495564777     
[00:00:08]: setting     issummer        false   
[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]: 1 uploads added to server. From server_temp
[00:00:12]: About to start a shard with these settings:
[00:00:12]:   ShardName: [SHDMASTER]
[00:00:12]:   ShardID: 1
[00:00:12]:   ShardRole: MASTER
[00:00:12]:   MasterHost: (null)
[00:00:12]:   MasterBind: 127.0.0.1
[00:00:12]:   MasterPort: 10889
[00:00:12]: [Shard] Starting master server
[00:00:12]: [Shard] Shard server started on port: 10889
[00:00:12]: Telling Client our new session identifier: 5432CB72C2272644
[00:00:12]: ModIndex: Load sequence finished successfully.      
[00:00:12]: Reset() returning
[00:00:12]: [Steam] SteamGameServer_Init(8768, 11000, 27018)
[00:00:12]: [Steam] SteamGameServer_Init success
[00:00:12]: Validating portal[4] <-> <nil>[4] (inactive)        
[00:00:13]: Validating portal[10] <-> <nil>[10] (inactive)      
[00:00:13]: Validating portal[1] <-> <nil>[1] (inactive)        
[00:00:13]: Validating portal[6] <-> <nil>[6] (inactive)        
[00:00:13]: Validating portal[7] <-> <nil>[7] (inactive)        
[00:00:13]: Validating portal[5] <-> <nil>[5] (inactive)        
[00:00:13]: Validating portal[8] <-> <nil>[8] (inactive)        
[00:00:13]: Validating portal[2] <-> <nil>[2] (inactive)        
[00:00:13]: Validating portal[9] <-> <nil>[9] (inactive)        
[00:00:13]: Validating portal[3] <-> <nil>[3] (inactive)        
[00:00:13]: Sim paused

Thoughts?

Link to comment
Share on other sites

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.

×
  • Create New...