RimWorld

RimWorld

AB's Head Apparel Tweaker
 This topic has been pinned, so it's probably important
aedbia  [developer] 20 Jun, 2023 @ 10:56am
Bug Report/错误报告/錯誤報告
1.Submit a bug report here;

在此提交bug或错误报告;

在此提交bug或錯誤報告;

2.Please provide the error log or error reproduction process.
Without this mod issue, I couldn't solve it.

请提供错误日志或者错误复现流程。
非此mod问题我无法解决。

請提供錯誤日誌或者錯誤復現流程。
非此mod問題我無法解決。
Last edited by aedbia; 29 Jul @ 8:59pm
< >
Showing 61-75 of 87 comments
aedbia  [developer] 14 Jul @ 3:15am 
Originally posted by Arkblade:
If you exit the configuration by pressing the button in the upper right corner of the window instead of close, the head equipment still does not seem to return to the previous one normally.

I will fix this problem.
Arkblade 14 Jul @ 3:52am 
Thanks, found some problems as well.

1. When a style exists, the graphics do not switch properly when the style is selected in the settings screen.

2. when I switch the current character from the right side of the settings screen, the head equipment of the character I had just selected is not restored correctly.
Arkblade 15 Jul @ 3:34pm 
It seems that when I enter the settings screen, it just does not reflect the pawn. (They are naked)
Also, switching between pawns is not working properly.

Also, once I exit the settings screen and open it again, pawn does not appear. (It will appear again when you change the setting target headgear.)
aedbia  [developer] 15 Jul @ 7:04pm 
I rewrite setting display method to reduce RenderPawnCache method invocation and improve performance, they pawn are naked because I think other apparels may cover the select apparel and I hide those apparel.
About pawn does not appear It‘s a bug I will fix it.
rot03065 22 Jul @ 3:21pm 
"AB頭部服飾調整"的一些功能會導致被徵召的動物出錯。


https://i.imgur.com/Rm3z0kz.png
附圖的選項「"在室內隱藏"""非徵召時隱藏"...(略)」當被啟用時,會導致被徵召的動物出錯。

徵召動物時出現以下報錯,並且動物不能被徵召。




System.NullReferenceException: Object reference not set to an instance of an object
[Ref D7ACA752]
at HeadApparelTweaker.HarmonyPatchA5.UpdateApparelData (Verse.Pawn pawn) [0x00022] in <875010b6704842ab81679d1cec8c5ad5>:0
at RimWorld.Pawn_DraftController.set_Drafted (System.Boolean value) [0x00026] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
- TRANSPILER AB.HATweaker: IEnumerable`1 HeadApparelTweaker.HarmonyPatchA5:TranSetDrafted(IEnumerable`1 codes)
at RimWorld.Pawn_DraftController.<GetGizmos>b__15_1 () [0x00007] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.Command_Toggle.ProcessInput (UnityEngine.Event ev) [0x00007] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable`1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo, System.Func`2[T,TResult] customActivatorFunc, System.Func`2[T,TResult] highlightFunc, System.Func`2[T,TResult] lowlightFunc, System.Boolean multipleSelected) [0x007aa] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.GizmoGridDrawer.DrawGizmoGridFor (System.Collections.Generic.IEnumerable`1[T] selectedObjects, Verse.Gizmo& mouseoverGizmo) [0x001c4] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 currentSelectable: null
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Log:ErrorOnce (string,int)
Verse.GizmoGridDrawer:DrawGizmoGridFor (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MapGizmoUtility:MapUIOnGUI ()
RimWorld.MapInterface:MapInterfaceOnGUI_BeforeMainTabs ()
RimWorld.UIRoot_Play:UIRootOnGUI ()
Verse.Root:OnGUI ()
aedbia  [developer] 23 Jul @ 12:47am 
Originally posted by rot03065:
"AB頭部服飾調整"的一些功能會導致被徵召的動物出錯。


https://i.imgur.com/Rm3z0kz.png
附圖的選項「"在室內隱藏"""非徵召時隱藏"...(略)」當被啟用時,會導致被徵召的動物出錯。

徵召動物時出現以下報錯,並且動物不能被徵召。




System.NullReferenceException: Object reference not set to an instance of an object
[Ref D7ACA752]
at HeadApparelTweaker.HarmonyPatchA5.UpdateApparelData (Verse.Pawn pawn) [0x00022] in <875010b6704842ab81679d1cec8c5ad5>:0
at RimWorld.Pawn_DraftController.set_Drafted (System.Boolean value) [0x00026] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
- TRANSPILER AB.HATweaker: IEnumerable`1 HeadApparelTweaker.HarmonyPatchA5:TranSetDrafted(IEnumerable`1 codes)
at RimWorld.Pawn_DraftController.<GetGizmos>b__15_1 () [0x00007] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.Command_Toggle.ProcessInput (UnityEngine.Event ev) [0x00007] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable`1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo, System.Func`2[T,TResult] customActivatorFunc, System.Func`2[T,TResult] highlightFunc, System.Func`2[T,TResult] lowlightFunc, System.Boolean multipleSelected) [0x007aa] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.GizmoGridDrawer.DrawGizmoGridFor (System.Collections.Generic.IEnumerable`1[T] selectedObjects, Verse.Gizmo& mouseoverGizmo) [0x001c4] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0 currentSelectable: null
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Log:ErrorOnce (string,int)
Verse.GizmoGridDrawer:DrawGizmoGridFor (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MapGizmoUtility:MapUIOnGUI ()
RimWorld.MapInterface:MapInterfaceOnGUI_BeforeMainTabs ()
RimWorld.UIRoot_Play:UIRootOnGUI ()
Verse.Root:OnGUI ()
OK,了解了,已经知道什么问题了
Last edited by aedbia; 23 Jul @ 12:48am
aedbia  [developer] 24 Jul @ 6:44pm 
@rot03065 应该修复了
火盐 26 Jul @ 7:23pm 
您好,这是错误报告

Exception setting up dynamic nodes for 卢西恩: System.InvalidCastException: Specified cast is not valid.
[Ref DC0ECAD2]
at Verse.DynamicPawnRenderNodeSetup_Apparel+<ProcessApparel>d__5.MoveNext () [0x000c3] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
- TRANSPILER AB.HATweaker: IEnumerable`1 HeadApparelTweaker.HarmonyPatchA5:TranProcessApparel(IEnumerable`1 codes)
at Verse.DynamicPawnRenderNodeSetup_Apparel+<GetDynamicNodes>d__3.MoveNext () [0x001a4] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.PawnRenderTree.SetupDynamicNodes () [0x00061] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
at Verse.PawnRenderTree.TrySetupGraphIfNeeded () [0x0007a] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.PawnRenderTree:TrySetupGraphIfNeeded ()
Verse.PawnRenderTree:EnsureInitialized (Verse.PawnRenderFlags)
Verse.PawnRenderer:EnsureGraphicsInitialized ()
Verse.PawnRenderer:DynamicDrawPhaseAt (Verse.DrawPhase,UnityEngine.Vector3,System.Nullable`1<Verse.Rot4>,bool)
Verse.Pawn:DynamicDrawPhaseAt (Verse.DrawPhase,UnityEngine.Vector3,bool)
Verse.Thing:DynamicDrawPhase (Verse.DrawPhase)
Verse.DynamicDrawManager:DrawDynamicThings ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Map.MapUpdate_Patch1 (Verse.Map)
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
aedbia  [developer] 26 Jul @ 7:27pm 
@火盐 OK,有其他mod么?
火盐 26 Jul @ 7:33pm 
Originally posted by aedbia:
@火盐 OK,有其他mod么?

有大概400个mod,要提供整个列表吗?
aedbia  [developer] 26 Jul @ 7:36pm 
Originally posted by 火盐:
Originally posted by aedbia:
@火盐 OK,有其他mod么?

有大概400个mod,要提供整个列表吗?

这是有模组冲突了,错误日志里的卢西恩是原版人类吗?
火盐 26 Jul @ 7:42pm 
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3444347874

是这个中世纪2派系扩展里面的人物,很多来袭击的人物都报错了,只要镜头移到人物上
aedbia  [developer] 26 Jul @ 7:43pm 
@火盐 OK,我测试看看
Costa 27 Jul @ 11:27am 
1.5版本,newratkinplus鼠族mod里的鼠族巨盾(其他盾牌没问题)装备之后头发会消失,在您的mod设置里又找不到鼠族巨盾,没办法调设置。神奇的是贴吧里有人在本mod设置里可以找到鼠族巨盾..
补充,鼠族巨盾没头发的问题是近几天突然出现的,之前1.5版本,直到1.6发布之后一周左右头发都是能显示的。
测试环境:harmony, 本体, HAR, newratkinplus, 本mod, character editor
Last edited by Costa; 27 Jul @ 11:43am
aedbia  [developer] 27 Jul @ 5:45pm 
Originally posted by Costa:
1.5版本,newratkinplus鼠族mod里的鼠族巨盾(其他盾牌没问题)装备之后头发会消失,在您的mod设置里又找不到鼠族巨盾,没办法调设置。神奇的是贴吧里有人在本mod设置里可以找到鼠族巨盾..
补充,鼠族巨盾没头发的问题是近几天突然出现的,之前1.5版本,直到1.6发布之后一周左右头发都是能显示的。
测试环境:harmony, 本体, HAR, newratkinplus, 本mod, character editor
应该是鼠族近期更新了,我看看解决方法
< >
Showing 61-75 of 87 comments
Per page: 1530 50