Emergency Dice REPOED Fixed

版本 v1.0.2·更新於 2026-07-13

A patch for Emergency Dice REPOED: fixes dice rolling (throw & E-key) and restores in-game chat messages showing which effect triggered, both broken in current R.E.P.O.

模組介紹 作者原文

Emergency Dice REPOED Fixed

A compatibility patch for Emergency Dice REPOED by slayer6409.

Emergency Dice REPOED was built for an older version of R.E.P.O. Two things broke silently in the current version:

  • Dice never rolled — throwing or pressing E did nothing. The original FixedUpdate logic called a method (RunManager.levelShop) whose type changed from Level to List, throwing a MissingFieldException every frame.
  • No in-game chat message — the dice has always shown "Rolling …" in the BepInEx log, but the RPC it used to send that as an in-game chat message (ChatMessageSendRPC) no longer exists in the current R.E.P.O. ChatManager.

This patch fixes both.

What it does

  • Fixes dice rolling. Replaces the broken FixedUpdate with a fully compatible version that correctly detects throws (by velocity) and E-key presses (via ItemToggle). All reflection lookups are cached once at startup — no per-frame overhead.
  • The roller announces the result. Every time a dice effect triggers, the player who rolled the die

says it through their own in-game chat — the same call vanilla typed chat uses, so it comes out as their

character's own voice line (works with any TTS voice pack), heard by everyone. With SpoilerMode off,

the effect's tooltip is announced instead of its name.

  • Makes every effect work in singleplayer. Many effects start with a Photon RPC, which throws outside

a room — so in singleplayer they silently did nothing. A scoped RPC emulator now runs those calls

locally (only for this mod's objects; nothing else is touched).

  • Multiplayer fixes: the rainbow die's instant-reroll actually rerolls now, a rolled 6 no longer

crashes the reroll, and chat lines are no longer doubled.

Requirements

You need Emergency Dice REPOED installed — this is a patch for it, not a replacement.

Notes

  • Works in singleplayer and multiplayer (host and clients).
  • The announcement goes through the game's own chat/voice system, so it's heard by everyone, not just

shown locally.

  • No configuration needed.

Credit

All credit for the dice system goes to slayer6409, the author of Emergency Dice REPOED. Please install and support the original mod:

Bug reports & requests

Found a bug or have an idea? Please use this form:

Emergency Dice REPOED Fixed(日本語)

slayer6409 の Emergency Dice REPOED 向け互換パッチです。

Emergency Dice REPOED は古いバージョンの R.E.P.O. 向けに作られており、現在のバージョンでは以下の2點が壊れていました:

  • サイコロが振れない — 投げても E キーを押しても何も起きない。元の FixedUpdate が參照していた RunManager.levelShop の型が Level から List に変わり、毎フレーム MissingFieldException が発生していた。
  • ゲーム內チャットメッセージが出ない — サイコロはBepInExログに「Rolling …」と出力しているが、それをゲーム內チャットに送る RPC(ChatMessageSendRPC)が現在の R.E.P.O. の ChatManager から削除されていた。

このパッチで両方を修正します。

修正內容

  • サイコロの投げ&Eキーを修正。 壊れた FixedUpdate を完全互換版に置き換え。速度による投擲検出と ItemToggle による E キー検出を正しく動作させます。リフレクション検索は起動時に1回キャッシュするため、毎フレームのオーバーヘッドはありません。
  • 振った本人が結果を発言。 サイコロの効果が発動するたびに、振ったプレイヤー自身がゲーム內チャットで

その結果を発言します。バニラのチャット入力と全く同じ経路を使うため、実際にはキャラクターの音聲(TTS)として

発聲され、全員に聞こえます。SpoilerMode がオフの場合は効果名の代わりにツールチップを発言します。

必要なもの

Emergency Dice REPOED が必要です(このMODはパッチです。単體では動きません)。

補足

  • シングルプレイ・マルチプレイ両対応(ホスト・クライアント問わず動作)。
  • ゲーム本體のチャット/音聲システムを経由するため、ローカル表示ではなく全員に聞こえます。
  • 設定不要。

クレジット

サイコロシステムの全てのクレジットは slayer6409 氏にあります。オリジナルMODの導入もお願いします:

バグ報告・要望

このフォームからどうぞ:

安裝與使用 安裝:BepInEx 外掛

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

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

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

BepInEx-BepInExPackslayer6409-Emergency_Dice_REPOED

檔案與校驗

檔案名稱
Emergency_Dice_REPOED_Fixed-1.0.2.zip
檔案大小
152.6 KiB