Tiax Posted September 22, 2015 Share Posted September 22, 2015 Running into this weird issue, after setting up dedicated server - I'm obviously missing something:When I disconnect and connect to the server again, it always puts me to the char seletion screen. My previous char is apparently always wiped, even though the world is still the same.When I shutdown the server (c_save(), c_shutdown()), it always generates a new world when I start it up again - it's like it cannot read the saved data, even though it's there on the file system! ~/.klei/DST_MAIN/settings.ini[MISC]CONSOLE_ENABLED = trueautocompiler_enabled = true[network]default_server_name = some nameserver_port = 10999server_password = some secretmax_players = 10pvp = falsegame_mode = endlesstick_rate = 30enable_vote_kick = falseconnection_timeout = 8000Starting server via#!/bin/shcd ~/Steam/steamapps/common/Don\'t\ Starve\ Together\ Dedicated\ Server/bin/./dontstarve_dedicated_server_nullrenderer -console -conf_dir DST_MAINLOG: Server startup (note it creates a new world, even though I save before shutting down previously...):Starting UpVersion: 150506Current time: Tue Sep 22 22:58:31 2015System Name: LinuxHost Name: ******Release(Kernel) Version: 3.10.0-229.7.2.el7.x86_64Kernel Build Timestamp: #1 SMP Tue Jun 23 22:06:11 UTC 2015Machine Arch: x86_64Don't Starve Together: 150506 LINUXNNN Build Date: 2015-09-18_16-33-33Parsing command lineCommand Line Arguments: -console -conf_dir DST_MAINTHREAD - started 'GAClient' (4135328576)HttpClient2::ClientThread::Main()ProfileIndex:6.57Network tick rate: U=15(2), D=0Network tick rate: U=30(1), D=0THREAD - started 'ConsoleInput' (4128242496)OnLoadPermissionList: /home/steam/.klei/DST_MAIN/save/blocklist.txt (Failure)OnLoadPermissionList: /home/steam/.klei/DST_MAIN/save/adminlist.txt (Failure)OnLoadUserIdList: /home/steam/.klei/DST_MAIN/save/whitelist.txt (Failure)Server token retrieved from: server_token.txtcGame::InitializeOnMainThreadRenderer initialize: OkayAnimManager initialize: OkayBuffers initialize: OkaycDontStarveGame::DoGameSpecificInitialize()FMOD Error: An invalid object handle was used.GameSpecific initialize: OkaycGame::StartPlayingLOADING LUADoLuaFile scripts/main.luaDoLuaFile loading buffer scripts/main.luascripts/main.lua(170,1) running main.lualoaded modindexModIndex: Beginning normal load sequence for dedicated server.DownloadMods(0)FMOD Error: An invalid object handle was used.LOADING LUA SUCCESSPlayerDeaths could not load morguePlayerHistory could not load player_history_stagingloaded profilebloom_enabled falseloaded saveindexOnFilesLoaded()OnUpdatePurchaseStateComplete Load FE Load FE: doneModIndex: Load sequence finished successfully.Reset() returning[200] Account Communication Success (6)[ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_6MrNG5kUStarting Dedicated Server GameNetwork tick rate: U=30(1), D=0Shard server mode disabled: missing shard_enable setting.Online Server Started on port: 10999Collecting garbage...lua_gc took 0.03 seconds~ShardLuaProxy()~NetworkLuaProxy()~SimLuaProxy()lua_close took 0.03 secondsReleaseAllReleaseAll FinishedcGame::StartPlayingLOADING LUADoLuaFile scripts/main.luaDoLuaFile loading buffer scripts/main.luascripts/main.lua(170,1) running main.lualoaded modindexModIndex: Beginning normal load sequence for dedicated server.LOADING LUA SUCCESSPlayerDeaths could not load morguePlayerHistory could not load player_history_stagingloaded profilebloom_enabled falseloaded saveindexOnFilesLoaded()OnUpdatePurchaseStateCompleteLoad Slot: ... generating new worldWorldSim::SimThread::SimThread()ABOUT TO INSTALL STACKTRACEDoLuaFile scripts/stacktrace.luaDoLuaFile loading buffer scripts/stacktrace.luaINSTALLED STACKTRACEWorldSim::SimThread::SimThread() completeTHREAD - started 'WorldSim' (4082907968)WorldSim::SimThread::Main()DoLuaFile scripts/worldgen_main.luaDoLuaFile loading buffer scripts/worldgen_main.luaModIndex: Load sequence finished successfully.Reset() returningDLC enabled : falsescripts/worldgen_main.lua(80,1) running worldgen_main.luascripts/worldgen_main.lua(82,1) SEED = 1442955514 K: level_type V: survival K: current_level V: 1 K: profiledata V table: 0xf2f42d98 K: controls V table: 0xf2f42ec0 K: unlocked_worldgen V table: 0xf2f42030 K: device_caps_b V: 4 K: render_quality V: 1 K: device_caps_a V: 1442951071 K: starts V: 1 K: saw_display_adjustment_popup V: false K: autosave V: true K: customizationpresets V table: 0xf2f43150 K: DLCEnabled V table: 0xf2f422c0 K: 1 V: false K: world_gen_choices V table: 0xf2f41cb0 K: monsters V: default K: resources V: default K: unprepared V: default K: animals V: defaultscripts/worldgen_main.lua(461,1)######### Generating SURVIVAL Mode Level########scripts/worldgen_main.lua(469,1) WORLDGEN PRESET: SURVIVAL_TOGETHERscripts/worldgen_main.lua(477,1) WORLDGEN LEVEL ID: 1scripts/worldgen_main.lua(484,1)######### Generating Normal Mode Together Forever Level SURVIVAL_TOGETHER########Creating story...LinkNodesByKeysFinding valid start task... ...picked Make a pickHas start node ClearingBaking map... 350[WorldSimActual::GenerateVoronoiMap]GenerateVoronoiMap [1]:...Done.[AddEmptyNodes]GenerateVoronoiMap [100]:...Done.[WorldSimActual::GenerateVoronoiMap] complete [success][WorldSimActual::ConvertToTileMap][ConvertToTileMap][WorldSimActual::ConvertToTileMap] complete[WorldSimActual::SeparateIslands][SeparateIslands][WorldSimActual::SeparateIslands] completeMap Baked![WorldSimActual::ForceConnectivity][GenerateLandmasses][MergeConnectedLandmasses] true[WorldSimActual::ForceConnectivity] complete[GetWormholesExtra] connected 0 unconnected 1[GetWormholesExtra] after: connected 1 unconnected 0[GetWormholesExtra] pushed 0 wormholes[WorldSimActual::DrawRoads][DrawRoads][WorldSimActual::DrawRoads] completeEncoding...Encoding... DONEChecking TagsPopulating voronoi...Warning! Could not find a spot for Maxwell3 in node Great Plains:4:PlainWarning! Could not find a spot for Maxwell6 in node Oasis:BG_85:BGBadlandsWarning! Could not find a spot for CaveEntrance in node Magic meadow:BG_15:ClearingWarning! Could not find a spot for WormholeGrass in node Magic meadow:BG_15:ClearingWarning! Could not find a spot for DefaultPigking in node Speak to the king:7:PigKingdomdisconnected tiles... 0GAME_root Populating 0 nodes...Make a pick Populating 24 nodes...Magic meadow Populating 8 nodes...LOOP_BLANK1 Populating 2 nodes...Badlands Populating 22 nodes...Great Plains Populating 14 nodes...Squeltch Populating 16 nodes...Mole Colony Deciduous Populating 9 nodes...Dig that rock Populating 11 nodes...For a nice walk Populating 28 nodes...Speak to the king Populating 15 nodes...Forest hunters Populating 10 nodes...MooseBreedingTask Populating 2 nodes...Oasis Populating 9 nodes...Make A Beehat Populating 7 nodes...Beeeees! Populating 15 nodes...Done forest map gen!scripts/worldgen_main.lua(248,1) Checking map...scripts/worldgen_main.lua(593,1) Generation completeWorldSim::SimThread::Main() completeSerializing world session to session/00000000430B8829/0000000002 Unload FE Unload FE done LOAD BE LOAD BE: doneBegin Session: 00000000430B8829saving to server_temp/server_saveMiniMapComponent::AddAtlas( minimap/minimap_data.xml )Loading Nav GridValidating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: falseValidating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: falseValidating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: falseValidating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: falseValidating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: falseValidating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: falseReconstructing topology ...Sorting points ...Sorting edges ...Connecting nodes ...Validating connections ...Housekeeping ...Done!1 uploads added to server. From server_tempTelling Client our new session identifier: 00000000430B8829SteamGameServer_Init Success[SHARD] Registering portal ID #1Validating 1, which is disabled by prefab: status: INACTIVE world: <nil> available: false[SHARD] Registering portal ID #2Validating 2, which is disabled by prefab: status: INACTIVE world: <nil> available: false[SHARD] Registering portal ID #3Validating 3, which is disabled by prefab: status: INACTIVE world: <nil> available: false[SHARD] Registering portal ID #4Validating 4, which is disabled by prefab: status: INACTIVE world: <nil> available: false[SHARD] Registering portal ID #5Validating 5, which is disabled by prefab: status: INACTIVE world: <nil> available: false[SHARD] Registering portal ID #6Validating 6, which is disabled by prefab: status: INACTIVE world: <nil> available: falseLOG: Connecting, picking a char:New incoming connection 77.9.xxx.xxx|65202 GUID: 202662320480116169Client connected from IP: 77.9.xxx.xxxValidateGameSessionToken token: 7tULJu0nlLuvDRp2IyHwSA+JCtdPMlTk for: 202662320480116169SendHandShakeServerListing[Steam] UserConnectAndAuthenticate successfully sent for steamid '76561197963630190'ReceiveResumeRequestReceived request to resume from: session/00000000430B8829/KU_6MrNG5kU_OnResumeRequestLoadComplete - UserID KU_6MrNG5kUReceived request to spawn as wilson from Tiax[Fixed] SPAWNING PLAYER AT: (-196.00, 0.00, -228.00)Serializing user session to session/00000000430B8829/KU_6MrNG5kU_/0000000003[Announcement] join_game Tiax has joined the game.LOG: Move around a bit, disconnect:[Announcement] leave_game Tiax has left the game.[Steam] UserDisconnect successfully sent for steamid '76561197963630190'Serializing user minimap to session/00000000430B8829/KU_6MrNG5kU_/minimapSerializing user session to session/00000000430B8829/KU_6MrNG5kU_/0000000003LOG: Connecting again (puts me to the char selection screen, I select Wilson again, it's a new char):New incoming connection 77.9.xxx.xxx|58614 GUID: 54043532891077389Client connected from IP: 77.9.xxx.xxxValidateGameSessionToken token: yo/AjgWuMZBEcmgWN2LYi3D/57aPvjty for: 54043532891077389SendHandShakeServerListing[Steam] UserConnectAndAuthenticate successfully sent for steamid '76561197963630190'ReceiveResumeRequestReceived request to resume from: session/00000000430B8829/KU_6MrNG5kU_OnResumeRequestLoadComplete - UserID KU_6MrNG5kUReceived request to spawn as wilson from Tiax[Fixed] SPAWNING PLAYER AT: (-196.00, 0.00, -228.00)Serializing user session to session/00000000430B8829/KU_6MrNG5kU_/0000000003[Announcement] join_game Tiax has joined the game. Any ideas? Link to comment Share on other sites More sharing options...
Halan Posted September 24, 2015 Share Posted September 24, 2015 Are you running the server through a batch file? Link to comment Share on other sites More sharing options...
Tiax Posted September 25, 2015 Author Share Posted September 25, 2015 Are you running the server through a batch file? yes, it's above: #!/bin/sh cd ~/Steam/steamapps/common/Don\'t\ Starve\ Together\ Dedicated\ Server/bin/ ./dontstarve_dedicated_server_nullrenderer -console -conf_dir DST_MAIN That shouldn't be a problem, though?! Sorry for the messing formatting in OP - the CODE tags seem to lack any stylesheet in these forums, and I cannot edit my post Link to comment Share on other sites More sharing options...
Halan Posted September 26, 2015 Share Posted September 26, 2015 Running any mods? Link to comment Share on other sites More sharing options...
ToNiO55 Posted September 27, 2015 Share Posted September 27, 2015 Hi @Tiax, Machine Arch: x86_64 do you use reiserfs of file system? Link to comment Share on other sites More sharing options...
Tiax Posted September 27, 2015 Author Share Posted September 27, 2015 Hi @Tiax, do you use reiserfs of file system? Standard xfs (distro is CentOS 7.x) df -T: Filesystem Type 1K-blocks Used Available Use% Mounted on/dev/mapper/cos-root xfs 523774080 99301676 424472404 19% / Link to comment Share on other sites More sharing options...
ToNiO55 Posted September 29, 2015 Share Posted September 29, 2015 @Tiax, you are on beta public? (cave)http://forums.kleientertainment.com/topic/57890-playing-caves-beta/#entry673404 or still on old version?i mean ROG without cave Link to comment Share on other sites More sharing options...
Tiax Posted September 29, 2015 Author Share Posted September 29, 2015 @Tiax, you are on beta public? (cave) http://forums.kleientertainment.com/topic/57890-playing-caves-beta/#entry673404 or still on old version? i mean ROG without cave I'm on the caves branch (haven't setup any shards yet though, until the saving issue is resolved). I'll give it a try with the master version, when I'm home, but I doubt it'll make a difference. Link to comment Share on other sites More sharing options...
Tiax Posted September 29, 2015 Author Share Posted September 29, 2015 OK, so I did a fresh re-install of everything just to make sure, including:Setup a new unix userReinstalled all dependencies (yum -y reinstall libcurl.i686 libgcc.i686 glibc.i686)Installed steamcmd and downloaded the server files with it (app_update 343050 validate)Starting "dontstarve_dedicated_server_nullrenderer -lan -console" in "~/Steam/steamapps/common/Don't Starve Together Dedicated Server/bin"Server launches fine, stuff is created in ~./klei/DoNotStarveTogetherStill no progress is saved upon login/logout A server restart (c_shutdown) generates a new worldAttached:log1.txt: initial start, c_shutdownlog2.txt: second start, as you can see it generates a new world, even though it finds a saveindex etc.log1.txtlog2.txt Link to comment Share on other sites More sharing options...
Tiax Posted September 30, 2015 Author Share Posted September 30, 2015 Mhhhhh, so I moved the .klei/<name>/save folder to memdisk on /dev/shm and it seems to be able to read from it now... So apparently it was the file system afterall? $ df -TFilesystem Type 1K-blocks Used Available Use% Mounted on/dev/mapper/cos-root xfs 523774080 99754492 424019588 20% /tmpfs tmpfs 2973028 3764 2969264 1% /dev/shm Link to comment Share on other sites More sharing options...
ToNiO55 Posted September 30, 2015 Share Posted September 30, 2015 @Tiax, i think yes but im not sure of 100% because other admin have same problem with reiserfs http://forums.kleientertainment.com/topic/58074-caves-beta-september-23rd-update/?p=676342 so maybe that's same for xfs Link to comment Share on other sites More sharing options...
Tiax Posted September 30, 2015 Author Share Posted September 30, 2015 Well... I'll just leave it on the ramdisk and do scheduled snapshots in that case - it seems to be doing fine on the tmpfs. Kinda weird though, as xfs is not really such an exotic file system... Thanks for all your input. 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.