#Grow a garden stock
1 messages · Page 1 of 1 (latest)
No need to use messaging service
Just use random with a set seed
(unix time stamp)
it might use random like Cirno said
but
if you wanna recreate
you should use memory store + messaging
Datastores are mostlikely not used
Due to 25mb read per minute
per key
which can be somewhere limiting for gag which had 20m ccu
depends on what they save
i think its the same way as how they handle auto-updates without needed to reset the servers.
Not sure on how they do it tho?
Does that mean like every server just uses one Random.new() object with a set seed? How do they refresh at the same time though? Does the random object guarantee every server has the same stock?
make a new random object with the unix time stamp of the time that its supposed to switch
and then they all have the same seed
and the same outcome
and you can get the last xx:00 or xx:05 time with some math for new servers
probably apply the same math to the normal switch too just in case uit gets delayed somehow
every server has the same os.time()
sync to that
Alright thx
os.time isnt precise enough
sometimes it can be off by minutes
@agile egret @glossy gale
there's a way to get the time from google
which is always accurate and precise
Huh