Skip to content

v1.4.1 — Patch: smart_scripts schema compat + loot summary wording

Choose a tag to compare

@timoinglin timoinglin released this 18 Jul 09:09

Two patch-grade fixes caught by smoke-testing v1.4.0 against a live EmuCoach MoP Premium 7.1 database:

  • get_smart_scripts queried a target_param4 column that exists on TrinityCore 3.3.5 but not on SkyFire MoP / Cata. Replaced the explicit column list with SELECT * (rows are small and now schema-agnostic) and made the p4= print conditional on row.event_param4 being defined.
  • inspect_loot_table summary self-contradicted on tables where every row was broken (Ordos's creature_loot_template, etc.) — it claimed "the table still produces valid drops from the other 0 row(s)". Rewrote the summary branch so a fully-broken table now reports ALL N row(s) are broken — this loot table produces NOTHING in-game. and the mixed case reports N of M rows still produce valid drops.

No new tools, no API changes. Pure correctness fixes.

Upgrade

cd wow-server-mcp
git pull
npm install
npm run build

Then restart your AI client to reload the MCP server.