Jump to content
  • 0

no progress saving on a custom map


Question

Posted

Couldn't write save file! We got an exception: System.IO.IOException: Win32 IO returned ERROR_INVALID_NAME. Path: C:\Server\rustds\server\Hello_World\uc?export=download&id=11IIvsHU51zIHxG8S2uRZeUHcHz1ZkpQZ.281.sav.new
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenWrite (System.String path) [0x00000] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0
at SaveRestore+<Save>d__14.MoveNext () [0x0021a] in <60af7c0499b644448ae4529d444f900b>:0

 

 

progress is erased after a restart.

8 answers to this question

Recommended Posts

  • 1
Posted
1 minute ago, Krot1 said:

progress is only saved on the procedural map. The server is running on a home computer. How can I check if the server has permissions? The custom map is saved on Google Drive.

Google drive is not good for map hosting , use either dropbox or a private storage of yours with direct download link generation or mapstr.gg 

 

  • Like 2
  • 0
Posted
6 minutes ago, Krot1 said:

Couldn't write save file! We got an exception: System.IO.IOException: Win32 IO returned ERROR_INVALID_NAME. Path: C:\Server\rustds\server\Hello_World\uc?export=download&id=11IIvsHU51zIHxG8S2uRZeUHcHz1ZkpQZ.281.sav.new
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenWrite (System.String path) [0x00000] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0
at SaveRestore+<Save>d__14.MoveNext () [0x0021a] in <60af7c0499b644448ae4529d444f900b>:0

 

 

progress is erased after a restart.

How are you hosting your map ?

Also does your server have permissions to save folder in root?

  • Like 2
  • 0
Posted

progress is only saved on the procedural map. The server is running on a home computer. How can I check if the server has permissions? The custom map is saved on Google Drive.

  • 0
Posted
2 hours ago, Krot1 said:

progress is only saved on the procedural map. The server is running on a home computer. How can I check if the server has permissions? The custom map is saved on Google Drive.

Upload the custom map file here as an example   -  https://mapstr.gg/

 

It will give you direct download link to the map file which is needed in server.levelurl

 

  • Like 2
  • 0
Posted

It looks like you're running Windows, 
like Ionut Shiro already suggested:   there is a permissions problem (this is Windows related), 
the file path of your local server - it should not be in the root folder of your  C:\ drive
for general default security reasons.

To simply avoid those permission issues (goverened by your OS)
then move your local test server to another disk, or partition if possible. 
It will be simpler that way. instead of changing UAC application control and disk read write permissions, 
this will take more time but is relatively simple to do.

Put the map in Dropbox also like IonutShiro suggested, it wont download correctly or even at all from GoogleDrive. 
make sure the end of the dropbox linik shows =1  and not =0    when you paste the link into your server levelurl startup line.

If you only intend to run your RustDedicated instance
on a local non networked or offline system, you can host the map locally on another drive instead of online.
Simply add the drivepath like so:     "file:///path/to/your/custom.map"
ensure the path is appended by "file:///"        path is your folder structure and location.   

Hopefully that helps further. 

  • Like 2
  • 0
Posted
2 minutes ago, Bad Cop said:

Upload the custom map file here as an example   -  https://mapstr.gg/

 

It will give you direct download link to the map file which is needed in server.levelurl

 

By far the simplest solution  😎👍

  • Like 2
  • 0
Posted

ВСЕМ огромное спасибо, все получилось!

Thank you ALL very much, everything worked out!

  • Like 1

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
2.2m

Downloads

Total number of downloads.

10.4k

Customers

Total customers served.

150.8k

Files Sold

Total number of files sold.

3.2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.