边缘世界 RimWorld

边缘世界 RimWorld

EBSG Framework
此主题已被锁定
ZCW 8 月 16 日 上午 8:28
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()
< >
正在显示第 1 - 4 条,共 4 条留言
Alite  [开发者] 8 月 16 日 上午 8:46 
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 8 月 16 日 上午 9:22 
Thought so... ig they override that, maybe so they can modify part health?
Alite  [开发者] 8 月 16 日 上午 9:24 
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 8 月 16 日 下午 12:18 
Thanks ^-^
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50