ItsKaa / VChat

A simple chat improvement mod for Valheim
GNU Affero General Public License v3.0
6 stars 3 forks source link

Valheim Patch 0.207.20 Errror #15

Open Lime18 opened 2 years ago

Lime18 commented 2 years ago

[Info : BepInEx] Loading [VChat 2.1.0] [Warning: HarmonyX] AccessTools.DeclaredMethod: Could not find method for type Chat and name AddString and parameters (string, string, Talker+Type) [Error : Unity Log] ArgumentException: Undefined target method for patch method static bool VChat.Patches.ChatPatchAddStringFormatting::Prefix(Chat& __instance, String& user, String& text, Talker+Type& type) Stack trace: HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0) Rethrow as HarmonyException: Patching exception in method null HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.<PatchAll>b__11_0 (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) HarmonyLib.Harmony.CreateAndPatchAll (System.Reflection.Assembly assembly, System.String harmonyInstanceId) (at <474744d65d8e460fa08cd5fd82b5d65f>:0) VChat.VChatPlugin.Awake () (at <b93e6a6c697a4c409274f868693e76d1>:0) UnityEngine.GameObject:AddComponent(Type) BepInEx.Bootstrap.Chainloader:Start() UnityEngine.Application:.cctor()

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: VChat.Patches.TerminalPatchAddStringToBuffer.Prefix (Terminal& __instance, System.String& text) (at <b93e6a6c697a4c409274f868693e76d1>:0) (wrapper dynamic-method) Terminal.DMD<Terminal::AddString>(Terminal,string) Console.Awake () (at <dcb0de0155834d459f18d7ac6ea5244b>:0) UnityEngine.Object:Instantiate(GameObject) FejdStartup:Awake()

pncorpuz commented 2 years ago

looks like with the new Valheim Update they completely removed the AddString completely

Lime18 commented 2 years ago

looks like with the new Valheim Update they completely removed the AddString completely

He moved to Terminal check out this version VChat_Fixed.zip

xLenso commented 2 years ago

looks like with the new Valheim Update they completely removed the AddString completely

He moved to Terminal check out this version VChat_Fixed.zip

Hi @Lime18 , thanks for updating the fixed version, would you mind checking and help with a lil request to make the chatbox possible to be clicked through? and also the chatbox doesn't behave like vanilla chatbox, it triggers randomly and made the chatbox "active", with this random activated chatbox, and unable to click through, it is kind of hassle to use this mod :(

Hopefully you are kind enough to help checking with these, thank you in advance!