Alr ill pair everything together!
- Datastore2
- Single string (“Part+22356+10416-11541+0+0+0400100200”)
Apprichiate the help guys!
Alr ill pair everything together!
Apprichiate the help guys!
wow…
OK so, to store this amount of data you would first have to:
this is the best way to do it, if you want to make it more then 1k parts then this is a MUST.
Edit: ive tried more complex ways, this is the best and shortest way ive found.
Ah yes, you’d want to use a table to store all the strings, but not as a dictionary. A regular table works. Only use JSONEncoding if you want to compress said string
Aight, for sure trying this if i ever need to get it over, tysm!
Just use buffers
They will allow you to save more data, since most of your data is numbers.
(with about 1/3 bytes overhead)
Using compression becomes completely unnecessary, Roblox issues it’s own compression on buffers when they are used on DataStores or even when sent over the network.
Save over 2 datastores.
When saving 8MB (4MB * 2 keys) of data more storage may seem essential, and it is pretty much fine to use 2 datastores if you think you really really can’t scale the size down further. (sometimes even 3 but I wouldn’t recommend going that high)
Just please don’t over-use datastores, write a piece of code to find the best size for the data you are saving.