vinanrra / Docker-7DaysToDie

7 days to die server using LinuxGSM in Docker with backups, monitor, auto-installable mods and more
GNU General Public License v3.0
210 stars 42 forks source link

7days to die server persistent player profiles[BUG] #234

Closed Skysec0230 closed 5 months ago

Skysec0230 commented 5 months ago

Describe the bug Persistant player profiles in server settings.xml is enabled, server boots up and saves all explored map, items looted are empty, saves everything and runs correctly except that everytime any person on my server logs off the player is reset to level 1.

To Reproduce Steps to reproduce the behavior: log off, log back on.'

I do have a mod installed but i tried this without any mods with the same result.

Expected behavior player level doesnt reset

Versions: Using most up to date truenas scale, 2024-02-04 16:56:17 Successfully pulled image "vinanrra/7dtd-server:latest" as of today the most up to date image.

Additional context Im thinking this has to be a setting or something ive misses as to why everything on here works except player profiles.

Skysec0230 commented 5 months ago

Rethrow as UnauthorizedAccessException: Access to the path is denied. 2024-02-04 17:44:45.598140-07:00at Interop.ThrowExceptionForIoErrno (Interop+ErrorInfo errorInfo, System.String path, System.Boolean isDirectory, System.Func2[T,TResult] errorRewriter) [0x00014] in <b0b74789f1894dcc9a389d6f5a51da7d>:0 2024-02-04 17:44:45.598275-07:00at Interop.CheckIo (System.Int64 result, System.String path, System.Boolean isDirectory, System.Func2[T,TResult] errorRewriter) [0x0000a] in :0 2024-02-04 17:44:45.598327-07:00at Interop.CheckIo (System.Int32 result, System.String path, System.Boolean isDirectory, System.Func`2[T,TResult] errorRewriter) [0x00000] in :0 2024-02-04 17:44:45.598365-07:00at System.IO.FileSystem.CopyFile (System.String sourceFullPath, System.String destFullPath, System.Boolean overwrite) [0x0005c] in :0 2024-02-04 17:44:45.598403-07:00at System.IO.File.Copy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite) [0x00062] in :0 2024-02-04 17:44:45.598441-07:00at SdFile.Copy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite) [0x00038] in <03e6157d9cf447899cc5c2f4b69b186e>:0 2024-02-04 17:44:45.598479-07:00at WorldState.Save (System.String _filename) [0x0001e] in <03e6157d9cf447899cc5c2f4b69b186e>:0 2024-02-04 17:44:45.598516-07:00at World.SaveWorldState () [0x00037] in <03e6157d9cf447899cc5c2f4b69b186e>:0 2024-02-04 17:44:45.598594-07:00at GameManager.gmUpdate () [0x00458] in <03e6157d9cf447899cc5c2f4b69b186e>:0 2024-02-04 17:44:45.598692-07:00at GameManager.Update () [0x00000] in <03e6157d9cf447899cc5c2f4b69b186e>:0 2024-02-04 17:44:45.598757-07:002024-02-04T17:44:45.598757410-07:00

Skysec0230 commented 5 months ago

"2024-02-04T17:29:09.218170478-07:00 GamePref.PersistentPlayerProfiles = True"

Skysec0230 commented 5 months ago

https://pastebin.com/5z9tTkP5

Skysec0230 commented 5 months ago

did a full reinstall and remade all the of the directories and it worked