BestAutoSort StabilityFix

版本 v0.4.2·更新於 2026-10-08

Unofficial stability fork of maks2204's BestAutoSort 0.4.0: fixes the Stack freeze, item loss and chest sync issues; server-synced config, chest crafting range up to 150 m. Replaces the original.

模組介紹 作者原文

BestAutoSort — Stability Fix (unofficial)

Unofficial fork of BestAutoSort 0.4.0 by maks2204 with crash, freeze and item-loss fixes.

Features are the original's. The fork fixes bugs, syncs gameplay settings from the server and raises the chest crafting range to 150 m. MIT license, original copyright kept (see LICENSE).

Install

  • Remove or disable the original BestAutoSort. This fork uses the same plugin GUID and config file (dev.maks2204.bestautosort.cfg), so both cannot load at once.
  • Every player and the dedicated server should run this same build.
  • The network protocol is unchanged (still reports 0.4.0), so it stays compatible during rollout. Mixed setups keep the original's bugs on the unpatched side.

Server config sync and chest range

  • Gameplay settings are taken from the server while connected: ranges, crafting from chests, shared chest use, auto feed, kiln options. Players' own.cfg files are not changed, and local values return after disconnect. Edit the server's BepInEx/config/dev.maks2204.bestautosort.cfg and the change reaches all players live, no restart needed. Keys, buttons, sorting and visuals stay personal.
  • Crafting, building and fuel from chests ([Shared Resources] Range) can go up to 150 m, up from 100. Chests only count while the game has them loaded: about 128 m around the player at the default simulation distance.
  • Every player and the server must run this build. A player on the original mod ignores the server settings, and when their game owns a chest it rejects far requests.

Fixed

  • Stack froze the game with a full inventory, and on dedicated servers the player was kicked. Batches over 4 items reported per chunk, and the quick-stack cascade treated each chunk as the whole batch. Every chunk re-sent almost the whole inventory to the next chest, and that split again, giving chunks^chests transactions in one frame.
  • Quick-stack cascade no longer grabs hotbar, equipped, locked or restock-target stacks. There is a runaway guard of 128 submits per session.
  • Items vanished when the inventory was full. Leftovers from compensation and drag now drop at your feet.
  • Production loans (fuel and ore from chests) no longer overlap slot (0,0) in a full inventory, and loans return to owned chests again.
  • Requests to unavailable chests always complete, so restock, quick-stack and return chains no longer stall and compensation items are no longer voided.
  • Chest ownership handover no longer saves the chest once per item. Commits no longer trigger a full vanilla reload, and the last transaction survives a handover.
  • Access or version rejects are no longer reported as "applied but items unrecoverable".
  • Fixed "collection modified" exceptions in the transaction pump, the SetInUse error on a dedicated server acting as chest manager, and stray gamepad hotkeys on the added buttons.
  • Freeze diagnostics: LogOutput.log warns when a frame step, a chest transaction or a chest load takes more than 100 ms.

See CHANGELOG.md for details.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
BestAutoSort_StabilityFix-0.4.2.zip
檔案大小
276.7 KiB