ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   TimeUntilReset() is now wrong (https://www.esoui.com/forums/showthread.php?t=10485)

Toirealach 03/14/23 12:19 AM

TimeUntilReset() is now wrong
 
TimeUntilReset() is now wrong. It reports the old reset time, not the new one for this patch.

Masteroshi430 03/14/23 12:41 AM

Quote:

Originally Posted by Toirealach (Post 47373)
TimeUntilReset() is now wrong. It reports the old reset time, not the new one for this patch.

AFAIK there is no TimeUntilReset() in the API :confused:

Baertram 03/14/23 04:58 AM

No, it's a custom function.
You can search your live/AddOns folder for that string, via windows search (including searching file contents) or using a free tool like Notepad++, search, in files & folders

I wasn't able to find that function in any of my addons and libraries, and I got a lot :-)

Toirealach 03/14/23 03:17 PM

Huh...yeah...
 
Huh...yeah...it is a library function from an addon, who knew?

Lemme muck with it.

Baertram 03/14/23 04:16 PM

Which library is it, LibDateTime or similar?

code65536 03/14/23 09:37 PM

For the new reset times, I now use
Code:

GetTimeUntilNextDailyLoginRewardClaimS() -- seconds
For daily reset times.


...and
Code:

TIMED_ACTIVITIES_MANAGER:GetTimedActivityTypeTimeRemainingSeconds(TIMED_ACTIVITY_TYPE_WEEKLY)
For weekly reset times.


All times are GMT -6. The time now is 12:20 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI