TooManyLags Standalone
Keep nearby interactions local and share crowded areas with better-connected players. Camera-directed ownership and Hostile Mob target handoffs for multiplayer without FiresGhettoNetworking.
截圖 共 2 張
模組介紹 作者原文
TooManyLags - Standalone
Keep nearby interactions local whenever possible. Share crowded areas with the better-connected player instead of inheriting an arbitrary distant owner's lag. This lightweight edition suits locally hosted multiplayer and low-powered servers, without requiring Server-Side Simulation.
For dedicated servers using FiresGhettoNetworking, TooManyLags - FiresGhettoNetworking Addon is highly recommended instead of this mod. Enable its Server-Side Simulation for a strong CPU, or disable it for a weak CPU.
Install on the host/server. Players can join multiplayer sessions without the client mod, but functionality is further limited. Only BepInEx is required.
| Your setup | Recommended edition and mode |
|---|---|
| Dedicated server, strong CPU | TooManyLags - FiresGhettoNetworking Addon with Server-Side Simulation. |
| Dedicated server, weak CPU, with FiresGhettoNetworking | TooManyLags - FiresGhettoNetworking Addon with NoServerSideSimulation=true. |
| Dedicated server, weak CPU, without FiresGhettoNetworking | This mod. |
| Locally hosted multiplayer | This mod. |
Why it helps
Valheim processes many interactions and creature updates on the object's owner. A slow owner can delay doors, stations and creatures for everyone else.
TooManyLags gives nearby interactive objects to nearby players. Your own objects process interactions locally; shared objects choose a suitable player with a lower measured host/server ping. This reduces avoidable delays, but shared client-owned objects can still depend on that player's connection.
Help find problems
Real-world testing is still limited. Please share bugs and ideas through GitHub Issues.
Before reporting a bug, test on a separate copy of your host/server and world:
- Run only Valheim and BepInEx, without this mod or other mods. Repeat the steps that caused the problem. If it still happens, please report it to the relevant project rather than here.
- Add only this mod and repeat the same steps. If the problem appears only with this mod, open an issue with a detailed description, steps to reproduce, mod versions, relevant settings and logs. Mention which clients have the mod installed.
Thanks for helping improve the mod. Have fun, and enjoy smoother adventures together!
How it works
- A directional grid claims nearby interactions. With the client mod: camera direction. Without it: character rotation. Overlapping coverage chooses the eligible player with the better smoothed ping; a small margin prevents frequent transfers from ping jitter.
- Defaults: 4-metre cells, Rounded7x7, six inner cells with no delay, three extra forward cells with 0.2 seconds, outer cells with 3 seconds. Rear cells make no request. Full-grid mode is also available.
- Standing still creates no new field requests. Moving to another cell or turning into another 45-degree camera sector updates coverage. Active timers and necessary handoffs continue. Ownership remains after empty-cell exits until another relevant request or vanilla area release.
- Hostile Mobs prefer their current player target as owner. Above 200 ms, a sufficiently better-connected player within 6 metres can take over simulation. The attack target stays the same. Bosses and friendly magic summons keep vanilla ownership.
- With modded owner clients, the current owner checks active use before transferring and the receiver confirms its object and area are loaded. Open inventories and pending opening requests block transfers. Observed refilling protects stations for 10 seconds. Riding, following, driving, ongoing attacks and fighting tamed animals block relevant transfers.
The host/server coordinates decisions; simulation remains on players. It does not enable server-side simulation, manage static walls/floors or manage loose item drops. Incinerators keep vanilla ownership because their burning action cannot safely transfer with this protocol.
Without the client mod, the safe fallback covers standard doors, seats, beds, workbenc
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: