Jump to content

[Gameplay] Server: Invalid path and bad saving


Nibbled
  • Closed

Platform
PC
Do you use mods?
 No

Version Number
 170618

Issue title

 Persistent Root Storage Invalid path and bad saving


Steps to reproduce

Start your server using the following command - -persistent_storage_root myfolder


Describe your issue

 Persistent Root Storage using a double slash and causing an invalid path, this causes the saves to never save and only run temporary data.
 

Example:

[00:00:00]: DownloadMods(0)
[00:00:00]: [CRITICAL] Failed to save file: myfolder//cfg/Cluster_1/Master/save/modindex
[00:00:00]: [CRITICAL] Failed to save file: myfolder//cfg/Cluster_1/Master/save/modindex
 


Steps to Reproduce
Start your server using the following command - -persistent_storage_root myfolder
  • Like 1



User Feedback


Note for this: Previous builds have been working for this, trying absolute and relative paths give same issues. Also both attempt to use double slash myfolder//.

I remember this working before the token system was added into Cluster_1 if this helps.

Share this comment


Link to comment
Share on other sites

Currently -persistent_storage_root doesn't support relative paths, although we're working on fixing this. Could you post the output when you use an absolute path and it fails?

Share this comment


Link to comment
Share on other sites

Hello,

Using a complete absolute path resolves this issue. Though it still uses doubleslash ;)

Command Line Arguments: -console -port 28315 -tick 60 -players 6 -persistent_storage_root C:/games/dontstarve/retail/data/myfolder -conf_dir cfg

Quote

[00:00:00]: Token retrieved from: C:/games/dontstarve/retail/data/myfolder//cfg/Cluster_1/cluster_token.txt

Thanks,

Share this comment


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

×
  • Create New...