Files
moon-well-ui/sql/foreverui_statistics.sql
T
Adrestie fd5150dace ForeverUI : manifeste de l'installeur et requetes SQL des statistiques
- installer.json : addon ForeverUI dans Interface\AddOns, art et ecrans de connexion dans
  patch-Z, lignes des 18 statistiques dans Achievement.dbc et Achievement_Criteria.dbc
  (jeu et serveur) ; paquet sans module serveur, le patcheur reste a part.
- sql/foreverui_statistics.sql : lignes achievement_criteria_data a appliquer a la main a la
  base monde (hors de data/sql : ni l'updater ni l'installeur ne l'appliquent).
- README : l'etape SQL des statistiques renvoie a ce fichier.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 15:57:14 +02:00

24 lines
1.1 KiB
SQL

-- ForeverUI: achievement_criteria_data rows of the statistics ForeverUI adds (data/dbc/statistics.json).
-- Apply to the world database, after adding the statistics' rows to Achievement.dbc and
-- Achievement_Criteria.dbc. Without these rows the server does not count the boss kills.
-- Safe to run again: the rows are deleted by criterion, then inserted. The DELETE alone removes them.
-- The server reads them on start (or with .reload achievement_criteria_data).
DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (64301, 64302, 64303, 64304, 64305, 64306, 64307, 64308, 64309, 64310, 64311, 64312, 64313, 64314, 64315, 64316, 64317, 64318, 64319, 64320, 64321);
INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES
(64301, 12, 0, 0, ''),
(64302, 12, 0, 0, ''),
(64303, 12, 0, 0, ''),
(64304, 12, 0, 0, ''),
(64305, 12, 0, 0, ''),
(64306, 12, 0, 0, ''),
(64307, 12, 0, 0, ''),
(64308, 12, 0, 0, ''),
(64309, 12, 0, 0, ''),
(64310, 12, 0, 0, ''),
(64311, 12, 0, 0, ''),
(64312, 12, 0, 0, ''),
(64313, 12, 0, 0, ''),
(64314, 12, 0, 0, '');