LetMeTameYouServerFix
Server-side fix for LetMeTameYou on dedicated servers: the server sets up tames the way clients do, so it no longer deletes newborns like fawns, and the tames it simulates keep their tamed AI.
模組介紹 作者原文
LetMeTameYouServerFix
A server-side fix for LetMeTameYou on dedicated
servers. The server sets up tames the same way clients do, so it no longer deletes newborns.
The bug
LetMeTameYou makes creatures tameable by changing their prefabs: it adds taming and breeding, swaps the AI and
creates a prefab for the young (for deer it is MiniDeer). Clients do this once they receive the tame list from the
server. A dedicated server skips it and keeps the vanilla prefabs.
With a server-side simulation mod (Dedicated Simulation and the like) the server itself creates every object near
players, and an object whose prefab it does not know is deleted on the spot (Destroyed invalid prefab ZDO in the
server log). So on such a server:
- a newborn (a fawn, for example) disappears right after it is born;
- a taming tool dropped on the ground disappears too;
- tames the server takes over run on vanilla AI, so a tamed deer behaves like a wild one.
What this mod does
When the world loads on a dedicated server, it runs the same setup LetMeTameYou runs on clients
(TameManager.UpdatesFromServer, then PrefabManager.ItemReg for the taming tool), from the same tame list.
Clients, single player and hosted games are not touched.
If LetMeTameYou changes and these methods are gone, the mod logs an error and does nothing.
Installation
Server only, next to LetMeTameYou. Players do not need it, and it does not check versions.
- Mod manager: install it on the server.
- Manual: put LetMeTameYouServerFix.dll into BepInEx/plugins on the server.
Log
- On start: Tames from LetMeTameYou are set up on a dedicated server too.
- When the world loads: Tames set up on the server: Deer (offspring MiniDeer) — every tame from your list, with
its offspring prefab.
- If an offspring prefab is still missing: `: offspring prefab is not registered, the server will
delete newborns`.
Tested with LetMeTameYou 0.1.0 on a Linux dedicated server with Dedicated Simulation.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: