Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kronometer not working in KSP 1.12 #17

Open
panarchist opened this issue Jun 25, 2021 · 5 comments
Open

Kronometer not working in KSP 1.12 #17

panarchist opened this issue Jun 25, 2021 · 5 comments

Comments

@panarchist
Copy link

Kronometer is failing to load under KSP 1.12

Mods installed: Kopernicus (release 46), Kronometer 1.11.1, Module Manager 4.1.4
Screenshot (9)

`#### 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 `

KSP.log
Player.log
ModuleManager.zip
Logs.zip

@R-T-B
Copy link
Member

R-T-B commented Jun 25, 2021

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

@panarchist
Copy link
Author

Verified that your version corrects the issue, including when using custom settings file.

@yalov
Copy link

yalov commented Aug 14, 2021

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

https://forum.kerbalspaceprogram.com/index.php?/topic/161218-131plugin-kronometer-v131-1/&do=findComment&comment=4019315

https://forum.kerbalspaceprogram.com/index.php?/topic/154834-112x-anatid-robotics-mumech-mechjeb-autopilot-2121-8th-august-2021/&do=findComment&comment=4018077

@linuxgurugamer
Copy link

Pinging @Sigma88 about this. Would be nice to get the PR which @R-T-B submitted merged and released.

@linuxgurugamer
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants