Kronometer not working in KSP 1.12
panarchist opened this issue · 5 comments
Kronometer is failing to load under KSP 1.12
Mods installed: Kopernicus (release 46), Kronometer 1.11.1, Module Manager 4.1.4
`#### BEGIN MODULEMANAGER LOG ####
[LOG 09:03:25.180] Log started at 2021-06-25 09:03:25.180
[EXC 09:03:26.687] Add to mod list threw an exception in loading Kronometer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: System.TypeLoadException: VTable setup of type Kronometer.ClockFormatter failed
at (wrapper managed-to-native) System.RuntimeType.GetMethodsByName_native(System.RuntimeType,intptr,System.Reflection.BindingFlags,bool)
at System.RuntimeType.GetMethodsByName (System.String name, System.Reflection.BindingFlags bindingAttr, System.Boolean ignoreCase, System.RuntimeType reflectedType) [0x0001b] in <9577ac7a62ef43179789031239ba8798>:0
at System.RuntimeType.GetMethodCandidates (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.CallingConventions callConv, System.Type[] types, System.Boolean allowPrefixLookup) [0x00010] in <9577ac7a62ef43179789031239ba8798>:0
at System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) [0x0000e] in <9577ac7a62ef43179789031239ba8798>:0
at ModuleManager.ModListGenerator.GetAdditionalModsFromStaticMethods (ModuleManager.Logging.IBasicLogger logger) [0x00039] in <410b7909691747c78c895491c954d2a4>:0 `
I have already patched it for my personal use, will attatch my patch with included source and make a pull request shortly.
Kronometer-1.12.zip
Verified that your version corrects the issue, including when using custom settings file.
Looks like both CKAN version for 1.11 and this one still have some problems on 1.12.
on the forum there are posts, talking about problems in some combination of JNSQ, PreciseManeuver, Docking Port Alignment Indicator, and MechJeb2
@Sigma88
I've released my version
Could you update the OP to say that the version for 1.12 is available here:
https://github.com/linuxgurugamer/Kronometer/releases/latest
Thanks