Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Emergency Dice REPOED Fixed
A patch for Emergency Dice REPOED: fixes dice rolling (throw & E-key) broken in current R.E.P.O., and adds in-game chat messages showing which effect triggered.
By matsu
| Last updated | 5 hours ago |
| Total downloads | 38 |
| Total rating | 0 |
| Categories | Mods Valuables Client-side Server-side AI Generated |
| Dependency string | matsu-Emergency_Dice_REPOED_Fixed-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
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
FixedUpdatelogic called a method (RunManager.levelShop) whose type changed fromLeveltoList<Level>, throwing aMissingFieldExceptionevery 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
FixedUpdatewith a fully compatible version that correctly detects throws (by velocity) and E-key presses (viaItemToggle). All reflection lookups are cached once at startup — no per-frame overhead. - Adds in-game chat messages. Every time a dice effect triggers, a message appears in the in-game chat:
This works by patching each[Dice] Rugrats [Dice] Random UpgradeIEffect.Use()implementation and callingChatManager.instance.ForceSendMessage().
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).
- Chat messages are shown locally. All players with this mod installed will see the message on their screen.
- 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: https://thunderstore.io/c/repo/p/slayer6409/Emergency_Dice_REPOED/
Bug reports & requests
Found a bug or have an idea? Please use this form: https://docs.google.com/forms/d/e/1FAIpQLSfl7f-oNiwjXjd7mUkfQoqBIhbJhQhhfV-ZmovjJVQ9orwuYQ/viewform
Emergency Dice REPOED Fixed(日本語)
slayer6409 の Emergency Dice REPOED 向け互換パッチです。
Emergency Dice REPOED は古いバージョンの R.E.P.O. 向けに作られており、現在のバージョンでは以下の2点が壊れていました:
- サイコロが振れない — 投げても E キーを押しても何も起きない。元の
FixedUpdateが参照していたRunManager.levelShopの型がLevelからList<Level>に変わり、毎フレームMissingFieldExceptionが発生していた。 - ゲーム内チャットメッセージが出ない — サイコロはBepInExログに「Rolling …」と出力しているが、それをゲーム内チャットに送る RPC(
ChatMessageSendRPC)が現在の R.E.P.O. のChatManagerから削除されていた。
このパッチで両方を修正します。
修正内容
- サイコロの投げ&Eキーを修正。 壊れた
FixedUpdateを完全互換版に置き換え。速度による投擲検出とItemToggleによる E キー検出を正しく動作させます。リフレクション検索は起動時に1回キャッシュするため、毎フレームのオーバーヘッドはありません。 - ゲーム内チャットメッセージを追加。 サイコロの効果が発動するたびにゲーム内チャットにメッセージが表示されます:
各[Dice] Rugrats [Dice] Random UpgradeIEffect.Use()実装にパッチを当て、ChatManager.instance.ForceSendMessage()を呼び出すことで実現しています。
必要なもの
Emergency Dice REPOED が必要です(このMODはパッチです。単体では動きません)。
補足
- シングルプレイ・マルチプレイ両対応(ホスト・クライアント問わず動作)。
- チャットメッセージはローカル表示です。このMODを導入した全プレイヤーの画面に表示されます。
- 設定不要。
クレジット
サイコロシステムの全てのクレジットは slayer6409 氏にあります。オリジナルMODの導入もお願いします: https://thunderstore.io/c/repo/p/slayer6409/Emergency_Dice_REPOED/
バグ報告・要望
このフォームからどうぞ: https://docs.google.com/forms/d/e/1FAIpQLSfl7f-oNiwjXjd7mUkfQoqBIhbJhQhhfV-ZmovjJVQ9orwuYQ/viewform