Just updated to the new release. Fresh install of Battletech, Installed BTML 2.0 and then downloaded ModTek2.0 and get this exception. BTML.log attached. Game will launch but ModTek will not load or load any .dll files.
BTModLoader -- 6/4/2018 12:10:57 PM
Found DLL: ModTek.dll
12:10:57 PM - ModTek.dll: Found and called entry point with void param: ModTek.Init
12:10:57 PM - ModTek.dll: While loading a dll, an exception occured:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: No target method specified for class ModTek.VersionInfo_GetReleaseVersion_Patch
at Harmony.PatchProcessor.PrepareType () [0x00000] in :0
at Harmony.PatchProcessor..ctor (Harmony.HarmonyInstance instance, System.Type type, Harmony.HarmonyMethod attributes) [0x00000] in :0
at Harmony.HarmonyInstance.b__7_0 (System.Type type) [0x00000] in :0
at Harmony.CollectionExtensions.Do[Type] (IEnumerable1 sequence, System.Action1 action) [0x00000] in :0
at Harmony.HarmonyInstance.PatchAll (System.Reflection.Assembly assembly) [0x00000] in :0
at ModTek.ModTek.Init () [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0
at BattleTechModLoader.BTModLoader.LoadDLL (System.String path, System.String methodName, System.String typeName, System.Object[] prms, BindingFlags bFlags) [0x00000] in :0
Took 0.1028383 seconds to load mods
No Harmony Patches loaded.
Just updated to the new release. Fresh install of Battletech, Installed BTML 2.0 and then downloaded ModTek2.0 and get this exception. BTML.log attached. Game will launch but ModTek will not load or load any .dll files.
BTModLoader -- 6/4/2018 12:10:57 PM Found DLL: ModTek.dll 12:10:57 PM - ModTek.dll: Found and called entry point with void param: ModTek.Init 12:10:57 PM - ModTek.dll: While loading a dll, an exception occured: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: No target method specified for class ModTek.VersionInfo_GetReleaseVersion_Patch at Harmony.PatchProcessor.PrepareType () [0x00000] in:0
at Harmony.PatchProcessor..ctor (Harmony.HarmonyInstance instance, System.Type type, Harmony.HarmonyMethod attributes) [0x00000] in :0
at Harmony.HarmonyInstance.b__7_0 (System.Type type) [0x00000] in :0
at Harmony.CollectionExtensions.Do[Type] (IEnumerable:0
at Harmony.HarmonyInstance.PatchAll (System.Reflection.Assembly assembly) [0x00000] in :0
at ModTek.ModTek.Init () [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0
at BattleTechModLoader.BTModLoader.LoadDLL (System.String path, System.String methodName, System.String typeName, System.Object[] prms, BindingFlags bFlags) [0x00000] in :0
1 sequence, System.Action
1 action) [0x00000] inTook 0.1028383 seconds to load mods No Harmony Patches loaded.