LibSyncTime-1.0
LibSyncTime-1.0 is a light-weight solution that provides a server-side UNIX timestamp useful for synchronizing data across clients in multiple timezones or with non-synchronized system clocks.
LibSyncTime uses a single, simple API call:
LibSyncTime-1.0 API
curtime, uncertain = LibStub("LibSyncTime-1.0"):synctime()
Returns
curtime
This is the current server-side UNIX timestamp
uncertain
This boolean being true indicates that no second-level precision is guaranteed on the return value. This means that no time sync has been recieved and no server time change has been observed since UI load.
-
View User Profile
-
Send Message
Posted Sep 2, 2012For WoW 5.0.4/MoP replace lines 39->41
with
-
View User Profile
-
Send Message
Posted Jul 2, 2012If you get error with the MoP beta client:
replace
GetRealNumPartyMembers()
with
GetNumGroupMembers(LE_PARTY_CATEGORY_HOME)
-
View User Profile
-
Send Message
Posted May 12, 2011here is bug report from bugsack. hope, it helps:
-
View User Profile
-
Send Message
Posted May 5, 2011One of the prefixes is longer than 16chars (exceeding the 4.1 prefix length limit).
Maybe shortening both to LibSyncTimeRQ and LibSyncTimeSC from
LibSyncTimeRequest and LibSyncTimeSync respectively.
-
View User Profile
-
Send Message
Posted Jan 11, 2011Hehe, np, no more error on reload. Thanks. :)
-
View User Profile
-
Send Message
Posted Jan 11, 2011Sorry for being away over the holidays. Fixed. (I think).
-
View User Profile
-
Send Message
Posted Dec 19, 2010ReloadUI() leads to:
2x LibSyncTime-1.0-2:28: attempt to perform arithmetic on field 'lastMinuteChange' (a nil value)
Locals:
-