Instantiation Posted November 21, 2015 Share Posted November 21, 2015 I installed the dedicated server beta and followed the guides I found until I got the server running, caves and all. Port forwarding at the router level, settings.ini, and saveindex values copied from a briefly hosted non-dedicated world. I got it up and running, had a friend join, and we played for a while. I also had several random players join the server. (Recruiting has never been easier.) Here are the first 17 lines of my saveindex file (the Overworld copy):KLEI 1 return { last_used_slot=1, slots={ { enabled_mods={ }, server={ clan={ admin=false, id="", only=false }, description="A story involving one or more caves.", game_mode="survival", intention="cooperative", max_players=6, name="Incipient Journey", online_mode=true, password="", privacy_type=1, pvp=false }, I thought that privacy_type=1 was set because in the regular game I set up, I chose the 'friends only' option. I then copied this setting into the dedicated server's corresponding file. How am I supposed to enforce this? Is there a value in settings.ini to set? Link to comment Share on other sites More sharing options...
Instantiation Posted November 21, 2015 Author Share Posted November 21, 2015 Anyone can join my dedicated server. This is not the desired configuration. I do need connections outside of LAN (or I wouldn't have done the port forwarding). Link to comment Share on other sites More sharing options...
JRMC Posted November 22, 2015 Share Posted November 22, 2015 I would like to know this, as well. - I did, however, changed my server slots from 6 to 2, but who's to say that I won't get other players, regardless? I could also set my server to be LAN only, and proceed to start up Hamachi, if that's the only solution, but it's a tad bothersome. Link to comment Share on other sites More sharing options...
Instantiation Posted November 23, 2015 Author Share Posted November 23, 2015 In the meantime I set a password in the overworld's settings.ini (not to be confused with the saveindex password, which might do nothing).I just now saw this topic, so I'll test that soon. I don't really mean to give access to all the steam friends I've made, so a whitelist seems like a good approach if it works. I suspect that the trouble is that a dedicated server isn't "me" so it doesn't have my friends and therefore doesn't respect the same setting that the player-hosted server would. Link to comment Share on other sites More sharing options...
Developer Ipsquiggle Posted November 23, 2015 Developer Share Posted November 23, 2015 Hey there, you are correct that the server can't know about your friends directly... The two options you have for a dedicated server are, either a password, or start up a Steam Group and invite people to that, then, in settings.ini under [network] do:steam_group_id = yourgroupidsteam_group_only = truesteam_group_admins = true The advantage of using a steam group is you can kick people from the group and not have to worry about new passwords; as well you can make people group officers (give them a gold star in the steam group) to give them admin rights on your server using that last setting. Link to comment Share on other sites More sharing options...
Instantiation Posted November 24, 2015 Author Share Posted November 24, 2015 Alright. Thanks for the confirmation. Is the whitelist thing true? It's hard to verify because it appears to have no impact on the UI, unlike password protection. Link to comment Share on other sites More sharing options...
Desim Posted January 22, 2016 Share Posted January 22, 2016 On 23/11/2015 at 8:15 PM, Ipsquiggle said: Hey there, you are correct that the server can't know about your friends directly... The two options you have for a dedicated server are, either a password, or start up a Steam Group and invite people to that, then, in settings.ini under [network] do: steam_group_id = yourgroupid steam_group_only = true steam_group_admins = true The advantage of using a steam group is you can kick people from the group and not have to worry about new passwords; as well you can make people group officers (give them a gold star in the steam group) to give them admin rights on your server using that last setting. Hello, I'm trying to use those settings but when I set the option "steam_group_only = true", no member of my group is allowed to join except GSA. This is the log bit when someone tries to connect: Spoiler [00:01:09]: Client connected from 10.237.138.52|51715 <3882238999507029111> [00:01:09]: ValidateGameSessionToken re^eyJVc2VySUQiOiJLVV9HX3hzZl9BTyIsIkdhbWUiOiJEb250U3RhcnZlVG9nZXRoZXIiLCJQdXJwb3NlIjoiR2FtZVNlc3Npb24ifQ==^SjKA2995EoihlUGbyAEDuF0DA3wPzx2p for <3882238999507029111> [00:01:09]: Client authenticated: (KU_G_xsf_AO) Friendly_Player [00:01:09]: [Warning] SendUserConnectAndAuthenticate failed for '765611......26372' (88.....82) [00:01:09]: [Steam] Could not authenticate '765611......26372' [00:01:09]: CloseConnectionWithReason: ID_DST_SERVER_IS_CLAN_ONLY [00:01:09]: [Steam] SendUserDisconnect for '765611......26372' Full Server log: Spoiler [00:00:00]: Starting Up [00:00:00]: Version: 163306 [00:00:00]: Current time: Fri Jan 22 20:48:18 2016 [00:00:00]: Don't Starve Together: 163306 WIN32 NNN Build Date: 2016-01-21_17-05-47 [00:00:00]: Parsing command line [00:00:00]: Command Line Arguments: -conf_dir myDSTserver -console [00:00:00]: Initializing Minidump handler [00:00:00]: ....Done [00:00:00]: Fixing DPI [00:00:00]: ...Done [00:00:00]: THREAD - started 'GAClient' (9532) [00:00:00]: CurlRequestManager::ClientThread::Main() [00:00:00]: ProfileIndex:4.13 [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=30(1), D=0 [00:00:00]: Authorized application D:\Games\Steam\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/myDSTserver/save/blocklist.txt (Failure) [00:00:00]: THREAD - started 'ConsoleInput' (9828) [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]: 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]: scripts/main.lua(166,1) 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:00]: 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:02]: Load FE [00:00:02]: Load FE: done [00:00:02]: ModIndex: Load sequence finished successfully. [00:00:02]: Reset() returning [00:00:04]: [200] Account Communication Success (6) [00:00:04]: Received (KU_TqmUEXU9) from TokenPurpose [00:00:04]: Starting Dedicated Server Game [00:00:04]: Network tick rate: U=30(1), 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: false [00:00:04]: ServerPort: 10999 [00:00:04]: SteamAuthPort: 8766 [00:00:04]: SteamMasterServerPort: 27016 [00:00:04]: ClanID: true [00:00:04]: ClanOnly: true [00:00:04]: ClanAdmin: false [00:00:04]: LanOnly: false [00:00:04]: EnablePunchthrough: false [00:00:04]: EnableAutosaver: true [00:00:04]: PVP: false [00:00:04]: MaxPlayers: 6 [00:00:04]: GameMode: endless [00:00:04]: OverridenDNS: [00:00:04]: PauseWhenEmpty: true [00:00:04]: InternetBroadcasting: true [00:00:04]: Intent: cooperative [00:00:04]: [Warning] Could not confirm port 10999 is open in the firewall. [00:00:04]: Shard server mode disabled: missing shard_enable setting. [00:00:04]: [Shard] Shard server mode disabled by configuration file [00:00:04]: Online Server Started on port: 10999 [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.03 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]: scripts/main.lua(166,1) 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:06]: LOAD BE: done [00:00:06]: Loading world: session/3FE86A6F866C021B/0000000014 [00:00:06]: Save file is at version 1 [00:00:06]: Begin Session: 3FE86A6F866C021B [00:00:06]: saving to server_temp/server_save [00:00:06]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml ) [00:00:07]: Could not preload undefined prefab 0x1872ccf0 (FROMNUM) [00:00:07]: Loading Nav Grid [00:00:07]: setting summerlength 15 [00:00:07]: setting isnightmaredawn false [00:00:07]: setting elapseddaysinseason 12 [00:00:07]: setting isfullmoon false [00:00:07]: setting moisture 1684.0202636719 [00:00:07]: setting cavephase day [00:00:07]: setting isnightmarewild false [00:00:07]: setting moonphase threequarter [00:00:07]: setting precipitationrate 0 [00:00:07]: setting iswet false [00:00:07]: setting winterlength 15 [00:00:07]: setting temperature 15.205415890144 [00:00:07]: setting isnightmarewarn false [00:00:07]: setting iswinter false [00:00:07]: setting moistureceil 5074.1391601563 [00:00:07]: setting isday true [00:00:07]: setting israining false [00:00:07]: setting remainingdaysinseason 8 [00:00:07]: setting precipitation none [00:00:07]: setting wetness 0 [00:00:07]: setting isnightmarecalm false [00:00:07]: setting timeinphase 0.0047358921595982 [00:00:07]: setting isdusk false [00:00:07]: setting iscavedusk false [00:00:07]: setting isautumn true [00:00:07]: setting issnowing false [00:00:07]: setting iscaveday true [00:00:07]: setting phase day [00:00:07]: setting snowlevel 0 [00:00:07]: setting issnowcovered false [00:00:07]: setting autumnlength 20 [00:00:07]: setting pop 0.28195793147752 [00:00:07]: setting nightmaretime 0 [00:00:07]: setting springlength 20 [00:00:07]: setting isspring false [00:00:07]: setting nightmarephase none [00:00:07]: setting season autumn [00:00:07]: setting time 0.0020719528198242 [00:00:07]: setting iscavenight false [00:00:07]: setting cycles 12 [00:00:07]: setting isnight false [00:00:07]: setting nightmaretimeinphase 0 [00:00:07]: setting issummer false [00:00:09]: Reconstructing topology [00:00:09]: ...Sorting points [00:00:09]: ...Sorting edges [00:00:09]: ...Connecting nodes [00:00:09]: ...Validating connections [00:00:09]: ...Housekeeping [00:00:09]: ...Done! [00:00:09]: Truncating to snapshot #14... [00:00:09]: - session/3FE86A6F866C021B/KU_7krYhybV_/0000000015 [00:00:09]: 1 file(s) removed [00:00:09]: Restoring user: session/3FE86A6F866C021B/KU_TqmUEXU9_/0000000014 [00:00:09]: Can't find prefab ruk [00:00:09]: Restoring user: session/3FE86A6F866C021B/KU_7krYhybV_/0000000014 [00:00:09]: Serializing user: session/3FE86A6F866C021B/KU_7krYhybV_/0000000015 [00:00:09]: 1 uploads added to server. From server_temp [00:00:09]: Telling Client our new session identifier: 3FE86A6F866C021B [00:00:09]: ModIndex: Load sequence finished successfully. [00:00:09]: Reset() returning [00:00:09]: [Steam] SteamGameServer_Init(8766, 10999, 27016) [00:00:09]: [Steam] SteamGameServer_Init success [00:00:09]: Validating portal[7] <-> <nil>[7] (inactive) [00:00:09]: Validating portal[9] <-> <nil>[9] (inactive) [00:00:09]: Validating portal[1] <-> <nil>[1] (inactive) [00:00:09]: Validating portal[5] <-> <nil>[5] (inactive) [00:00:09]: Validating portal[10] <-> <nil>[10] (inactive) [00:00:09]: Validating portal[2] <-> <nil>[2] (inactive) [00:00:09]: Validating portal[6] <-> <nil>[6] (inactive) [00:00:09]: Validating portal[8] <-> <nil>[8] (inactive) [00:00:09]: Validating portal[4] <-> <nil>[4] (inactive) [00:00:09]: Validating portal[3] <-> <nil>[3] (inactive) [00:00:09]: Sim paused [00:00:30]: New incoming connection 10.237.138.52|61624 <4248686560440149707> [00:00:30]: Client connected from 10.237.138.52|61624 <4248686560440149707> [00:00:30]: ValidateGameSessionToken re^eyJVc2VySUQiOiJLVV9HX3hzZl9BTyIsIkdhbWUiOiJEb250U3RhcnZlVG9nZXRoZXIiLCJQdXJwb3NlIjoiR2FtZVNlc3Npb24ifQ==^yyRRxaszcqP83vV/KMhNu98RHof3tU/X for <4248686560440149707> [00:00:30]: Client authenticated: (KU_G_xsf_AO) Friendly_Player [00:00:30]: [Warning] SendUserConnectAndAuthenticate failed for '765.............372' (88......82) [00:00:30]: [Steam] Could not authenticate '765............72' [00:00:30]: CloseConnectionWithReason: ID_DST_SERVER_IS_CLAN_ONLY [00:00:30]: [Steam] SendUserDisconnect for '765.............72' [00:01:09]: New incoming connection 10.237.138.52|51715 <3882238999507029111> [00:01:09]: Client connected from 10.237.138.52|51715 <3882238999507029111> [00:01:09]: ValidateGameSessionToken re^eyJVc2VySUQiOiJLVV9HX3hzZl9BTyIsIkdhbWUiOiJEb250U3RhcnZlVG9nZXRoZXIiLCJQdXJwb3NlIjoiR2FtZVNlc3Npb24ifQ==^SjKA2995EoihlUGbyAEDuF0DA3wPzx2p for <3882238999507029111> [00:01:09]: Client authenticated: (KU_G_xsf_AO) Friendly_Player [00:01:09]: [Warning] SendUserConnectAndAuthenticate failed for '765............72' (88......82) [00:01:09]: [Steam] Could not authenticate '765............72' [00:01:09]: CloseConnectionWithReason: ID_DST_SERVER_IS_CLAN_ONLY [00:01:09]: [Steam] SendUserDisconnect for '765.............72' [00:01:20]: [Steam] SendUserDisconnect for '' [00:01:20]: Collecting garbage... [00:01:20]: lua_gc took 0.06 seconds [00:01:20]: ~ShardLuaProxy() [00:01:20]: ~ItemServerLuaProxy() [00:01:20]: ~InventoryLuaProxy() [00:01:20]: ~NetworkLuaProxy() [00:01:20]: ~SimLuaProxy() [00:01:20]: lua_close took 0.14 seconds [00:01:21]: Could not unload undefined prefab 0x1872ccf0 (FROMNUM) [00:01:21]: CurlRequestManager::ClientThread::Main() complete [00:01:21]: HttpClient2 discarded 1 callbacks. [00:01:21]: Shutting down Note: I've edited out the steam player id's to not raise privacy issues to the other people involved in this. I hope there's still help to be found here Link to comment Share on other sites More sharing options...
Rzztmass Posted January 31, 2016 Share Posted January 31, 2016 I have the same problem. Steam has no problem authenticating the GSA, but doesn't do it for anyone else: [00:00:54]: New incoming connection 192.168.56.1|50123 <278773819805035135> [00:00:54]: Client connected from [LAN] 192.168.56.1|50123 <278773819805035135> [00:00:54]: ValidateGameSessionToken re^eyJVc2VySUQiOiJLVV8zNVNpN0VBUCIsIkdhbWUiOiJEb250U3RhcnZlVG9nZXRoZXIiLCJQdXJwb3NlIjoiR2FtZVNlc3Npb24ifQ==^wScH+EtpgDPn4DfWD3V5WICBHCPZQ0/9 for <278773819805035135> [00:00:54]: Client authenticated: (KU_*) Me (GSA) [00:00:54]: [Steam] Authenticated host '765...' [00:01:02]: Resuming user: session/22B925FA1928571A/KU_*_ [00:02:04]: New incoming connection 192.168.10.107|57769 <737482664279310787> [00:02:04]: Client connected from [LAN] 192.168.10.107|57769 <737482664279310787> [00:02:04]: ValidateGameSessionToken re^eyJVc2VySUQiOiJLVV9MNmpwVVhSaCIsIkdhbWUiOiJEb250U3RhcnZlVG9nZXRoZXIiLCJQdXJwb3NlIjoiR2FtZVNlc3Npb24ifQ==^cEvuYy8doKNjHgHXFkGUEa3YFtQhWc6C for <737482664279310787> [00:02:05]: Client authenticated: (KU_*) Friend [00:02:05]: [Warning] SendUserConnectAndAuthenticate failed for '765...' (1...4) [00:02:05]: [Steam] Could not authenticate '765...' [00:02:05]: CloseConnectionWithReason: ID_DST_SERVER_IS_CLAN_ONLY [00:02:05]: [Steam] SendUserDisconnect for '76561198114335962' Any idea what might be causing this? Link to comment 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.