I’ve had an issue with Datastore2 where a player can leave the game, their data will supposedly successfully save, and they rejoin to see their save from the beginning of their last session. I’ve only seen this first-hand one time and I cant seem to recreate it. My biggest concern with this is i’ve never seen anyone else having data loss issues with datastore2. I’ve had player reports of losses since I was using it in a game with 10-30 players, and I also get reports in a game with 30,000+ players. I’m hoping theres just a little issue with my implementation, but I have always tried my best to follow the docs
This is my .Combine, called once, i saw somewhere, someone calling it on every .PlayerAdded, could there be any downsides to doing that?
if not RunService:IsStudio() then
Datastore2.Combine("Test21", "Money", "ToCollect", "Purchased", "Cars", "ExtraClaimed")
else
Datastore2.Combine("Test23", "Money", "ToCollect", "Purchased", "Cars", "ExtraClaimed")
end
the first call to a new player’s data:
local plrmoney = Datastore2("Money", player)
local plrStats = Instance.new("NumberValue",game.ServerStorage.PlayerMoney)
plrStats.Name = player.Name
plrStats.Value = plrmoney:Get(100)
I’m using the latest release from github
I’m considering switching this game to another module, but a lot of the game’s core functions are heavily reliant on datastore2’s functions and events. I’ve tried contacting the author.
It’s mostly reliable but it hurts to receive reports from players who’ve spent time and robux in our game, left the server without being disconnected or anything, and came back to see that no recent progress has been recalled.