h0tw1r3 / valheim-webmap

Live Valheim world map on the web! Server side only BepInEx mod.
MIT License
15 stars 5 forks source link

Not working #6

Closed Blackmadman closed 3 months ago

Blackmadman commented 9 months ago

Is there a real chance that you can get the mod running again? Or is the project dead? It would be great as it is the only map I have found.

[Info : BepInEx] Loading [WebMap 2.5.2] [Warning: HarmonyX] AccessTools.DeclaredMethod: Could not find method for type ZDO and name Print and parameters ArgumentException: Undefined target method for patch method static bool WebMap.Patches.ZDO_Patch::Print(ZDO& instance) at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x0006a] in <474744d65d8e460fa08cd5fd82b5d65f>:0 Rethrow as HarmonyException: Patching exception in method null at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0006c] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00095] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.Harmony.b11_0 (System.Type type) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0 at WebMap.WebMap.Awake () [0x00015] in C:\Users\h0tw1r3\source\repos\valheim-webmap\WebMap\WebMap.cs:56 UnityEngine.GameObject:Internal_AddComponentWithType(GameObject, Type) UnityEngine.GameObject:AddComponent(Type) BepInEx.Bootstrap.Chainloader:Start() UnityEngine.GameObject:.cctor() UnityEngine.UI.Graphic:CacheCanvas() UnityEngine.UI.Graphic:get_canvas() TMPro.TextMeshProUGUI:OnCanvasHierarchyChanged()

(Filename: C:/Users/h0tw1r3/source/repos/valheim-webmap/WebMap/WebMap.cs Line: 56)

h0tw1r3 commented 8 months ago

My group stopped playing Valheim so I haven't kept it up to date. I'm sure I'll get back to it when the next biome is released or find another group to play with.

h0tw1r3 commented 6 months ago

@Blackmadman just pushed a new release. Works on my server. Can you confirm? https://github.com/h0tw1r3/valheim-webmap/releases/tag/v2.6.0