Files

26 lines
1.7 KiB
Markdown

# Baked hotfix pushes stay native (owner #10, 2026-11-23)
Login `AvailableHotfixes` now leaves out every push whose rows are baked into the client DB2s, so the
client never re-fetches them (Octo displays like 21159 come straight from native DB2 data).
`include/gateway/baked_hotfix_pushes.hpp` lists push id + FNV-1a-64 of the codec's exact hotfix reply.
A push is skipped only while its current reply digest equals the baked one, so a changed push is
announced and served again until it is re-baked.
Re-bake recipe (when push data changes):
1. Install codec, move `Cache/ADB/enUS/DBCache.bin` aside, run one LOCAL session to world, `/quit`.
2. `dbcache_pushes.py DBCache.bin` lists cached pushes; `extract_base.py` takes the current content
DB2s as base (keeps later DB2 edits); Db2Bake (ops/db2-bake-20261122/tool) base + cache -> baked.
3. `prep.py` pins only tables with row changes (the writer re-encodes unchanged tables).
4. `push_digests.exe <forever_codec.dll> <ids>` (mingw, run under wine) -> digests;
`baked_hotfix_pushes.py digests.txt DBCache.bin include/gateway/baked_hotfix_pushes.hpp`; rebuild codec.
5. `init_pushes.exe <dll> <ids>` checks the login packet announces none of the baked pushes.
Build 70334 keeps SpellAuraRestrictions in its shipped FDID 981566. The
codec announces push 1294782901 for seven additional rows. Keep that table
outside the bake while the export cannot preserve all 334 original records.
The baked-push generator continues to advertise this push after a LOCAL test
has cached the seven rows.
2026-11-23 round: content fe8cc5d8 -> 3c644128 (Meditation push 371195158: SpellMisc, SpellXSpellVisual,
SpellCooldowns, SpellCategories); 60 of 60 cached pushes baked; codec 8bd39839 announces 0 (was 60).