[FEATURE] Weekly instance resets: Add option to choose day of the week #3888
steenburgh
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
I have the same problem with reset. Maybe there is a solution? |
Beta Was this translation helpful? Give feedback.
0 replies
-
based on this https://github.com/azerothcore/mod-instance-reset you could create a similar module that add the conf or implement the conf inside AC |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
Instance resets may be on an inconvenient day of the week for a majority of a given server's players. For example, on my server, we do raids on weekends and instances reset Saturday at 11PM server time, which means we both have to finish by 11pm, and start over from scratch if we play again on Sunday.
Describe the solution you'd like
Similar to the
Instance.ResetTimeHour
, I'd like to see anInstance.WeeklyResetDay
orInstance.FirstResetDate
, from which all future instance reset times are calculated. Using aFirstResetDate
may be better as it also covers instances that reset every 3 days like Zul'Gurub.Describe alternatives you've considered
I've dug into the AzerothCore source and found a hacky workaround, which I've documented in this stack overflow post. TL;DR, Instance reset times are calculated based off the very first time the server is started, then maintained through subsequent server restarts.
This leaves us with a few options:
I've also considered changing
Instance.ResetTimeHour
, but that only lets me move the reset time 4 hours back or 20 hours forward, as the default is4
(4AM UTC, 11PM in my timezone). I can mitigate the issue, sure, but I cannot solve it.Additional context
I found a setting,
Instance.ResetTimeRelativeTimestamp
which, as documented, seems like it almost does what I'm asking for...Unfortunately, I've set it to various numbers, and it does not appear to affect instance reset time, or the ingame calendar, like it claims to. The
ResetTimeRelativeTimestamp
setting is indeed used in a function that appears to be sending calendar data back to the user, but it's not used anywhere else in the code. Perhaps we could use this setting to determine reset times, but I don't really know what it's real purpose is.Beta Was this translation helpful? Give feedback.
All reactions