
You are viewing a potentially older version of this package. View Latest Version
InnangardServerLagFix
Multiplayer patches aimed at Innangard 0.1.9 (improves fps / eliminate network delay / desync)Innangard Server Lag Fix
Multiplayer, AI, pathfinding, storage, and quality-of-life fixes for Innangard.
Installation
- Install on both the dedicated server and all clients.
- Requires Innangard.
- Better Organisation is optional.
- BetrValheim / ItemDrawers support is optional through my separate drawer bridge.
- If optional integrations are missing, the remaining fixes continue to work normally.
Features
Networking / Ownership
- Prevents station reservations from unnecessarily stealing ZDO ownership.
- Deduplicates repeated
StationClaim.Takecalls. - Reduces unnecessary station lease renewal writes.
- Coalesces immediate release/re-take cycles on the same station.
- Preserves ownership acquisition for real inventory/world mutations.
- Protects player-owned objects from unnecessary dedicated-server JIT ownership takeover.
- Reduces redundant settler transform, velocity, and animation ZDO writes.
- Keeps normal Valheim/Innangard settler ownership and simulation selection.
- Includes client death/respawn safety for ownership and sync patches.
Movement / Pathfinding
- Tighter intermediate path corners to reduce wall/corner cutting.
- Body-aware path clearance so planner width better matches the settler's real collider.
- Live-configurable settler collider and planner radius multipliers.
- Improved recovery routing around walls, furniture, and narrow areas.
- Storage interactions prefer reachable positions on the settler's current floor.
- Tests all available storage interaction positions before accepting an unreachable fallback.
- Chests and drawers use improved standing-position routing.
- Smelters, kilns, fires, and other machines prefer a reachable interaction side.
Chairs / Meals
- Improved chair approach routing around tables and furniture.
- Settlers approach from a reachable point beside/behind the reserved chair before sitting.
- Works for both meal seating and normal idle/social sitting.
- Fixes distant workers using up the meal timer while travelling to collect food.
- After collecting food and reserving a chair, settlers receive a fresh 30-second seating window.
- Keeps Innangard's normal standing-meal fallback if a chair genuinely cannot be reached.
Combat / AI State
- Clears stale hostile targets that can leave residents permanently stuck with a red
!. - Prevents stale combat state from blocking meals, sitting, resting, and normal work.
- Nearby or genuinely threatening enemies are still retained normally.
- Guards, hunters, and followers keep their existing specialized combat behavior.
Storage / Caretakers
- Multiple settlers can use the same chest/drawer without global
StationClaimlocking. - Existing item/capacity protections remain active.
- Drawer reach follows Innangard's normal horizontal and vertical storage reach settings.
- Caretakers prefer compatible drawers where appropriate.
- Caretakers deliver carried cargo before making optional
CollectMoretrips. - Fixes
CollectMoregetting stuck when already within valid interaction range. - Fixes deposit jobs stalling on the final blocked/stuck approach.
- Open but already-emptied source chests no longer stall sorting jobs.
- Prevents already-collected cargo from being unnecessarily returned or abandoned.
Loose Ground Items
- Local in-memory reservations stop multiple caretakers chasing the same dropped stack.
- Nearby loose items are grouped into piles.
- The nearest caretaker wins the pile claim.
- Claims can switch if another caretaker becomes meaningfully closer.
- Loose-item claims add no extra ZDO fields, ownership changes, RPCs, or persistent data.
Lumberjacks
- Improves tree/log target selection.
- A much closer standing tree can beat a distant felled log.
- Existing Innangard work-area restrictions remain in place.
Better Organisation Integration
Optional — all other features work without Better Organisation installed.
- Innangard understands Better Organisation category rules.
- Supports BO per-item include/exclude rules.
- BO rules are read locally without duplicating them into chest ZDO data.
- Compatible drawers remain preferred where appropriate.
- BO-managed chests integrate with Innangard's chest-rules UI.
- Adds a shortcut from Innangard's chest UI to Better Organisation storage rules.
- Configurable chest-rules modifier key.
BetrValheim / ItemDrawers Integration
With the separate Innangard BetrValheim Drawer Bridge installed:
- Innangard can discover and use BetrValheim drawers.
- Caretakers can deposit ordinary cargo directly into compatible drawers.
- Drawer transfers use the actual drawer API and capacity checks.
- Drawer support works independently of Better Organisation.
Important Config Options
[Movement]
SettlerColliderRadiusMultiplier = 0.92
PlannerRadiusMultiplier = 0.96
MealSeatSearchSeconds = 30
[Combat]
ClearStaleResidentTargets = true
StaleResidentTargetCloseRetainDistance = 4
[UI]
ChestRulesModifierKey = LeftShift

