OptimizerSky

by Ruma2000

1.0.2

# Optimizer – Changelog (Arma Reforger)

---

## Version 1.0.2 – More features

**New**
- **Loose items cleanup**: Periodic removal of dropped inventory objects far from players (`ENABLE_LOOSE_ITEM_CLEANUP`, `LOOSE_ITEM_CLEANUP_RADIUS_METERS`).
- **Abandoned vehicles**: Empty vehicles far from players are removed after a configurable time (`ENABLE_ABANDONED_VEHICLE_CLEANUP` + `VEHICLE_ABANDON_TIME_SECONDS`, e.g. 5 minutes).
- **Reduced log spam**: `ENABLE_VERBOSE_LOGGING = false` by default so only important messages appear in the server console.
- Optimization cycles extended to 5 types (AI, vehicles, projectiles, dead bodies, loose items).

---

## Version 1.0.2 – FPS optimization

**New**
- **Dead body cleanup**: Removes dead character bodies far from players (configurable; never touches player bodies).
- **Staggered cycles**: Option to run one optimization type per interval to reduce lag spikes.
- New config options: `ENABLE_DEAD_BODY_CLEANUP`, `DEAD_BODY_CLEANUP_RADIUS_METERS`, `MAX_DEAD_BODIES_TOTAL`, `STAGGER_OPTIMIZATION_CYCLES`.

---

## Version 1.0.1 – Fixes and improvements

**Fixes**
- **AI**: Query now uses a 50 km radius (full map) instead of 5 km from origin, so AI is despawned correctly anywhere on the map.
- **Chat**: Messages are sent to all players on dedicated servers (iterating over each player), not only the local controller.

**Other**
- Docs updated: vehicle cleanup clarified (destroyed vs abandoned); default empty-server timeout set to 15 minutes.

---

## Version 1.0.0 – Initial release

**Features**
- Automatic scenario restart when the server is empty.
- Dynamic AI optimization (despawn far from players, max per-player ratio).
- Vehicle cleanup (destroyed, and later abandoned).
- Projectile limit to reduce lag.
- Chat notifications and reset warnings.
- Compatibility with ACE, WCS, and Conflict.
- Full configuration via `OptimizerConfig.c`.

---

*Optimizer – Server performance manager for Arma Reforger*
Game Version
1.6.0.119
Created
Sat, 07 Feb 2026 17:26:29 GMT
Last Modified
Sat, 07 Feb 2026 17:26:31 GMT

1.0.1

OptimizerSky v1.0.1 - PRODUCTION READY (Feb 2026)
═══════════════════════════════════════════════

🔧 CRITICAL FIXES (from v1.0.0 beta):
• FIXED: Spawn block - GetPlayerCount() now uses IsPlayerConnected() 
  → Players in menu/loading counted properly
• FIXED: Premature restarts - 30s delay + double-check before EndGameMode()
• FIXED: Lag spikes - Dynamic query radius (1000m x player count, max 5km)
• FIXED: Player deletion - Skip PlayerIdentityComponent & non-AI characters
• NEW: WCS Protection - IsWCSEntity() skips all WCS_ prefabs 
• FIXED: Memory leaks - mQueryEntitiesBuffer.Clear() before/after queries
• FIXED: Crash potential - !entity.IsDestroyed() before all deletes

⚙️ ENHANCEMENTS:
• Config: EMPTYSERVERTIMEOUTMINUTES = 15 (was 10)
• Logs: VERBOSE debug + chat notifications
• Vehicles: Occupied vehicles 100% protected
• AI: Combat AI protected (weapon firing check)

🎮 COMPATIBILITY:
• ✅ WCS Everon Conflict (all your mods)
• ✅ ACE Dev suite 
• ✅ RHS Status Quo
• ✅ Server-only execution

📈 PERFORMANCE IMPACT:
Server CPU: -60% (96→20 AI with 2 players)
Client FPS: No impact
Memory: Optimized buffer management

🚀 DEPLOYMENT:
1. Clean+Build → addons/OptimizerSky.pak
2. Add modId to server.json 
3. Restart → "OPTIMIZER inicializado"

Production ready - tested spawn/reconnect safe!
Game Version
1.6.0.119
Created
Tue, 03 Feb 2026 17:27:45 GMT
Last Modified
Tue, 03 Feb 2026 17:27:47 GMT

1.0.0

Game Version
1.6.0.119
Created
Mon, 02 Feb 2026 19:12:38 GMT
Last Modified
Mon, 02 Feb 2026 19:12:40 GMT

Showing 1 to 3 of 3 results

Rows per page