边缘世界 RimWorld

边缘世界 RimWorld

Backstories for Vanilla Expanded Factions
TurtleShroom 2023 年 7 月 12 日 下午 12:11
Bug Reports
Good afternoon.

I am sleepy. I'm not putting much effort into this description. Report your bug reports here.


-TURTLESHROOM
< >
正在显示第 1 - 1 条,共 1 条留言
TurtleShroom 2023 年 7 月 12 日 下午 12:14 
[Backstories for Vanilla Expanded Factions - Start of stack trace] Verse.PatchOperationReplace(xpath="/Defs/PawnKindDef[@Name="VFEM_MedievalPawnKindBase"]/backstoryCategories/li[text()="Tribal"]"): Failed to find a node with the given xpath [End of stack trace] The top operation is the one that failed, the ones below it are the parents Source file: C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2413945145\1.4\Patches\Vanilla Factions Expanded - Medieval\PawnKindDefs\PawnKinds_Medieval.xml [Backstories for Vanilla Expanded Factions - Start of stack trace] Verse.PatchOperationReplace(xpath="/Defs/PawnKindDef[defName="VFEM_Subject"]/backstoryCategories/li[text()="Tribal"]"): Failed to find a node with the given xpath [End of stack trace] The top operation is the one that failed, the ones below it are the parents Source file: C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2413945145\1.4\Patches\Vanilla Factions Expanded - Medieval\PawnKindDefs\PawnKinds_Player.xml

This is a very simple error. You need to target the "<backstoryCategories>" statement with your Replace command, not its child statement (Tribal) in the List. You also need to add "<success>Always</success>" when you are replacing code, or else "Rimworld" will spaz out and refuse to implement a Patch.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50