Stop the guide from jumping ahead of the player #27

Merged
jcoffey-dev merged 2 commits from fix/no-jump-ahead into main 2026-11-26 02:32:33 +00:00
Owner

The guide jumped ahead of where players really were. Two causes, both reproduced in the harness:

  • Reaching a zone's reach level (usually its last level) marked it done even with its quests in the log. Forever's extra XP gets there mid-zone, so an Undead with Silverpine quests open was moved to the Barrens at 15.
  • Quests with a known ID still matched by name. 677 of 2,167 quest references share a name with another quest ID, so finishing part 1 of a chain ticked off the later parts.

Changes:

  • IsQuestDone / IsQuestActive: a quest with an ID is judged by that ID only (log names are the fallback when the client reports no IDs)
  • Level rules keep a zone open while you work on it: its quests in the log hold it until 4 levels past, a started zone with quests left until 2 levels past
  • Only quests a zone turns in count as its work, and a quest the route turns in at two steps holds neither (hand-offs and second visits)
  • Detect.Evidence uses the same turn-in rule, which also fixes Orc/Troll characters never being offered the Durotar to Barrens move
  • Harness checks for all of the above; 20 race/class/level runs pass
  • Bump version to 3.1.4
The guide jumped ahead of where players really were. Two causes, both reproduced in the harness: - Reaching a zone's `reach` level (usually its last level) marked it done even with its quests in the log. Forever's extra XP gets there mid-zone, so an Undead with Silverpine quests open was moved to the Barrens at 15. - Quests with a known ID still matched by name. 677 of 2,167 quest references share a name with another quest ID, so finishing part 1 of a chain ticked off the later parts. Changes: - `IsQuestDone` / `IsQuestActive`: a quest with an ID is judged by that ID only (log names are the fallback when the client reports no IDs) - Level rules keep a zone open while you work on it: its quests in the log hold it until 4 levels past, a started zone with quests left until 2 levels past - Only quests a zone turns in count as its work, and a quest the route turns in at two steps holds neither (hand-offs and second visits) - `Detect.Evidence` uses the same turn-in rule, which also fixes Orc/Troll characters never being offered the Durotar to Barrens move - Harness checks for all of the above; 20 race/class/level runs pass - Bump version to 3.1.4
jcoffey-dev added 2 commits 2026-11-26 02:32:26 +00:00
- Judge quests with a known ID by that ID only. Hundreds of quests
  share a name (chains such as A Dark Threat Looms 161 > 199 > 250),
  so finishing one part ticked off the others
- Match quests in the log by ID too, when the client reports IDs
- Levels no longer close a zone you are working on: its quests in the
  log keep it open until 4 levels past it, a started zone with quests
  left until 2 levels past it. Forever's extra XP often reaches a
  zone's last level mid-zone, which skipped to the next zone
- Only quests a zone turns in count as its work, and a quest the route
  turns in at two steps holds neither, so hand-offs to the next zone
  and quests put off to a second visit don't pin the old zone
- Detection uses the same rule, which also fixes Orc and Troll
  characters never being offered the move from Durotar to the Barrens
- Add harness checks for all of the above
jcoffey-dev merged commit ede52906cd into main 2026-11-26 02:32:33 +00:00
jcoffey-dev deleted branch fix/no-jump-ahead 2026-11-26 02:32:33 +00:00
Sign in to join this conversation.