My game drops tmrw and I need some tips quick. Should I use a badge to detect if the player has data. Pretend the player joins and it doesnt work and their data is 0. Then the player will lose it with my auto save every 2 mins. Should I kick the player if they have the welcome badge but data is nil because I set data to 0 for players with nil wins.
#Will this prevent dataloss
1 messages · Page 1 of 1 (latest)
just use a welcome badge
yeah ik but what if thats down also at the same time. Should I kick the player at that point
not working on robloxs end
if roblox is down sometimes datastores or badgeservice may be down
and if its down calls will fail
causing dataloss with my auto update system
Datastores piss me off bro 😭
apparently some big games use profile store and its easier to prevent data loss so ill do that for future projects
use profile store
default datastore sucks, especially for big games
so your saying get rid of my entire system and do profile store
would that be faster then making a good datastore system?
learning smth entirely new?
ye, its better, first thing I realized on my first game is default datastore sucks
i even get datalost while testing in studio
Does profilestore handle the hard stuff for you?
idk really, i just copy paste my datastore from my old game
not that hard to setup
a day to learn and setup?
heres one as example
put that in server script then in server storage u gotta have the profilestore module somewhere with the Template as the starting data of new player, example
make another module for this name it Template or somethin
return {
Cash = 7500,
Rebirth = 0,
Steals = 0,
LastOnline = 0,
ClaimCash = {},
Units = {},
Index = {},
Returning = false,
}
-- also make another one named Data_Manager, if u wanna access player data without going to in game values
local DataManager = {}
DataManager.Profiles = {}
return DataManager```
@untold dock maybe I should drop the game with normal datastores then switch to profileService next update3