TShock icon indicating copy to clipboard operation
TShock copied to clipboard

Auto-save issues

Open Yohano123123 opened this issue 5 years ago • 6 comments

There's several problems with Auto-Save of tshock 4.4.0. first problem: When auto-save starts, it kicks all the players on the server. Second problem: auto-save on config file doesn't work properly. If you disable it it doesn't matter because it can't be disabled anyway. It stills on "true" no matter what you do on the config file, auto save can't be disabled.

  • TShock version: 4.4.0

Yohano123123 avatar Jun 02 '20 23:06 Yohano123123

first problem: When auto-save starts, it kicks all the players on the server.

I have never seen this happen personally. Do you have any more information? Which pre-release are you running?

hakusaro avatar Jun 03 '20 04:06 hakusaro

first problem: When auto-save starts, it kicks all the players on the server.

I have never seen this happen personally. Do you have any more information? Which pre-release are you running?

Hi, yes. how i said, it happens every time no matter what you configure on the config.json file. every time it saves, it crashes the other's player session and suddenly the server kicks the player out of the game. The pre release version: 10.

Yohano123123 avatar Jun 03 '20 05:06 Yohano123123

Can you post the server logs?

moisterrific avatar Jun 03 '20 05:06 moisterrific

I wasn't having this issue previously, but as of the 1.4.0.5 update, I am. Saving manually and saving on on last player exit works fine, but the server crashes when it tries to auto-save.

2020-06-05_16-27-27 - Copy.log

nalysarbur avatar Jun 05 '20 23:06 nalysarbur

2020-06-05 16:34:57 - SaveManager: ERROR: System.UnauthorizedAccessException: Access to the path is denied. ---> System.IO.IOException: Operation not permitted

Interesting…

moisterrific avatar Jun 06 '20 00:06 moisterrific

linux: chmod 777 ./ in server directory windows: Right-click server directory folder > Properties > Read-Only [Off]

Walter-o avatar Aug 30 '20 23:08 Walter-o