Avorion
Foreman Enhanced
正在显示第 11 - 13 项,共 13 项条目
< 1  >
更新于:9 月 10 日 上午 6:13
作者:Berlakay

更新于:9 月 10 日 上午 5:29
作者:Berlakay

Version 2.1.2 - Enhanced Mothership Detection

### Auto-Dock When Full Improvements

- **ENHANCED**: Fighters now only return to dock from ships that actually have active mining/salvage operations
- **IMPROVED**: Server-side `returnShipSquads()` function now checks if ships have active `harvest` or `salvage` operations before returning fighters
- **OPTIMIZED**: Prevents unnecessary fighter returns from ships that aren't actively mining or salvaging
- **REFINED**: Better mothership-specific cargo detection - only the ship that launched the fighters needs to be checked

### Technical Improvements

- **ENHANCED**: `returnShipSquads()` function now validates active operations before processing
- **ENHANCED**: Added checks for `shipData.harvest` and `shipData.salvage` states
- **ENHANCED**: Improved squad validation with `getTableLength()` checks
- **ENHANCED**: More intelligent fighter return logic that respects operational states

### Auto-Dock When Full Fixes

- **FIXED**: Ships with no cargo capacity (like carriers) no longer trigger false "cargo full" messages
- **FIXED**: Cargo full detection now properly checks `maxCargoSpace > 0` before considering a ship as having cargo
- **FIXED**: Eliminated message spam by tracking which ships have already been processed for auto-dock
- **FIXED**: Fighters now properly return to dock when cargo is actually full
- **IMPROVED**: Auto-dock system now only processes newly full ships, preventing repeated notifications

### Technical Improvements

- **ENHANCED**: `checkAutoDockWhenFull()` function now validates cargo capacity before checking fullness
- **ENHANCED**: `updateShipListFreeCargo()` function now ignores ships without cargo capacity
- **ENHANCED**: Added `processedFullShips` tracking to prevent duplicate processing
- **ENHANCED**: Improved logic flow for better performance and reliability

更新于:9 月 9 日 上午 5:15
作者:Berlakay

Foreman Enhanced – Update 2.1.2

New Features

Full automation system: Auto-scan, auto-mine, auto-dock, and auto-dock when full (all toggleable & saved between sessions).

Smart mining AI: Squads spread across asteroids instead of clumping, faster retargeting when asteroids deplete.

Enhanced UI: Collapsible panels, detailed yield breakdown per material, persistent automation settings.

Performance Improvements

Entity query caching (80–90% fewer API calls).

Reduced update frequency → smoother performance in busy sectors.

Lower CPU & memory usage with faster targeting & less overhead.

Fighter AI

Smarter combat targeting – fighters stick to low-HP enemies instead of swapping unnecessarily.

Delayed return logic prevents rapid dock/undock cycles.

Fixes & Refinements

Auto-dock now only triggers on ships actually mining/salvaging.

Carriers without cargo no longer trigger “cargo full” errors.

Eliminated spammy cargo/docking messages.

Better handling of invalid entities, preventing crashes.