Files
ForeverCore/sql
Karrz1 ca8366e215 Darkmoon Faire: on the client's own dates
zeroyka (Discord, 11-09): the Faire opened that day on Forever, but it
was nowhere on ours. Our schedule was chosen by hand (Elwynn from 11-02,
Mulgore from 12-07, each every 60 days) because the events pointed at
the retail holidays 374 / 375, which this client doesn't have.

The Classic 1.60 client carries the Faire itself: Holidays 263 (Elwynn
Forest) and 264 (Thunder Bluff), a 168 hour run on a list of Mondays at
04:00. Elwynn 2026-11-09, 2027-01-04, ...; Mulgore 2026-12-07,
2027-02-08, ... The events 4 / 5 and their buildings 23 / 24 now take
those holidays, so the server reads start and length from the dates.
The buildings stand for the Faire week; the client has no earlier setup
stage for them.

A holiday on defined dates had a second problem: the start was only
read at server start, after that the event repeated every `occurence`
minutes from the first run and drifted from the calendar. When a run is
over, GameEventMgr::Update now moves the event to the next date of its
list.

Not seen in a test yet.

(cherry picked from commit 69b5c07542d8b6b1e1d84a875acc19bbe31c2caa)
2026-11-12 01:24:32 +00:00
..