EU-Utility/plugins
LemonNexus 0155eb0be0 feat: Constrain skill scanner to only Entropia game window
BUG: OCR was reading text from Discord, EU-Utility UI, and other windows.

FIX:
1. Added find_entropia_window() - Uses win32gui + psutil on Windows to find
   the game window by process name 'Entropia.exe' and window title containing
   'Entropia Universe'. Returns (left, top, width, height).

2. Added capture_entropia_region() - Captures only the game window region,
   falls back to full screen if window not found.

3. Added is_valid_skill_text() - Filters out non-game text patterns:
   - Discord, Event Bus, Game Reader, Test, Page Scanner, HOTKEY MODE
   - UI elements like 'Skill Tracker', 'Calculator', 'Nexus Search'
   - Debug text like '[SkillScanner]', 'Parsed:', 'Cleared'
   - Process names like 'Entropia.exe', 'Client (64 bit)', 'Arkadia'
   - Lines with >10 words (skills aren't that long)

4. Added recognize_image() method to OCRService for convenience.

5. Modified SkillOCRThread.run() to:
   - Capture only Entropia window
   - Filter text before parsing
   - Use _parse_skills_filtered() which validates each line

6. Added _parse_skills_filtered() method that:
   - Splits text by lines
   - Only keeps lines containing a valid rank
   - Validates each line with is_valid_skill_text()
   - Logs filtered lines for debugging

RESULT:
- Scanner now ONLY reads from the game window
- Invalid text (Discord, UI, debug) is filtered out
- Much cleaner skill parsing results

Note: Window title varies by location (e.g., '[Arkadia]', '[Calypso]')
but process name is always 'Entropia.exe'.
2026-02-15 00:55:37 +00:00
..
analytics fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
auction_tracker fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
auto_screenshot fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
auto_updater fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
calculator fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
chat_logger fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
codex_tracker fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
crafting_calc fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
dashboard fix: Fix HTTPClient, Dashboard, and Log Parser errors 2026-02-14 23:40:09 +00:00
discord_presence fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
dpp_calculator fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
enhancer_calc fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
event_bus_example fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
game_reader fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
game_reader_test fix: Add Arch Master rank and Reset button to Skill Scanner 2026-02-15 00:23:13 +00:00
global_tracker fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
import_export fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
inventory_manager fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
log_parser_test feat: Add plugin-to-plugin dependencies support 2026-02-14 23:49:13 +00:00
loot_tracker fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
mining_helper fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
mission_tracker fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
nexus_search fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
plugin_store_ui fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
price_alerts fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
profession_scanner fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
session_exporter fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
settings fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
skill_scanner feat: Constrain skill scanner to only Entropia game window 2026-02-15 00:55:37 +00:00
spotify_controller fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
tp_runner fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
universal_search fix: Clean repository - remove workspace pollution 2026-02-14 03:34:04 +00:00
__init__.py feat: Complete Core Services Suite 2026-02-13 19:19:27 +00:00
base_plugin.py feat: Add plugin-to-plugin dependencies support 2026-02-14 23:49:13 +00:00