Universal Countdown
Posted: Sat Apr 21, 2012 1:03 am
Hello everyone,
I am working on a script right now that works a little something like this: There is a shield, and I may launch an attack upon said shield at any time I please as the admin. However, once the attack is launched, there is a 2 hour countdown until the shield is broken through, and then a 30 minute countdown until the forces arrive at the target. But this target is where every player is (Hogwarts), so they all may either choose not to participate, or participate in the defense against the attack. Regardless, I want every player to be able to see the same countdown (whether you're in Ireland or America, or wherever) so that it ends at the same time for everyone. I have managed to get a working countdown, but it is only player specific (where it starts the countdown upon refreshing the page/on my command, and if one player logs on an hour after the other, the timer starts for them when they log on)
So if I didn't make it clear in that blurb what my question was, which I don't think I did hahaha, how can I make this one universal countdown where everyone can see it all the same, regardless of how many times they refresh a page or when they log on/where they are in the world. I'm pretty sure for that, it needs to be in the database, but beyond that I have absolutely no idea what to do. Any and all help is much appreciated!
Thanks,
~Kevin
I am working on a script right now that works a little something like this: There is a shield, and I may launch an attack upon said shield at any time I please as the admin. However, once the attack is launched, there is a 2 hour countdown until the shield is broken through, and then a 30 minute countdown until the forces arrive at the target. But this target is where every player is (Hogwarts), so they all may either choose not to participate, or participate in the defense against the attack. Regardless, I want every player to be able to see the same countdown (whether you're in Ireland or America, or wherever) so that it ends at the same time for everyone. I have managed to get a working countdown, but it is only player specific (where it starts the countdown upon refreshing the page/on my command, and if one player logs on an hour after the other, the timer starts for them when they log on)
So if I didn't make it clear in that blurb what my question was, which I don't think I did hahaha, how can I make this one universal countdown where everyone can see it all the same, regardless of how many times they refresh a page or when they log on/where they are in the world. I'm pretty sure for that, it needs to be in the database, but beyond that I have absolutely no idea what to do. Any and all help is much appreciated!
Thanks,
~Kevin