blaxxun-boop/ServerCharacters

Stuff other than inventory aren't saved on improper client disconnection (+ questions)

Opened this issue · 0 comments

Hi @blaxxun-boop. Thanks for this great mod, it works pretty good most of the time, but there is a kinda annoying issue. If a client loses connection in a way other than using the Logout or Quit buttons, for example crashes or loses internet connection; their explored map, skills, location in world gets rolled back to a different data.

I am guessing inventory changes are saved immediately while the others are saved with an interval.

For some kind of a workaround, I want to ask:

  • Is there a way to save character data more frequently? The current setting says "Minutes between auto saves of characters and the world." And I wouldn't want the server to save the world every a few mins.
    • Is this a wrong info? Why would this mod change world save interval? I tried checking the source code but I couldn't get anything, even felt like the config value isn't used anywhere.
  • Does the save interval setting do anything for a client on a dedicated server? Would it affect sending the client's character data to the server?