While running a game on a Linux shell, several errors involving reading and writing save files occurred.
Numbered Steps to Reproduce Problem:
1.) Create a new character
2.) Load character
3.) Save character
4.) Log out, time pass, or reboot server
5.) Log back in
6.) Load or try to delete the file when the character cannot load
7.) Log out and log back in
8.) Client is suddenly a nameless mob that cannot be removed unless via rebooting(or deleting through a manual process or verb that only targets nameless mobs).
9.) Delete their file, reboot server to remove nameless mobs, hope this does not spread.
10.) Watch as the infection spreads
Code Snippet (if applicable) to Reproduce Problem:
Note: This is the message we receive
BYOND Error:(sfile.cpp,369) error writing file node
BYOND Error:(sfile.cpp,369) error writing file node
BYOND Error:(sfile.cpp,369) error writing file node
BYOND Error:(sfile.cpp,369) error writing file node
BYOND Error:(sfile.cpp,366) error writing file node
BYOND Error:(sfile.cpp,366) error writing file node
BYOND Error:(sfile.cpp,366) error writing file node
BYOND Error:(sfile.cpp,366) error writing file node
BYOND Error:(sfile.cpp,1459) error opening file buffer
BYOND Error:(sfile.cpp,369) error writing file node
BYOND Error:(sfile.cpp,369) error writing file node
BYOND Error:(sfile.cpp,366) error writing file node
Expected Results:
Saves to function normally.
Actual Results:
Savefiles corrupt and result in every single file on the server eventually suffering from corruption.
Does the problem occur:
Every time? Or how often? 70% of players experience this at least once.
In other games? This has happened a few times(Long time ago, though), but it was eventually resolved through unknown means.(The host shut the server down, deleted the save files, and the issue returned, they repeated this process and then left the server offline for a while and it resolved itself)
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
When running the game in private on my own computer.(Using the same .dmb and .rsc files)
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? No.
Workarounds:
Either A) Delete all files and hope the issue doesn't return(done this 2 times now, issue keeps returning).
or
B) Manually edit every save file that experiences this(before they turn into nameless mobs), and delete their contents and then delete the mob the player is on, then delete the file after the mob is not on the server and the player is not connected.
Are the dmb and rsc file chmod 'ed to 755?