Thread: qglobal timers
View Single Post
  #1  
Old 01-19-2013, 09:42 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default qglobal timers

would there be an efficient way to expose the time left for a specific qglobal to perl without using a database query (e.g. an additional c++ to perl interface)?

i'm attempting to sort out a way to handle setting multiple lockout timers to a new value. i need to make sure i skip timers that have more than the new value remaining, but extend the ones that have less than the new value remaining (or don't exist at all).

is my best option to include a timestamp for the lockout in the value field along with the areas the client is locked out of?
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote