RimWorld
Elite Bionics Framework
Chủ đề này đã bị khoá
Aden 11 Thg03, 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)
< >
Đang hiển thị 1-2 trong 2 bình luận
Vectorial1024  [nhà phát triển] 12 Thg03, 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  [nhà phát triển] 18 Thg05, 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.
< >
Đang hiển thị 1-2 trong 2 bình luận
Mỗi trang: 1530 50