AddOns
AddOn Manager
Latest 200
Browse
Upload AddOn
Search AddOns
Projects
Author Portals
Git Repositories
SVN Repositories
Options
Email Feeds
Preference
Download History
News
Forums
New posts
Today's Posts
Search Forum
Categories
General
AddOns, Comps, Macros
Featured Projects
Developer
Site Forums
Mark Forums Read
Subscribed Threads
Open Buddy List
Members List
Help
Login
Sign up
WoWInterface
»
AddOns, Compilations, Macros
»
AddOn Help/Support
»
Need help to detect weekly reset
Go to Page...
Reply
View First Unread
Thread Tools
Display Modes
02-19-17, 12:53 PM
#
1
tobias1919
A Deviate Faerie Dragon
Join Date: Mar 2015
Posts: 13
Need help to detect weekly reset
Hello.
I am working on an addon to store Keystones, but how can i determine if the keystone saved is from last reset or the current?
Thanks on advance!
tobias1919
View Public Profile
Send a private message to tobias1919
Find More Posts by tobias1919
02-20-17, 02:42 AM
#
2
SDPhantom
A Pyroguard Emberseer
Join Date: Jul 2006
Posts: 2,326
Resets happen on the same day every week at the same time. Check out
date()
and
time()
to see which you could use. Both should be in the WoW API in the global namespace as the
os
library isn't available.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
SDPhantom
View Public Profile
Send a private message to SDPhantom
Find More Posts by SDPhantom
Reply
WoWInterface
»
AddOns, Compilations, Macros
»
AddOn Help/Support
» Need help to detect weekly reset
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off