Jump to content

I Need Help with Creating my own Dedicated Server!


Recommended Posts

I have been at it for three days now and this is getting very frustrating. I have been working on a server with this tutorial, but keep getting the same error message (near the bottom):

 

[00:00:00]:
System Memory:
        Memory Load: 50%
        Available Physical Memory: 2003m/4046m
        Available Page File: 2998m/5996m
        Available Virtual Memory: 3998m/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: 179k
        Quota Page Pool Usage: 179k
        Quota Peak Non Paged Pool Usage:14k
        Quota Non Paged Pool Usage: 13k
        Page File Usage: 3m
        Peak Page File Usage: 3m
[00:00:00]: PersistRootStorage is now APP:Klei//DoNotStarveTogether/MyDediServer/Caves/
[00:00:00]: Starting Up
[00:00:00]: Version: 203787
[00:00:00]: Current time: Thu Feb 02 17:38:18 2017

[00:00:00]: Don't Starve Together: 203787 WIN32
[00:00:00]: Build Date: 1796
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: -console -cluster MyDediServer -shard Caves
[00:00:00]: [WARNING] -console has been deprecated: Use the [MISC] / console_enabled setting instead.
[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' (8260)
[00:00:00]: CurlRequestManager::ClientThread::Main()
[00:00:00]: ProfileIndex:3.14
[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]: Authorized application c:\steamcmd\steamapps\common\Don't Starve Together Dedicated Server\bin\dontstarve_dedicated_server_nullrenderer.exe is enabled in the firewall.
[00:00:00]: WindowsFirewall - Application already authorized
[00:00:00]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/MyDediServer/blocklist.txt (Failure)
[00:00:00]: THREAD - started 'ConsoleInput' (5752)
[00:00:00]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/MyDediServer/adminlist.txt (Failure)
[00:00:00]: OnLoadUserIdList: APP:Klei//DoNotStarveTogether/MyDediServer/whitelist.txt (Failure)
[00:00:00]: Token retrieved from: APP:Klei//DoNotStarveTogether/MyDediServer/cluster_token.txt
[00:00:00]: Token retrieved from: APP:Klei//DoNotStarveTogether/MyDediServer/cluster_token.txt
[00:00:00]: HardwareStats:
  OS
    name                      Microsoft Windows 10 Home
    version                   10.0.14393
    architecture              64-bit
    platformSpecific          SP 0.0
  CPU
    numCores                  2
    features                  SSE,SSE2,SSE3,SSSE3,SSE41,SSE42,AVX
    name                      Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
    manufacturer              GenuineIntel
    clockSpeed                3700
  RAM
    megsOfRam                 4096
  GPU
    name                      AMD Radeon (TM) R9 380 Series
    driverDate                20161121000000.000000-000
    megsOfRam                 4095
    refreshRate               60
    videoModeDescription      1920 x 1080 x 4294967296 colors
    driverVersion             21.19.137.514

[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:02]: running main.lua

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

[00:00:02]: DownloadMods(0)
[00:00:04]: FMOD Error: An invalid object handle was used.
[00:00:05]: LOADING LUA SUCCESS
[00:00:05]: PlayerDeaths could not load morgue
[00:00:05]: PlayerHistory could not load player_history
[00:00:05]: bloom_enabled       false
[00:00:05]: loaded saveindex
[00:00:05]: OnFilesLoaded()
[00:00:05]: OnUpdatePurchaseStateComplete
[00:00:40]:     Load FE
[00:00:40]:     Load FE: done
[00:00:40]: ModIndex: Load sequence finished successfully.
[00:00:40]: Reset() returning
[00:00:41]: [200] Account Communication Success (6)
[00:00:41]: Received (KU_rltd6B2a) from TokenPurpose
[00:00:41]: Starting Dedicated Server Game
[00:00:41]: Network tick rate: U=15(2), D=0
[00:00:41]: About to start a server with the following settings:
[00:00:41]:   Dedicated: true
[00:00:41]:   Online: true
[00:00:41]:   Passworded: false
[00:00:41]:   ServerPort: 10999
[00:00:41]:   SteamAuthPort: 8766
[00:00:41]:   SteamMasterServerPort: 27016
[00:00:41]:   ClanID: false
[00:00:41]:   ClanOnly: false
[00:00:41]:   ClanAdmin: false
[00:00:41]:   LanOnly: false
[00:00:41]:   FriendsOnly: false
[00:00:41]:   EnableAutosaver: true
[00:00:41]:   PVP: false
[00:00:41]:   MaxPlayers: 6
[00:00:41]:   GameMode: survival
[00:00:41]:   OverridenDNS:
[00:00:41]:   PauseWhenEmpty: true
[00:00:41]:   VoteEnabled: true
[00:00:41]:   InternetBroadcasting: true
[00:00:41]:   Intent: cooperative
[00:00:41]: [Warning] Could not confirm port 10999 is open in the firewall.
[00:00:41]: Shard server mode disabled: missing is_master setting.
[00:00:41]: [Shard] Missing 'is_master' config field.
[00:00:41]: [Error] Server failed to start!
[00:00:41]: Unhandled exception during server startup: RakNet UDP startup failed: SOCKET_PORT_ALREADY_IN_USE (5)
[00:00:41]: PushNetworkDisconnectEvent With Reason: "ID_DST_INITIALIZATION_FAILED", reset: false
[00:00:41]: Details: SOCKET_PORT_ALREADY_IN_USE

Could someone explain the issue to me so I can solve it? Thanks!

Link to comment
Share on other sites

54 minutes ago, Chillaxin said:

I have not tried using another port. I don't know how. I've been trying to make a default server just like the guide.

Try to use the launch parameter in your dedicated server -port [number] (Without the [ ])

Example: -port 1234

I'd suggest trying at least 3 different ports, by the way, you should use the edit button.

Link to comment
Share on other sites

4 hours ago, Chillaxin said:

I've tried several combinations of numbers. They either say the socket port is already in use or it can't find an open port between 27016 and 27016

I keep trying diferent numbers but the 27016 keeps popping up.

Either allow the ports to go trough the firewall of your computer and modem, or disable the firewall for both. Although I'd hope you have at least a good anti-virus for the second option.

Firewalls block incoming connections unless they are allowed to, that could be the issue.

Link to comment
Share on other sites

Yeah, I've already disabled the firewalls then running the bat and got the same errors. Since I got no results, I renabled the firewalls.

I made sure to add exceptions for port 10999 in the firewall settings but still no luck. Lots of friends on different machines having the same problems and gave up solving this months ago.

Link to comment
Share on other sites

6 hours ago, Chillaxin said:

Yeah, I've already disabled the firewalls then running the bat and got the same errors. Since I got no results, I renabled the firewalls.

I made sure to add exceptions for port 10999 in the firewall settings but still no luck. Lots of friends on different machines having the same problems and gave up solving this months ago.

Strange, can you try to start CMD/Command Prompt (Assuming you have Windows) and do the following? It will let you see what ports are in use.

  1. Type:
    netstat -a -b
  2. Hit enter.
  3. Check by yourself the ports that are in use in this same window, and use one that isn't being used.

If you don't know how to start CMD, just search for it as you would with any other file, and then just start it.

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...