-
Notifications
You must be signed in to change notification settings - Fork 1
Loading the mod with Error. #6
Description
text.txt
This is godot.txt from the game I don't understand what is causing the problem I have no other mods.
Here is actual error code.
[INFO] Found mod pck file D:/Winlator/2nd/Slay the Spire 2/mods/RunReplays.pck [INFO] Loading assembly DLL RunReplays.dll [INFO] No ModInitializerAttribute detected. Calling Harmony.PatchAll for RunReplays, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null [ERROR] Exception caught while trying to run PatchAll on assembly RunReplays, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void RunReplays.BattleRewardPatch::PaelsWingSacrifice(MegaCrit.Sts2.Core.Models.Relics.PaelsWing paelsWing) at HarmonyLib.PatchClassProcessor.PatchWithAttributes(MethodBase& lastOriginal, Boolean unpatch) at HarmonyLib.PatchClassProcessor.Patch() --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original) at HarmonyLib.PatchClassProcessor.Patch() at HarmonyLib.Harmony.<PatchAll>b__10_1(Type type) at HarmonyLib.CollectionExtensions.Do[T](IEnumerable1 sequence, Action1 action) at HarmonyLib.CollectionExtensions.DoIf[T](IEnumerable1 sequence, Func2 condition, Action1 action)
at HarmonyLib.Harmony.PatchAll(Assembly assembly)
at MegaCrit.Sts2.Core.Modding.ModManager.TryLoadModFromPck(String pckFilename, DirAccess dirAccess, ModSource source)
at MegaCrit.Sts2.Core.Modding.ModManager.TryLoadModFromPck(String pckFilename, DirAccess dirAccess, ModSource source)
at MegaCrit.Sts2.Core.Modding.ModManager.LoadModsInDirRecursive(DirAccess dirAccess, ModSource source)
at MegaCrit.Sts2.Core.Modding.ModManager.Initialize()
at MegaCrit.Sts2.Core.Helpers.OneTimeInitialization.ExecuteEssential()
at MegaCrit.Sts2.Core.Nodes.NGame.GameStartup()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MegaCrit.Sts2.Core.Nodes.NGame.GameStartup()
at MegaCrit.Sts2.Core.Nodes.NGame.GameStartupWrapper()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MegaCrit.Sts2.Core.Nodes.NGame.GameStartupWrapper()
at MegaCrit.Sts2.Core.Nodes.NGame._EnterTree()
at Godot.Node.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret)
at Godot.CanvasItem.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret)
at Godot.Control.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret)
at MegaCrit.Sts2.Core.Nodes.NGame.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret)
at Godot.Bridge.CSharpInstanceBridge.Call(IntPtr godotObjectGCHandle, godot_string_name* method, godot_variant** args, Int32 argCount, godot_variant_call_error* refCallError, godot_variant* ret)
[INFO] Finished mod initialization for 'Run Replays for STS2' (RunReplays).
[INFO] --- RUNNING MODDED! --- Loaded 1 mods (1 total)
[INFO] Loading locale path=res://localization/eng
[INFO] ModelIdSerializationCache initialized. Categories: 19 Entries: 1597 Epochs: 57 Hash: 1652125121
GDScript backtrace (most recent call first):
[0] _ready (res://addons/sentry/SentryInit.gd:24)
[Sentry.GDExtension] Initialized: env=playtesters, release=v0.98.0
[INFO] AtlasManager: Loaded epoch_atlas with 57 sprites
[INFO] AtlasManager: Loaded relic_atlas with 336 sprites
[INFO] AtlasManager: Loaded relic_outline_atlas with 336 sprites
[INFO] AtlasManager: Loaded power_atlas with 268 sprites
[INFO] AtlasManager: Loaded card_atlas with 840 sprites
[INFO] AtlasManager: Loaded potion_atlas with 63 sprites
[INFO] AtlasManager: Loaded potion_outline_atlas with 63 sprites
[INFO] AtlasManager: Loaded stats_screen_atlas with 16 sprites
[INFO] AtlasManager: Loaded intent_atlas with 310 sprites
[INFO] AtlasManager: Loaded era_atlas with 27 sprites
`