Commit Graph

43 Commits

Author SHA1 Message Date
DuvelCorp c35258e615 Reuse best-matching pet record on stable scan to stop shell duplication 2026-09-17 11:25:53 +02:00
DuvelCorp 1680c6fc51 Route feed-tracking debug to the /mth err window 2026-09-17 10:40:38 +02:00
DuvelCorp d49ed5abcc Revert addon-folder texture resolution (assume MetaHunt folder) 2026-09-15 08:06:57 +02:00
DuvelCorp ea01c9ef15 Silence pet level/loyalty notifications right after loading 2026-09-15 07:34:39 +02:00
DuvelCorp 315f6bb4f1 Load marker texture by actual addon folder name (case-proof) 2026-09-15 07:34:39 +02:00
DuvelCorp 44288cd635 Use 2.0.0 to allow patch releases 2026-09-14 22:49:40 +02:00
DuvelCorp 3de8088bbb Bump version to 2.0 2026-09-14 22:38:06 +02:00
DuvelCorp 7a0f03ba6f Remove temporary fx load-path debug tracer 2026-09-14 22:38:06 +02:00
DuvelCorp 0aaa49f33b Dedup trainer craft scans to prevent open freeze 2026-09-14 22:38:06 +02:00
DuvelCorp 4770724f60 Prefix pet level-up spell list with 'It can learn' 2026-09-14 18:53:49 +02:00
DuvelCorp acac6ace6f NPC Finder: fix zone-ID mislabel and show all zones per NPC
- Translate the coord's WMA id to pfQuest before the MTH_DS_Zones parent
  lookup, so e.g. Feralas (WMA 121) no longer collides with pfQ 121
  (Raven Hill) and prints its parent 'Duskwood'
- Zone column now lists every distinct zone an NPC occupies, smallest-map
  first, so border/capital NPCs read 'Darnassus, Teldrassil' etc. (sort
  key matches)
2026-09-14 18:38:10 +02:00
DuvelCorp 772299baf3 Use Black Hole celebration for max pet loyalty (6) 2026-09-13 11:00:45 +02:00
DuvelCorp 71c84e1704 Silence trainer scan noise during Growl auto-teach
- Add MTH_Growl_IsTeaching(); the beast-training scanner skips its chat
  feedback while auto-teach is driving the trainer window (no more
  'scan did not run yet' spam on tame)
- Confirm the taught rank in chat: 'Auto-taught Growl (Rank N) to <pet>.'
2026-09-13 10:46:23 +02:00
DuvelCorp dec41628ad Fix pet loyalty notifications and trim level-up copy
- Loyalty now read from MTH_GetCurrentPetInfo().loyaltyLevel; GetPetLoyalty()
  returns a localized name (not a number), so the loyalty branch never fired
- Listen for UNIT_HAPPINESS so a loyalty gain actually triggers the check
- Drop redundant 'has leveled up' / 'is now <rank>' openers from pet and
  loyalty lines, keeping the sarcasm
2026-09-13 09:54:04 +02:00
DuvelCorp 3bdc66770b Point update URL to Codeberg 2026-09-12 22:10:55 +02:00
DuvelCorp 67ed20532b Fix Hunter's Book animation SetPoint errors
The window's first anchor is relative to a child, so SlideIn/SlideOut's
position tween threw '<child> is dependent on this' every tick. Switch the
open/close/tab/search animations to alpha-only fades (matches the option labels).
2026-09-12 12:08:54 +02:00
DuvelCorp f3af63926e Fix SmartAmmo low-ammo warnings
- Remove infinite tail-recursion threshold getter that hard-froze the client on /rl
- Fix double-count (equipped ammo was added to the bag total)
- Make it true crossing-only: warn only when the total drops across the threshold, never on cold baseline or restock
- Use the shaking warning banner instead of a celebration, with sarcastic chat/banner copy
- Options: fix legacy EditBox HasFocus error on the threshold input; move Pet Auto-Teach to the right column
2026-09-12 12:08:54 +02:00
DuvelCorp 22232364b1 Add SmartAmmo low-ammo alerts 2026-09-12 10:57:27 +02:00
DuvelCorp 402cd8aef0 Balance animation options layout 2026-09-11 15:29:01 +02:00
DuvelCorp aa99ee01cc Update Credits copy 2026-09-11 15:20:03 +02:00
DuvelCorp c862cdb25e Refine level-up notifications 2026-09-11 15:10:23 +02:00
DuvelCorp 0fb52f67ff Add trainer planning and level-up tracking 2026-09-11 13:45:58 +02:00
DuvelCorp ccf9d8b0b6 Unify all option panels through MTH_Layout engine
Add reusable MTH_Layout box/column layout engine (api/options-layout.lua) and route every option panel through it (shell, general, zButtons per-button config, zBar, chronometer, auto buy, profiles, credits, etc.) for consistent, auto-sizing layout. Restore realm gate. README note.
2026-09-10 23:59:37 +02:00
DuvelCorp adb21c336c Add Growl pet auto-teach feature and smooth zButton expand animation
- New Pet Auto-Teach: on tame, offer to teach Growl at the best rank via the
  Beast Training window (Craft API DoCraft), with a General options checkbox
  and /mth growl on|off|status toggle (on by default).
- De-stagger zButton flyout bars and zBar so buttons fade in together.
- Update CHANGELOG.
2026-09-10 21:20:56 +02:00
DuvelCorp 3233ebff7f Strengthen subtle animations: pin scale-pops, window slide-in/out with overshoot, panel slides, zButton cascade, zBar springy stagger 2026-09-10 17:21:10 +02:00
DuvelCorp 66ff1ae711 Animations: wire remaining effects + 2-column options panel
- Shared FX toolkit in fx-celebrate.lua: mth_shake tween type, MTH_FX_Flash
  glow helper, MTH_CelebrateRunaway red shaking banner, gold title reset.
- pet.runaway, pet.happiness, pet.loyaltyup, pet.feed
- combat.ammoswap, combat.rangedswap, combat.mmprocs
- ui.zbar, ui.stable, ui.minimapping, ui.optionsclose
- book.model, book.search
- Options > Animations panel now uses a balanced two-column layout.
- CHANGELOG Animations entry expanded (no version bump).
2026-09-10 16:38:14 +02:00
DuvelCorp d2fb04f7c5 Animations: add option-tab fade, minimap pulse, zButton expand fade, map-pin drop-in; wire BeastTraining debug log to /mth err 2026-09-10 16:05:36 +02:00
DuvelCorp 566f3f4925 Add Animations feature + fix own-pet tooltip false positive
Animations (all optional, default on, per-effect toggles):
- New Options -> Animations tab with master switch + per-effect checkboxes
- Embed PizzaSauce animation library (api/PizzaSauce.lua)
- fx-celebrate: firework + banner when a pet learns a new ability/rank,
  triggered from core-scan-beasttraining pet-learn hook
- Hunter's Book: slide + fade on open, results list fade on tab switch
- Options window: slide + fade on open
- All new user-facing strings keyed (ANIM_* namespace)

Fixes:
- Tooltip #19: own-pet lines (mood/loyalty/happiness/XP) no longer
  misfire on party members / targets. Removed the fragile title-name
  fallback in MTH_TT_IsTooltipOnOwnPet; ownership now requires positive
  unit identity.

Temp (remove before release): /mth fx and /mth fxdebug diagnostics.
2026-09-10 14:41:26 +02:00
DuvelCorp 060fc555fe Unify SavedVariables into two clean roots with one-time migration
Collapse all legacy/scattered SavedVariables from absorbed standalone
addons (FeedOMatic, ZHunter/zButtons, SmartAmmo, AutoQuest, AntiDaze,
AutoStrip, MinimapButton) into two persisted globals with clean per-module
nesting under .modules.<id>.

Migration engine (api/savedvariables.lua):
- MTH_SV_EnsureSchema() with schemaVersion gate, idempotent + non-destructive
- Per-module migrators map old locations -> canonical nested stores
- Driven by an ADDON_LOADED("MetaHunt") handler so it runs only AFTER WoW
  loads the real SavedVariables (fixes announce-every-session bug that ran
  the migration on empty pre-load defaults)
- One-time player-facing chat announce, gated on real legacy data present

Framework/config:
- core-framework InitSavedVariables no longer runs migration at file-load;
  unconditionally strips account-root module aliases
- config.lua stops re-creating root[module] aliases (was duplicating data
  onto disk); canonical store stays under .modules.<id>

Modules:
- feedomatic: bind FOM_* globals as runtime aliases into nested store,
  drop persisted duplicates and .legacy blob
- zhunter: ZHunterMod_Saved re-pointed at .modules.zhunter
- smartammo/autoquest/antidaze/autostrip/minimapbutton read nested store

TOC trimmed to MTH_SavedVariables + MTH_CharSavedVariables only.
Profiles unchanged (already snapshot/apply the nested .modules structure).

Also includes pet-scan refinements: canonical pet key derivation and
level-independent pet signature (schema v3).
2026-09-09 22:52:48 +02:00
DuvelCorp 9379668e4b Remove dead code: SmartPet module + orphaned DBC datastores
SmartPet (module never wired into modules.xml) removed entirely — server-side
pet AI on TWoW/OctoWoW makes it useless. Deleted modules/smartpet/ and
api/options-smartpet.lua.

Orphaned .tools DBC extracts (2026-03-20) never loaded via TOC, superseded by
the curated/pfQuest datastores that ship:
- data/ds-zones-dbc.lua, data/ds-zones-new-dbc.lua (bounds come from ds-zones-wma)
- data/ds-stable-prices.lua (never wired to any UI)
- data/ds-pet-spells-acquire.lua (learnMethod set at runtime by init.lua + trainer)

Also removed api/beastlore-scan.lua (8-line deprecation stub) and its
init/api.xml include. No shipped references or player-facing behaviour affected.
2026-09-09 16:29:15 +02:00
DuvelCorp c55cd66ffc Fix realm-gate disable for book/options, pet-rank learning, unique beasts
- Hunter's Book and options window now show a full 'DISABLED.' overlay on realm-gated realms instead of rendering content
- Pet training: new rank of an already-known ability is now recognised, announced, and reflected in tooltips
- Restore curated 'unique appearance' beast allowlist (34 beasts) in data/init.lua
- CHANGELOG updated
2026-09-08 01:25:51 +02:00
DuvelCorp 6c007f2c17 1.5.1 2026-04-04 23:43:46 +02:00
DuvelCorp c4911ef9fe 1.5.1 2026-04-04 23:38:34 +02:00
DuvelCorp 51d4c785fa 1.5.0 2026-03-31 21:25:35 +02:00
DuvelCorp 680ddcba8a v1.4.1 event leak fixes, chronometer trap fix, profile memory, autostrip alloc fix 2026-03-24 14:21:58 +01:00
DuvelCorp 8479607a13 v1.4.0 Twow 1.18.1 2026-03-23 22:25:10 +01:00
DuvelCorp b2060e0aab V1.3.0 2026-03-19 16:27:21 +01:00
DuvelCorp c0c2c275eb v1.2.0 2026-03-11 00:40:35 +01:00
DuvelCorp 27d37564ce v1.1.0 2026-03-09 13:41:30 +01:00
DuvelCorp 233899b2a0 v1.0.6 2026-03-05 12:30:24 +01:00
DuvelCorp 1a28d95b87 v1.0.5 2026-03-01 09:10:22 +01:00
DuvelCorp 2c94650993 v1.0.4 2026-02-27 18:57:24 +01:00
DuvelCorp ee8328e903 First version 2026-02-24 23:00:59 +01:00