Files
ForeverCore/sql
Duy Hoang 5899690a41 sql/world: give exploration (area-trigger) quests their objective line
Exploration quests complete by walking into an area trigger
(QUEST_FLAGS_COMPLETION_AREA_TRIGGER + an areatrigger_involvedrelation row)
but carried zero quest_objectives rows, so the client's objective pane had
nothing to tick off: the quest log kept showing the QuestCompletionLog
flavor text even after the quest had already turned complete. A player
reported exactly that on quest 870 "The Forgotten Pools" ("I swam through
the pool, saw the objective-complete message, but the log still shows
'explore the waters...'"), and the server was right - status 1 / explored 1
was written for the character.

- 2026_10_25_01: quest 870 gets one QUEST_OBJECTIVE_AREATRIGGER objective
  bound to trigger 216, the trigger that already completes it.
- 2026_10_25_02: the same row for the remaining 18 vanilla quests in that
  shape (62, 76, 201, 273, 578, 944, 984, 1149, 1265, 1448, 1658, 1699,
  2240, 2989, 4811, 4842, 6025, 8286), ObjectID -1 so that any of a quest's
  triggers credits it - 62, 76, 944, 984 and 6025 each own more than one
  trigger and pinning a single id would have blocked completion from the
  others.

Display-only. Completion still runs through the existing trigger path
(HandleAreaTriggerOpcode -> AreaExploredOrEventHappens -> CompleteQuest);
no objective can strand a character because none of the 18 quests has a
ScriptName or SpecialFlags completion route that would skip the objective.
Both files are idempotent and registered in world.updates.

Force-added: sql/custom/world/.gitignore ignores *.sql, as for the other
world updates tracked in this tree.

Fixes player report on "The Forgotten Pools" (Barrens).
2026-11-12 00:43:53 +00:00
..