Skip to content

🐛 Several NPCs have incorrect content_tag values #9613

@eyes-and-brain

Description

@eyes-and-brain

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.

OS / platform the server is running (if known)

Windows11

Branch affected by issue

base

Summary

The Gobbie Mystery Box NPCs have incorrect content_tag values in sql/npc_list.sql.
The Gobbie Mystery Box was implemented on 2011-12-15, which predates both Abyssea (2010-06-22) and Seekers of Adoulin (2012-12-18).
However, most of the NPCs are tagged with SOA or ABYSSEA, causing them to disappear when those expansions are disabled — even though the content itself should be available.

Affected NPCs

NPC Zone Current content_tag Expected content_tag
Mystrix West Adoulin SOA DAILY_TALLY
Rewardox East Adoulin SOA DAILY_TALLY
Winrix East Adoulin SOA DAILY_TALLY
Habitox Port San d'Oria SOA DAILY_TALLY
Bountibox Bastok Mines SOA DAILY_TALLY
Specilox Bastok Markets SOA DAILY_TALLY
Arbitrix Windurst Walls SOA DAILY_TALLY
Funtrox Windurst Woods SOA DAILY_TALLY
Priztrix Jueno Upper ABYSSEA DAILY_TALLY
Sweepstox Jueno Lower ABYSSEA DAILY_TALLY
Wondrix Aht Urhgan Whitegate TOAU DAILY_TALLY

Expected behavior

All Gobbie Mystery Box NPCs should share a dedicated content_tag of DAILY_TALLY, matching the existing ENABLE_DAILY_TALLY setting in settings/main.lua.
This allows the feature to be toggled independently of expansion pack settings.

Actual behavior

With ENABLE_SOA = 0 and RESTRICT_CONTENT = 1, NPCs tagged SOA (Habitox, Bountibox, etc.) are hidden, even though the Gobbie Mystery Box predates SoA by over a year.

Fix

UPDATE npc_list SET content_tag = 'DAILY_TALLY'
WHERE polutils_name IN
  ('Mystrix','Habitox','Bountibox','Specilox',
   'Arbitrix','Funtrox','Priztrix','Sweepstox',
   'Wondrix','Winrix','Rewardox');

References

  • Gobbie Mystery Box implementation date: 2011-12-15 version update
  • ENABLE_DAILY_TALLY defined in settings/main.lua
  • IsContentEnabled() in src/map/lua/luautils.cpp (line 1864)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions