RimWorld

RimWorld

Elite Bionics Framework
Denna tråd har blivit låst
Aden 11 mar, 2024 @ 23:49
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)
< >
Visar 1-2 av 2 kommentarer
Vectorial1024  [utvecklare] 12 mar, 2024 @ 5:30 
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  [utvecklare] 18 maj, 2024 @ 6:41 
Pawn Quick Info now handles EBF compatibility on their side, so there is nothing more to be done.

Closing and locking this.
< >
Visar 1-2 av 2 kommentarer
Per sida: 1530 50