redseiko / ComfyMods

Mod scripts for the Comfy Valheim server.
GNU General Public License v3.0
16 stars 19 forks source link

Can't send chat messages #85

Closed Thercious closed 7 months ago

Thercious commented 9 months ago

Version: 2.3.0, from Thunderstore Installed through r2modman.

Issue: I can't send any messages. Whenever I press Enter nothing happens with the chat message (I can still type), but I get this error on the BepInEx window:

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Groups.ChatCommands.get_groupChatActive () (at <8edac4fe227b465386627194c104e729>:0)
Groups.ChatCommands+SendMessageToGroup.Prefix (Chat __instance) (at <8edac4fe227b465386627194c104e729>:0)
(wrapper dynamic-method) Chat.DMD<Chat::InputText>(Chat)
Terminal.SendInput () (at <dbd2a6fbcde9498cadcacfb37ef883e3>:0)
(wrapper dynamic-method) Chat.DMD<Chat::SendInput>(Chat)
Chatter.Chatter+<>c.<ToggleChatPanel>b__24_2 (System.String _) (at <323e3b7665d744368d86cab8251b42bf>:0)
UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) (at <50b18efe22344b9eb3b7d77b08ea287f>:0)
UnityEngine.Events.UnityEvent`1[T0].Invoke (T0 arg0) (at <50b18efe22344b9eb3b7d77b08ea287f>:0)
TMPro.TMP_InputField.SendOnSubmit () (at <df34667885654f3f876bb0a72820b168>:0)
TMPro.TMP_InputField.OnUpdateSelected (UnityEngine.EventSystems.BaseEventData eventData) (at <df34667885654f3f876bb0a72820b168>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IUpdateSelectedHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <042da27c9af642978a8a5138113c4eed>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <042da27c9af642978a8a5138113c4eed>:0)
UnityEngine.EventSystems.EventSystem:Update()
EardwulfC commented 9 months ago

Author does not provide support for GroupChat. Please contact the GroupChat Author to have them patch in compatibility with Chatter.

redseiko commented 7 months ago

Added compatibility with v2.4.0.

https://valheim.thunderstore.io/package/ComfyMods/Chatter/