Skip to content

Compatibility recheck with Health Display #116

Description

@Vectorial1024

Steam user reports compatibility problems with Health Display:

[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: GTHealthDisplay
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
EBF.EliteBionicsFrameworkMod:LogError (string)
EBF.Patches.PostFix_BodyPart_GetMaxHealth:CheckEbfProtocolViolation (Verse.BodyPartDef,single&,Verse.Pawn)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.BodyPartDef.GetMaxHealth_Patch4 (Verse.BodyPartDef,Verse.Pawn)
GTHealthDisplay.HealthDisplayUtility:IsPartDamaged (Verse.BodyPartRecord,Verse.HediffSet)
GTHealthDisplay.HealthDisplayUtility:InActiveLayer (Verse.BodyPartRecord,Verse.HediffSet)
GTHealthDisplay.HealthDisplayUtility:DrawMainDisplay (Verse.Pawn)
GTHealthDisplay.HealthDisplayUtility:FillHealthDisplay (UnityEngine.Rect,Verse.Pawn)
GTHealthDisplay.HealthDisplayWindow/<>c__DisplayClass13_0:<DoWindowContents>b__0 ()
Verse.ImmediateWindow:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate [(UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)](steam://openurl_external/https://steamcommunity.com/linkfilter/?u=http%3A%2F%2F%28UnityEngine.GUI%2FWindowFunction%2Cint%2Cint%2CUnityEngine.GUISkin%2Cint%2Csingle%2Csingle%2CUnityEngine.GUIStyle%29)

This should refer to this mod https://steamcommunity.com/sharedfiles/filedetails/?id=3522897532

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions