Help to compare date
Make function for block addon when when the date doesn't match. The problem is, if the time on the computer is not correct, the function will fail. The idea is to also simultaneously check the day / month / year on the server. But duno how make it.
Lua Code:
|
I'd like to point out that Blizzard's Addon Policy requires addons to be made freely available for use (no paywall, etc). I'm not certain what the point of your code here is for. Not to mention that it would be incredibly easy to circumvent, since the Addon Policy also states that the code must be readable and not obfuscated.
https://us.forums.blizzard.com/en/wo...t-policy/24534 |
Quote:
|
I'm same Seerah .. sounds like you are aiming to stop the addon from working for some reason .. seeing as some addons can work several expansions after they are made ( if they are lucky ) there would not necessarily be a reason to stop the addon from working. You shouldn't need to stop the addon working as the game will tell them if there is a problem and stop it itself, giving the user the opportunity to remove the addon themselves. Any other reason to stop it from working sounds like its against the terms of use.
That said .. As far as I am aware the OSDate you were calculating is the date on the server the game is running on, not the person computer. As to anything else you might want to do .. you might want to look at https://wowpedia.fandom.com/wiki/World_of_Warcraft_API as that should give you the information you need. The Addons section should be able to help you. |
All times are GMT -6. The time now is 08:59 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI