Skip to content

Update to current ExileCore API; add inventory search, LootLens-style tooltip, and bricked-map fixes - #1

Open
greenbrad wants to merge 1 commit into
masterfrom
modernize-and-inventory-search
Open

Update to current ExileCore API; add inventory search, LootLens-style tooltip, and bricked-map fixes#1
greenbrad wants to merge 1 commit into
masterfrom
modernize-and-inventory-search

Conversation

@greenbrad

Copy link
Copy Markdown
Owner

Note: the upstream this fork came from (Xcesius/MapNotify) is archived and read-only, so this PR merges the work into this fork's own master to serve as the maintained version.

Summary

This updates the plugin to build and run against current ExileCore (net10.0, $(exapiPackage) reference paths kept, GameOffsets reference added) and adds several quality-of-life features. Verified building cleanly against the current ExileCore.

API migration notes

Current ExileCore no longer exposes the Map component or the ServerData completion collections (BonusCompletedAreas / CompletedAreas), so:

  • Map tier, region names, and atlas completion tracking fall back to safe defaults (tier/completion display is effectively disabled until an equivalent API exists again)
  • Inventory/stash map detection now uses BaseItemTypes class names instead of HasComponent<Map>()

If this repo intends to keep targeting an older ExileCore, feel free to close - this PR is for the current API.

Features

  • Inventory search: a movable search box appears when the inventory is open. Typing live-highlights matching maps (name, mods, or warning text) in the inventory and visible stash tab; Enter saves the text as a persistent filter. Saved filters can be removed individually or all at once, and collapse into a popout when more than 2 are saved. The matching mods are labeled above each matching inventory map.
  • LootLens-style tooltip: the map tooltip is redrawn as a dark rounded card with accent-bar mod rows and a state-colored border (bricked / Zana objective / completion), plus a "Tooltip Text Size %" setting.
  • Bricked-map behavior: bricked maps always draw a red border, never the green warnings border. Bricked is now determined solely by mods flagged ;true in the warnings configs - previously any map with a warning mod and quantity/pack size at or below the (default 100) thresholds was treated as bricked, which marked nearly every warned map. The two unlabeled threshold sliders were removed from the settings UI accordingly.
  • Green warning border additionally requires quantity at or above the existing "Warn Below Quantity Percentage" value, so the border and the quantity text color agree.

🤖 Generated with Claude Code

…yle tooltip

Migration (Map component and completion ServerData APIs no longer exist
in current ExileCore; net8.0 -> net10.0):
- Tier, region and completion tracking fall back to safe defaults
- GameOffsets reference added

Features:
- Movable search box above the inventory: live filter plus Enter-saved
  persistent filters with per-entry remove and Clear All (collapsed into
  a popout when more than 2 are saved); matches highlight in inventory
  and visible stash tab, with the matching mods labeled above inventory
  maps
- Map tooltip redrawn as a LootLens-style card (rounded dark card,
  accent-bar mod rows, state-colored border) with a text size setting
- Bricked maps always border red, never green; bricked is now determined
  only by mods flagged ;true in the warnings configs, not quantity or
  pack size thresholds
- Green warning border requires quantity at or above the warn-below
  quantity percentage

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant