Advanced HUD

by AceDubs

Comprehensive HUD system with toggleable displays for day/night cycles, biter evolution, production rates with interactive graphs, and automatic bottleneck detection. Click any item for detailed analysis with historical charts. Customize your interface with only the information you need!

Utilities
an hour ago
2.0
325

Changelog

Version: 1.1.12
Date: 2025-09-07
  Changes:
    - GUI layout now dynamically shrinks and expands based on enabled modules
    - Removed fixed 200-pixel minimum width constraint from main HUD interface
    - Interface now automatically adjusts size to content, eliminating unnecessary empty space
    - Improved space efficiency when using fewer modules or smaller displays
    - Maintains full draggability and positioning functionality with flexible sizing
Version: 1.1.11
Date: 2025-09-07
  Bugfixes:
    - Fixed crash: "attempt to call field 'insert' (a nil value)" in research progress module
    - Fixed table library shadowing issue when GUI elements conflict with global table reference
  Changes:
    - Completely rewrote research ETA calculation system for accuracy
    - ETA now tracks actual research progress change over time instead of theoretical calculations
    - Research speed now measured in real progress per minute rather than estimated lab counts
    - ETA uses rolling average of last 5 samples for smoother, more accurate time estimates
    - Research tracker automatically resets when switching to different technologies
    - ETA display will take 10 seconds to calibrate but then shows accurate remaining time
Version: 1.1.10
Date: 2025-09-07
  Bugfixes:
    - Fixed crash with research progress module: "LuaEntityPrototype doesn't contain key researching_speed"
    - Replaced non-existent researching_speed property with force.laboratory_speed_modifier
    - Added safe sprite handling for technology and item sprites to prevent crashes with modded content
    - Added proper validation for localised_name to prevent nil access crashes
    - Enhanced GUI element validation to prevent crashes when elements are destroyed during updates
    - Research speed calculation now properly uses force modifiers instead of individual lab properties
  Changes:
    - Research speed calculation now more accurate using Factorio 2.0 API
    - Improved error handling throughout research progress module
    - Better compatibility with modded technologies and science packs
Version: 1.1.9
Date: 2025-09-06
  Features:
    - Added new Research Progress module showing current research progress and ETA
    - Missing science bottles detection - shows which bottles are missing from labs
    - Research completion time estimation based on current lab activity
    - Research progress percentage and remaining units display
    - Visual indicators for research status and missing resources
    - Added Display Properties section to Advanced HUD Settings
    - New "Hide title and version" option for compact GUI appearance
    - Custom drag handle implementation for title-less draggable windows
  Changes:
    - Research Progress module disabled by default (enable in settings)
    - Module shows rich text icons for missing science bottles
    - Integrates seamlessly with existing Advanced HUD modular system
    - Settings GUI now has organized sections: Display Properties and Module Configuration
    - Research suggestions display compactly (shows count instead of long tech names)
    - When no research active, shows useful lab status and available research count
    - Detailed research suggestions available via tooltip hover
  Bugfixes:
    - Fixed sprite validation errors by using documented utility sprites
    - Fixed table.insert/concat naming conflicts in research progress module
    - Fixed GUI dragging functionality when title is hidden
    - Resolved LuaStyle errors with invalid title bar properties
    - Fixed settings GUI crash with unknown heading_3_label style
Version: 1.1.8
Date: 2025-09-06
  Features:
    - Added evolution notification frequency control with /hud-evolution-cooldown command
    - Evolution notifications now track per-surface to prevent spam when switching surfaces
    - Added option to disable evolution notifications entirely (use /hud-evolution-cooldown 0)
  Bugfixes:
    - Fixed critical crash when upgrading from 1.1.7 due to evolution storage format change
    - Added automatic migration from old evolution storage format to prevent errors
    - Fixed evolution notifications triggering every time you switch surfaces in remote view
    - Evolution alerts now require meaningful evolution changes (>0.1%) to prevent spam
    - Added 1-minute default cooldown between evolution notifications per surface
    - Approaching milestone warnings now have 5-minute cooldown to reduce frequency
  Changes:
    - Evolution notifications now include surface name for clarity in multi-surface games
    - Only one notification per update cycle to prevent notification flooding
Version: 1.1.7
Date: 2025-09-06
  Features:
    - Collapsible sections in item analysis popups for better screen space management
    - Individual toggle buttons for production statistics and trend graph sections
    - Dynamic popup sizing - windows now shrink when sections are collapsed
    - Intuitive expand/collapse icons for clear visual feedback
  Changes:
    - Item analysis popups no longer have fixed size constraints
    - Production statistics and graphs can be hidden independently
    - Toggle buttons use expand/collapse icons instead of checkmarks for clarity
  Bugfixes:
    - Fixed movement speed module context-aware sprites showing incorrect icons
    - Movement speed sprites now accurately detect actual transport method instead of guessing from speed
    - Sprites now directly check player.vehicle for vehicle detection and player equipment for on-foot movement
    - On-foot detection now properly identifies exoskeletons, power armor, and basic walking
    - Eliminated false vehicle sprites when using high-speed on-foot equipment
    - Fixed max speed tracking not updating when reaching legitimate high speeds
    - Increased max speed caps: on-foot from 15 to 50 t/s, vehicles from 80 to 200 t/s
  Optimizations:
    - Reduced screen real estate usage when sections are hidden
    - Improved popup window management and layout efficiency
Version: 1.1.6
Date: 2025-09-06
  Features:
    - Added movement speed tracking module using coordinate-based calculations
    - Real-time speed display in tiles per second (t/s) with visual progress bar
    - Smart vehicle detection - separate max speed tracking for on-foot vs in-vehicle
    - Context-aware sprites (exoskeleton, car, locomotive) based on current speed
    - Tracks all movement types including walking, vehicles, belts, spaceships, and modded movement
    - Intelligent filtering prevents teleportation/respawn from affecting speed records
    - Added module reordering system with up/down buttons in settings GUI
    - Per-player custom module ordering with persistence across saves
  Changes:
    - Improved settings GUI window size (450x400) eliminates need for scrolling
    - Removed scroll pane from settings window for better user experience
    - Reduced whitespace and padding in settings interface
    - Movement speed module disabled by default (consistent with other modules)
    - Main HUD now respects player's custom module order instead of fixed order
  Optimizations:
    - Speed calculations use coordinate-based tracking with smoothing for accuracy
    - Efficient position tracking with teleportation detection and filtering
    - Performance-optimized updates every 1 second instead of 2 seconds
  Bugfixes:
    - Fixed settings GUI crash when applying frame spacing properties
    - Resolved nil comparison errors in max speed calculations
Version: 1.1.5
Date: 2025-09-06
  Features:
    - Added comprehensive production statistics module with multi-surface support
    - New production monitoring displays showing item/fluid production and consumption rates
    - Configurable update intervals for production statistics (1s, 5s, 1m, 10m, 1h, 10h, 50h, 250h, 1000h)
  Compatibility:
    - Full Factorio 2.0 API compatibility for production statistics
    - Support for quality-aware inventory systems
  Bugfixes:
    - Fixed multiplayer desync issues caused by local variable usage in evolution module
    - Resolved on_load() storage modification errors in module manager
    - Fixed GUI element naming conflicts with reserved property names
  Optimizations:
    - Improved performance with configurable update intervals (default 5 seconds)
    - Reduced entity scanning overhead by using built-in statistics APIs
  Changes:
    - Migrated all persistent state to storage table for multiplayer safety
    - Updated module system to properly handle on_load events without storage modification
Version: 1.1.0
Date: 2025-09-01
  Major Features:
    - Initial release with modular HUD system
    - Day/night cycle display with time tracking
    - Biter evolution monitoring with threshold alerts
    - Item detail popup system for inventory items
  Features:
    - Fully toggleable modules via settings GUI
    - Customizable display positions
    - Multiplayer compatible architecture
  Info:
    - Comprehensive HUD system for Factorio 2.0
    - All modules can be independently enabled/disabled