RimWorld

RimWorld

EBSG Framework
ZCW Aug 16 @ 8:28am
Question: Elite Bionics Framework compatibility log warning
Starting off, no issues afaik just a warning from EBF logs that I'd like to raise, and hear your thoughts on:

[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: EBSGFramework
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.UnityEngine.StackTraceUtility.ExtractStackTrace_Patch1()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Log.Error_Patch3(System.String)
[Elite Bionics Framework, EliteBionicsFramework.dll] EBF.EliteBionicsFrameworkMain.LogError(System.String message)
[Elite Bionics Framework, EliteBionicsFramework.dll] EBF.Patches.PostFix_BodyPart_GetMaxHealth.CheckEbfProtocolViolation(Verse.BodyPartDef __instance, System.Single& __result, Verse.Pawn pawn)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.BodyPartDef.GetMaxHealth_Patch3(Verse.BodyPartDef, Verse.Pawn)
[EBSG Framework, EBSGFramework.dll] EBSGFramework.DamageWorker_PermanentInjury.ReduceDamageToPreserveOutsideParts(System.Single postArmorDamage, Verse.DamageInfo dinfo, Verse.Pawn pawn)
[EBSG Framework, EBSGFramework.dll] EBSGFramework.DamageWorker_PermanentInjury.ApplySpecialEffectsToPart(Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result)
[EBSG Framework, EBSGFramework.dll] EBSGFramework.DamageWorker_PermanentInjury.ApplyDamageToPart(Verse.DamageInfo dinfo, Verse.Pawn pawn, Verse.DamageWorker+DamageResult result)
[EBSG Framework, EBSGFramework.dll] EBSGFramework.DamageWorker_PermanentInjury.ApplyToPawn(Verse.DamageInfo dinfo, Verse.Pawn pawn)
[EBSG Framework, EBSGFramework.dll] EBSGFramework.DamageWorker_PermanentInjury.Apply(Verse.DamageInfo dinfo, Verse.Thing thing)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Thing.TakeDamage_Patch5(Verse.Thing, Verse.DamageInfo)
[EBSG Framework, EBSGFramework.dll] EBSGFramework.HediffComp_DamageBodyParts.CompPostTick(System.Single& severityAdjustment)
[Core, Assembly-CSharp.dll] Verse.HediffWithComps.PostTick()
[Core, Assembly-CSharp.dll] Verse.Pawn_HealthTracker.HealthTick()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Pawn.Tick_Patch1(Verse.Pawn)
[Core, Assembly-CSharp.dll] Verse.Thing.DoTick()
[Core, Assembly-CSharp.dll] RimWorld.Planet.WorldPawns.WorldPawnsTick()
[Core, Assembly-CSharp.dll] RimWorld.Planet.World.WorldTick()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.TickManager.DoSingleTick_Patch5(Verse.TickManager)
[Core, Assembly-CSharp.dll] Verse.TickManager.TickManagerUpdate()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Game.UpdatePlay_Patch1(Verse.Game)
[Core, Assembly-CSharp.dll] Verse.Root_Play.Update()
< >
Showing 1-4 of 4 comments
Alite  [developer] Aug 16 @ 8:46am 
I'll see if I can get it to stop, but considering the vanilla DamageWorker_AddInjury also uses GetMaxHealth, that's an exceptionally weird thing for them to take issue with
ZCW Aug 16 @ 9:22am 
Thought so... ig they override that, maybe so they can modify part health?
Alite  [developer] Aug 16 @ 9:24am 
Probably. I just finished reworking that damage worker so that any mods like EBF that change how AddInjury functions will also be able to alter how mine function automatically. The update should be out in a few minutes
ZCW Aug 16 @ 12:18pm 
Thanks ^-^
< >
Showing 1-4 of 4 comments
Per page: 1530 50