i have a string value that is named “Current Trend” and i want to make this value to change every 1 hour to all servers and all have the same changed value.
every 1 hour the system randomly select one string,
the closest example i have is a game in roblox named Bitcoin miner that has the “algorithms” (which is just a string value) change every hour, as far as i can remember,
cant we just send the time to the server B and then we check the difference between the server B time and the server A’s sent time then we just wait the difference time (wait(difference))
But all servers have the same code, you will need to make a system that needs to ask a request to other servers or get time if no other exists and then reply receiving system, trust me using an third-party HTTP get API would be easy and most games do this or you can also setup own HTTP time server.
let me simplify, i want to make a system that sends to all servers a string every 1 hour, think like an item shop system that rotates every 24 hours but instead every 1 hour and sends a string to all servers.
best bet is if you could go around sending messages and just using a pseudo-random generator with a set seed and use os.time() to check if an hour has passed from a set point