WhelanB / RoR2-Discord-RP

Risk of Rain 2 mod to introduce support for Discord Rich Presence
https://thunderstore.io/package/WhelanB/DiscordRichPresence/
2 stars 4 forks source link

DLC Void Update #13

Open Dave247 opened 2 years ago

Dave247 commented 2 years ago

Like so many other mods it seems the DLC update broke this one too. While it doesn't cause any crashes or issues that I was able to immediately notice, the problem is that the rich presence information isn't being updated beyond the default main menu text.

I noticed two errors, in the console one from BeepinEx not loading a plugin and another being a Unity Error when the mod itself tried to load: `[Debug : BepInEx] Skipping loading C:\Users\david\AppData\Roaming\r2modmanPlus-local\RiskOfRain2\profiles\Default\BepInEx\plugins\WhelanB-DiscordRichPresence\NativeNamedPipe.dll because it's not a valid .NET assembly. Full error: Format of the executable (.exe) or library (.dll) is invalid.` ``` [Info : BepInEx] Loading [Discord Rich Presence 2.3.0] [Info :Discord Rich Presence] Starting Discord Rich Presence.... [Debug : R2API] Hook added by assembly: Discord.dll for: RoR2.Run.BeginStage [Info : Console] Created new NamedPipeClientStream 'discord-ipc-0' => '\\.\pipe\discord-ipc-0' [Error : Unity Log] MissingMethodException: void RoR2.SteamworksLobbyManager.OnLobbyCreated(bool) Stack trace: DiscordRichPresence.Discord.Awake () (at <496ab480f7ab42319406472c870695b9>:IL_00EE) UnityEngine.GameObject:AddComponent(Type) BepInEx.Bootstrap.Chainloader:Start() RoR2.RoR2Application:Awake() [Debug : R2API] Hook removed by assembly: Discord.dll for: RoR2.Run.BeginStage [Error : Unity Log] MissingMethodException: void RoR2.SteamworksLobbyManager.OnLobbyCreated(bool) Stack trace: DiscordRichPresence.Discord.Dispose () (at <496ab480f7ab42319406472c870695b9>:IL_0013) DiscordRichPresence.Discord.OnDisable () (at <496ab480f7ab42319406472c870695b9>:IL_0001) UnityEngine.GameObject:AddComponent(Type) BepInEx.Bootstrap.Chainloader:Start() RoR2.RoR2Application:Awake() ```

Aside from getting the mod working again, the new areas/maps will also need to be added.

DarkKronicle commented 2 years ago

https://github.com/WhelanB/RoR2-Discord-RP/pull/14

piebaker commented 2 years ago

Bump. Still planned to update?

Mr-Foxtrot commented 2 years ago

Bumping too, would really love for the pull request to get merged.