RimWorld
Combat Extended
이 토론은 잠겼습니다.
Klausberger 2022년 12월 17일 오전 8시 09분
Vanilla + 3 DLC + Harmony and CE
XML error: Duplicate XML node name combatPower in this XML block: <PawnKindDef ParentName="LightMechanoidKind"><defName>Mech_Militor</defName><label>militor</label><race>Mech_Militor</race><combatPower>45</combatPower><lifeStages><li><bodyGraphicData><texPath>Things/Pawn/Mechanoid/Militor</texPath><maskPath>Things/Pawn/Mechanoid/AllegianceOverlays/Mech_Slugger</maskPath><shaderType>CutoutWithOverlay</shaderType><graphicClass>Graphic_Multi</graphicClass><drawSize>1.25</drawSize><shadowData><volume>(0.3, 0.4, 0.3)</volume><offset>(0,0,-0.25)</offset></shadowData></bodyGraphicData></li><li><bodyGraphicData><texPath>Things/Pawn/Mechanoid/MilitorAncient</texPath><maskPath>Things/Pawn/Mechanoid/AllegianceOverlays/Mech_Slugger</maskPath><shaderType>CutoutWithOverlay</shaderType><graphicClass>Graphic_Multi</graphicClass><drawSize>1.25</drawSize><shadowData><volume>(0.3, 0.4, 0.3)</volume><offset>(0,0,-0.25)</offset></shadowData></bodyGraphicData></li></lifeStages><weaponTags><li>MechanoidGunShortRange</li></weaponTags><combatPower>90</combatPower><modExtensions><li Class="CombatExtended.LoadoutPropertiesExtension"><primaryMagazineCount><min>5</min><max>6</max></primaryMagazineCount></li></modExtensions></PawnKindDef>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.XmlInheritance:CheckForDuplicateNodes (System.Xml.XmlNode,System.Xml.XmlNode)
Verse.XmlInheritance:ResolveXmlNodeFor (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodes ()
Verse.XmlInheritance:Resolve ()
Verse.LoadedModManager:ParseAndProcessXML (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
< >
전체 댓글 6개 중 1~6개 표시 중
Klausberger 2022년 12월 17일 오전 8시 12분 
Zan 2022년 12월 17일 오후 5시 54분 
This was posted in another thread which helped me find the source of the problem

Go to your steam workshop folder, find CE folder and find Races_Mechanoid_Light. Then open it with notepad and delete (<Operation Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[defName="Mech_Militor"]/combatPower</xpath>
<value>
<combatPower>60</combatPower>
</value>
</Operation>)
After that save the file and launch the game. Should be working just fine (probably). Atleast you won't be getting this annoying message anymore.

My version of Races_Mechanoid_Light.xml did not have this but instead:

<Operation Class="PatchOperationAdd">
<xpath>Defs/PawnKindDef[defName="Mech_Militor"]</xpath>
<value>
<combatPower>90</combatPower>
</value>
</Operation>

If you delete this and save it will remove the error and I assume use the default value of 45 it already had.
Zan 님이 마지막으로 수정; 2022년 12월 17일 오후 5시 55분
McClain 2022년 12월 23일 오전 5시 30분 
Same issue, same mod-load order, all three DLC. Attempted the fix discussed above, it only created more error messages about it failing to load various traits of some kind.
McClain 2022년 12월 23일 오전 11시 36분 
The development snapshot linked on the github repository does not have this problem. I recommend using it.
An Overburdened Warrior 2022년 12월 24일 오전 3시 49분 
Zan 님이 먼저 게시:
This was posted in another thread which helped me find the source of the problem

Go to your steam workshop folder, find CE folder and find Races_Mechanoid_Light. Then open it with notepad and delete (<Operation Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[defName="Mech_Militor"]/combatPower</xpath>
<value>
<combatPower>60</combatPower>
</value>
</Operation>)
After that save the file and launch the game. Should be working just fine (probably). Atleast you won't be getting this annoying message anymore.

My version of Races_Mechanoid_Light.xml did not have this but instead:

<Operation Class="PatchOperationAdd">
<xpath>Defs/PawnKindDef[defName="Mech_Militor"]</xpath>
<value>
<combatPower>90</combatPower>
</value>
</Operation>

If you delete this and save it will remove the error and I assume use the default value of 45 it already had.

I can confirm that this does seem to resolve the issue. For anybody interested, the file is located at: YourSteamDir/steamapps/workshop/content/294100/2890901044/Biotech/Patches/ThingDefs_Races/Races_Mechanoids_Light.xml

All you have to do is find and remove the section listed in the comment above and save the file. This will resolve the error until the team addresses it in a future update.
< >
전체 댓글 6개 중 1~6개 표시 중
페이지당 표시 개수: 1530 50