RimWorld

RimWorld

Elite Bionics Framework
This topic has been locked
Aden Mar 11, 2024 @ 11:49pm
Some problem with pawn quick info mod bc it violate rule in this mod???
Logs:

[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: PawnQuickInfo
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
EBF.EliteBionicsFrameworkMain:LogError (string)
EBF.Patches.Prefix_BodyPart_GetMaxHealth:PreFix (Verse.BodyPartDef,single,Verse.Pawn)
(wrapper dynamic-method) Verse.BodyPartDef:Verse.BodyPartDef.GetMaxHealth_Patch2 (Verse.BodyPartDef,Verse.Pawn)
PawnQuickInfo.Patches:_GetPartConditionLabel (Verse.Pawn,Verse.BodyPartRecord,int&,bool)
PawnQuickInfo.Patches:DrawBodyPart (UnityEngine.Rect,Verse.Pawn,Verse.BodyPartRecord,UnityEngine.Texture,bool,bool,Verse.BodyPartRecord,UnityEngine.Texture,UnityEngine.Texture,bool)
PawnQuickInfo.Patches:DrawDoll (UnityEngine.Rect,Verse.Pawn)
PawnQuickInfo.Patches:DrawPawnHealthInfo (Verse.Pawn,UnityEngine.Rect)
PawnQuickInfo.Patches/<>c__DisplayClass66_0:<DrawPawnTooltip>b__0 ()
Verse.ImmediateWindow:DoWindowContents (UnityEngine.Rect)
(wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
Showing 1-2 of 2 comments
Vectorial1024  [developer] Mar 12, 2024 @ 5:30am 
This kind of error happens sometimes when people are using EBF with more different mods. I'm making a GitHub issue to track it.

https://github.com/Vectorial1024/EliteBionicsFramework/issues/73
Vectorial1024  [developer] May 18, 2024 @ 6:41am 
Pawn Quick Info now handles EBF compatibility on their side, so there is nothing more to be done.

Closing and locking this.
< >
Showing 1-2 of 2 comments
Per page: 1530 50