Skip to content

[Character] Add saved_variables.NextCurrenciesResetTime (Rel22_03_004)#132

Merged
billy1arm merged 1 commit into
mangosthree:masterfrom
r-log:fix/char-nextcurrenciesresettime
Jul 4, 2026
Merged

[Character] Add saved_variables.NextCurrenciesResetTime (Rel22_03_004)#132
billy1arm merged 1 commit into
mangosthree:masterfrom
r-log:fix/char-nextcurrenciesresettime

Conversation

@r-log

@r-log r-log commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Adds saved_variables.NextCurrenciesResetTime — the column the core reads/writes to schedule the Cata weekly currency-cap reset.

Pairs with mangosthree/server#297: without this column the currency reset queries silently fail, so character_currencies.weekCount never resets and the weekly Conquest cap becomes a permanent lifetime cap. #297 restores the wiring.

Guarded, idempotent, transactional migration; chains db_version 22/03/003 → 22/03/004. Sequences after Rel22_03_003 (this PR, and core #296) — the two are a schema pair. If Rel22_03_003 isn't taken, this should be renumbered to 003.


This change is Reviewable

Paired with mangosthree/server#297 (weekly currency cap reset). Chains db_version 22/03/003 -> 22/03/004, so it sequences after Rel22_03_003 (#296); if landing alone, renumber to 003.
@billy1arm billy1arm merged commit 7045dd7 into mangosthree:master Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants