Toolasha - Enhanced tools for Milky Way Idle.
Це версії цього скрипту, де код був змінений. Показати всі версії.
Fix action queue stats showing wrong action during party interrupts
Issue: When party leader pauses/resumes combat, the DOM updates instantly but WebSocket cache is stale. This caused action time display to match against queued actions instead of current action, showing wrong stats (e.g., '276 queued' from Crafting when actually doing party combat).
Root cause: Code used .find() to search ALL cached actions (current + queue), which could match queued actions when DOM showed current action name.
Fix: Only check cachedActions0. If DOM doesn't match current action, display nothing until cache updates.
Prevents race condition between DOM update and WebSocket update.
Fix enhancement protection items not being used
CRITICAL BUG FIX: Protection items like Black Bear Fluff were never being added to protection options, causing the simulator to use the expensive base item as protection instead.
Root cause: Code treated protectionItemHrids as array of arrays, but game data shows it's a flat array of strings. Array.isArray() check on string values always returned false, skipping all protection items.
Fix: Directly spread protectionItemHrids into options array.
Example impact:
v0.4.952
Add Top Order Age column to My Listings
v0.4.951
v0.4.950 - Fix tea efficiency: Apply skill level buffs to effective player level
v0.4.948: Enhanced alchemy profit calculator with detailed modifier breakdowns
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 [email protected]
Make trade history character-specific
Fix reversed buy price color logic
Fix sell price color logic to match buy logic
Both colors now indicate current market opportunity:
Colors show whether NOW is a good time to trade compared to your last price
Fix trade history color comparison to use current top orders
Add personal trade history feature (v0.4.946)
Fix config settings not loading with character data (v0.4.944)
Root cause: Race condition where config.initialize() ran before character data loaded, resulting in empty settingsMap. Features checking getSetting() received false, causing them to skip initialization.
Impact: ALL features that check config.getSetting() failed to initialize, including Estimated Listing Age, network alerts, and others.
Changes:
Flow:
Result: Features now properly initialize with user settings on both initial load and character switch.
v0.4.945: Fix reactive colors & Milkonomy export
Fix config API bug: Changed config.on() to config.onSettingChange()
Implement reactive Script Accent Color for all features
Fix Milkonomy export ownership check
Market data refactoring (Phase 2)
Fix settings tab disappearing on character switch (v0.4.943)
Root cause: Duplicate event listener accumulation causing race conditions and timing mismatches between cleanup and re-initialization.
Pattern: Follows action-time-display.js proven working pattern for character switch handling.
Result: Settings tab now persists correctly through multiple character switches.
v0.4.942 - Fix material limit calculation for crafting and alchemy actions
v0.4.941 - Fix dungeon tracker UI persistence on character selection screen
v0.4.940 - Character switch fixes and console cleanup
Fixes:
Cleanup:
v0.4.939 - Version bump before settings/performance fixes
Clean baseline before implementing:
v0.4.938 - Swap inventory badge positions
UI Changes:
Added:
v0.4.937 - Rolling averages, settings fixes, combat exclusions
Bug Fixes:
Features:
v0.4.936 - Fix tooltip prices for enhanced items
v0.4.935 - Fix Enhancement Tracker visibility detection
v0.4.934 - Character switch fixes and hybrid dungeon average calculation
Fixed character switch cleanup and re-initialization
Fixed settings disappearing on character switch
Implemented hybrid average calculation for dungeon chat annotations
Fix task dungeon icons with dynamic sizing and right-to-left layout
Fix Settings tab not appearing - revert to polling MutationObserver
v0.4.931 - Action Panel Utilities & Bug Fixes
v0.4.930 - React Input Utility, hours calc fix, dungeon tracker position constraints
v0.4.929 - Add black borders to all icon numbers and Greasyfork URLs
Add independent inventory badge prices feature
Implements Option A from badge price display proposal: fully independent price badge display that works without requiring inventory sorting.
New Features:
Files Created:
Files Modified:
Also includes modularization of dungeon tracker UI from previous session:
🤖 Generated with Claude Code (https://claude.com/claude-code)
Improve inventory badge prices setting label
Changed from technical jargon to user-friendly description:
Focus on what the feature does rather than implementation details. The help text still mentions independence from sorting for clarity.
v0.4.928 - Inventory badge pricing: per-item display with market-only prices