边缘世界 RimWorld

边缘世界 RimWorld

Elite Bionics Framework
此主题已被锁定
Boldimore 2022 年 10 月 25 日 上午 5:33
getting an error, log provided
Is this framework related? just a text file with the error log
https://file.io/SAbahQsaSPIq
< >
正在显示第 1 - 15 条,共 17 条留言
Vectorial1024  [开发者] 2022 年 10 月 25 日 上午 6:54 
Thanks for the report!

This is framework related, and I have also received similar error reports saying "Something about CONN changed"

You can see the latest progress here:

https://github.com/Vectorial1024/EliteBionicsFramework/issues/43
Boldimore 2022 年 10 月 27 日 上午 3:48 
引用自 Vectorial1024
Thanks for the report!

This is framework related, and I have also received similar error reports saying "Something about CONN changed"

You can see the latest progress here:

https://github.com/Vectorial1024/EliteBionicsFramework/issues/43
https://imgur.com/a/3FSP4VY This one is already reported I guess?
Vectorial1024  [开发者] 2022 年 10 月 27 日 上午 8:30 
引用自 Boldimore
引用自 Vectorial1024
Thanks for the report!

This is framework related, and I have also received similar error reports saying "Something about CONN changed"

You can see the latest progress here:

https://github.com/Vectorial1024/EliteBionicsFramework/issues/43
https://imgur.com/a/3FSP4VY This one is already reported I guess?
Yup, I have already received this report.
Vectorial1024  [开发者] 2022 年 10 月 27 日 上午 9:11 
The CONN bug has been fixed.
Boldimore 2022 年 10 月 27 日 下午 1:48 
Good work :P
alonlystalker 2023 年 3 月 31 日 上午 5:42 
[V1024-EBF] Something about CONN changed; please report this to us.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
EBF.EliteBionicsFrameworkMain:LogError (string)
EBF.Util.CommunityUnificationUtil:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
(wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility:Verse.StaticConstructorOnStartupUtility.CallAll_Patch5 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_5 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()


[V1024-EBF][ERR] Failed to apply Harmony patches for V1024.EBFramework. Exception was: HarmonyLib.HarmonyException: Patching exception in method static System.Reflection.MethodBase EBF.Patches.Unification.CONN.PreFix_CONN_GetMaxHealth::TargetMethod() ---> System.Exception: Method static System.Reflection.MethodBase EBF.Patches.Unification.CONN.PreFix_CONN_GetMaxHealth::TargetMethod() returned an unexpected result: null
at HarmonyLib.PatchClassProcessor.RunMethod[S,T] (T defaultIfNotExisting, T defaultIfFailing, System.Func`2[T,TResult] failOnResult, System.Object[] parameters) [0x00117] in <255414689d344b1385ae719f6cce8c55>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <255414689d344b1385ae719f6cce8c55>:0
at HugsLib.ModBase.ApplyHarmonyPatches () [0x0009a] in <4a46802aeab646ab99159f7eecb6b57e>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
HugsLib.Utils.ModLogger:Error (string,object[])
HugsLib.ModBase:ApplyHarmonyPatches ()
HugsLib.HugsLibController:EnumerateChildMods (bool)
(wrapper dynamic-method) HugsLib.HugsLibController:HugsLib.HugsLibController.LoadReloadInitialize_Patch1 (HugsLib.HugsLibController)
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
Vectorial1024  [开发者] 2023 年 3 月 31 日 上午 9:02 
Thanks to this error message, I noticed CONN deciding to move the HP-changing logic to Elite Bionics Framework. This is a good news for the community as a whole since we have one less thing to worry about.

Therefore, it seems we can safely ignore this error. I will find some time later to follow this up and remove the error etc.

https://github.com/Vectorial1024/EliteBionicsFramework/issues/51
Vectorial1024  [开发者] 2023 年 4 月 7 日 上午 7:01 
Update: the CONN error is now fixed.
ignis 2023 年 4 月 22 日 上午 5:33 
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at EBF.Util.CommunityUnificationUtil.TryExtractPawnmorpherHediffToFakeHpComp (Verse.Pawn pawn, Verse.BodyPartRecord record) [0x0010d] in <e7970aab5e884093bbe3afcde72188ec>:0
at EBF.Util.CommunityUnificationUtil.GetBodyPartSummaryTooltipStringDueToMaxHpAdjust (Verse.Pawn pawn, Verse.BodyPartRecord record) [0x0016d] in <e7970aab5e884093bbe3afcde72188ec>:0
at EBF.Patches.Unification.PostFix_Everyone_BodyPartTooltip.PostFix (Verse.Pawn pawn, Verse.BodyPartRecord part, System.String& __result) [0x00001] in <e7970aab5e884093bbe3afcde72188ec>:0
at (wrapper dynamic-method) RimWorld.HealthCardUtility.RimWorld.HealthCardUtility.GetTooltip_Patch2(Verse.Pawn,Verse.BodyPartRecord)
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at HarmonyLib.Traverse.GetValue[T] (System.Object[] arguments) [0x00013] in <255414689d344b1385ae719f6cce8c55>:0
at PeteTimesSix.CompactHediffs.Rimworld.CustomHealthCardUtility+<>c__DisplayClass27_0.<DrawHediffRow>b__8 () [0x00000] in <fb96e7dbddce43e787a445375ce183dd>:0
at Verse.ActiveTip.get_FinalText () [0x0000d] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.ActiveTip:get_FinalText ()
(wrapper dynamic-method) Verse.ActiveTip:Verse.ActiveTip.get_TipRect_Patch0 (Verse.ActiveTip)
Verse.TooltipHandler:CalculateInitialTipPosition (System.Collections.Generic.List`1<Verse.ActiveTip>)
Verse.TooltipHandler:DrawActiveTips ()
Verse.TooltipHandler:DoTooltipGUI ()
(wrapper dynamic-method) Verse.UIRoot:Verse.UIRoot.UIRootOnGUI_Patch2 (Verse.UIRoot)
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch2 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)
Oga88 2023 年 6 月 15 日 下午 10:10 
[V1024-EBF] Elite Bionics Framework has detected some mods using the unmodified GetMaxHealth() method, which violates the EBF protocol. The author(s) of the involved mod(s) should adopt the EBF to clarify their intentions.
For now, the unmodified max HP is returned.
The detected mod comes from: Immortals
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
EBF.EliteBionicsFrameworkMain:LogError (string)
EBF.Patches.Prefix_BodyPart_GetMaxHealth:PreFix (Verse.BodyPartDef,single,Verse.Pawn)
(wrapper dynamic-method) Verse.BodyPartDef:Verse.BodyPartDef.GetMaxHealth_Patch3 (Verse.BodyPartDef,Verse.Pawn)
Immortals.Immortal_Component:TickLivingImmortal (Verse.Pawn,int)
Immortals.Immortal_Component:GameComponentUpdate ()
Verse.GameComponentUtility:GameComponentUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
Verse.Root_Play:Update ()

Is there a way to make immortals work properly with EBF? Can I fix this on my end.
Vectorial1024  [开发者] 2023 年 6 月 18 日 上午 9:59 
Hi there

引用自 Oga88
[V1024-EBF] Elite Bionics Framework has detected some mods using the unmodified GetMaxHealth() method, which violates the EBF protocol. The author(s) of the involved mod(s) should adopt the EBF to clarify their intentions.
For now, the unmodified max HP is returned.
The detected mod comes from: Immortals

.......

Unfortunately, this will require me to push an update, or the Immortals team should respond to this warning/error.
Vectorial1024  [开发者] 2023 年 6 月 18 日 上午 10:01 
PMC_Zero 2024 年 4 月 12 日 上午 10:17 
I'm sorry to bother i'm not using Immortals, but still got a error and not sure if it's the same one(so not sure if it's same or not. pls take a look.
[V1024-EBF][ERR] Failed to apply Harmony patches for V1024.EBFramework. Exception was: HarmonyLib.HarmonyException: Patching exception in method static System.Reflection.MethodBase EBF.Transpilations.Moody.Transpiler_HealthCardUtility_GetTooltip::TargetMethod() ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.AmbiguousMatchException: Ambiguous match in Harmony patch for Moody.Extensions.RimWorld.HealthCardUtility:GetTooltip ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
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) [0x00059] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) [0x0000e] in <eae584ce26bc40229c1b1aa476bfa589>:0
at HarmonyLib.AccessTools+<>c__DisplayClass27_0.<Method>b__0 (System.Type t) [0x00000] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.AccessTools.FindIncludingBaseTypes[T] (System.Type type, System.Func`2[T,TResult] func) [0x00000] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.AccessTools.Method (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x0004b] in <255414689d344b1385ae719f6cce8c55>:0
--- End of inner exception stack trace ---
at HarmonyLib.AccessTools.Method (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x0008e] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.AccessTools.Method (System.String typeColonName, System.Type[] parameters, System.Type[] generics) [0x00007] in <255414689d344b1385ae719f6cce8c55>:0
at EBF.Transpilations.Moody.Transpiler_HealthCardUtility_GetTooltip.TargetMethod () [0x00001] in <8d7ef584f74343bbb48bff56ad256b9a>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at HarmonyLib.PatchClassProcessor.RunMethod[S,T] (T defaultIfNotExisting, T defaultIfFailing, System.Func`2[T,TResult] failOnResult, System.Object[] parameters) [0x000e2] in <255414689d344b1385ae719f6cce8c55>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <255414689d344b1385ae719f6cce8c55>:0
at HugsLib.ModBase.ApplyHarmonyPatches () [0x0009a] in <4a46802aeab646ab99159f7eecb6b57e>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
HugsLib.Utils.ModLogger:Error (string,object[])
HugsLib.ModBase:ApplyHarmonyPatches ()
HugsLib.HugsLibController:EnumerateChildMods (bool)
HugsLib.HugsLibController:LoadReloadInitialize ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
Vectorial1024  [开发者] 2024 年 4 月 12 日 上午 10:22 
v1.5 compatibility is not out yet; you should wait some time

I am also noticing something similar on my side.
PMC_Zero 2024 年 4 月 12 日 上午 11:05 
@Vectorial1024 i'm at 1.4 but I think it's the this mod "Neural Intercept Matrix" not compatible with your mod i'v disabled it. it's fine now. Thank you. but I think u should look in to it. (♥♥♥♥ not sure any more it pop up again.
最后由 PMC_Zero 编辑于; 2024 年 4 月 12 日 上午 11:17
< >
正在显示第 1 - 15 条,共 17 条留言
每页显示数: 1530 50