RandolphCherrypepper / SuicideVest

a mod for RimWorld
MIT License
0 stars 0 forks source link

XML error: Duplicate XML node... #2

Open FadingFog opened 3 years ago

FadingFog commented 3 years ago

XML error: Duplicate XML node name thingCategories in this XML block: Apparel_SuicideVestA vest lined with explosives. Handle carefully.

  • Military
  • IndustrialFlakArmorUnfinishedTechArmor5Apparel/SuicideVestPlate/SuicideVestPlateGraphic_Single4.7Bomb120Never104001040.300.100.0016
  • Apparel
  • 0.7
  • -0.08652120
  • Torso
  • Apparel/SuicideVestPlate/SuicideVestPlate
  • Middle
  • WearableExplosive
  • RemoveFromAnything
  • 1RGBA(0.65,0.25,0.25,1)RGBA(0.8,0.5,0.5,1)
  • Special_Apparel_Accessories
  • Verse.Log:Error(String, Boolean) Verse.XmlInheritance:CheckForDuplicateNodes(XmlNode, XmlNode) Verse.XmlInheritance:ResolveXmlNodeFor(XmlInheritanceNode) Verse.XmlInheritance:ResolveXmlNodesRecursively(XmlInheritanceNode) Verse.XmlInheritance:ResolveXmlNodesRecursively(XmlInheritanceNode) Verse.XmlInheritance:ResolveXmlNodesRecursively(XmlInheritanceNode) Verse.XmlInheritance:ResolveXmlNodesRecursively(XmlInheritanceNode) Verse.XmlInheritance:ResolveXmlNodes() Verse.XmlInheritance:Resolve() Verse.LoadedModManager:Verse.LoadedModManager.ParseAndProcessXML_Patch2(XmlDocument, Dictionary`2) Verse.LoadedModManager:LoadAllActiveMods() Verse.PlayDataLoader:DoPlayLoad() Verse.PlayDataLoader:LoadAllPlayData(Boolean) Verse.<>c:b__6_1() Verse.LongEventHandler:RunEventFromAnotherThread(Action) Verse.<>c:b__27_0() System.Threading.ThreadHelper:ThreadStart_Context(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object) System.Threading.ThreadHelper:ThreadStart() Player.log

    btbonval commented 3 years ago

    @FadingFog I do not see this error.

    What version of Rimworld are you running?

    What mods are you running?

    btbonval commented 3 years ago

    Oh, I see player.log is attached.

    btbonval commented 3 years ago

    It looks like you're running Combat Extended. That mod makes fundamental changes to Rimworld code. I don't know what the changes are. Could you try running Rimworld without Combat Extended? Does the error persist?

    It looks like the error is caused by this node in the XML: https://github.com/RandolphCherrypepper/SuicideVest/blob/06132483d53f4a37e54e7bd5b479eb9f20c0d9bd/Defs/ThingDefs_Misc/Apparel_Cherrypepper.xml#L43-L45

    That XML runs fine in Vanilla Rimworld. Is there something we can change it to that will remove the error?

    FadingFog commented 3 years ago

    Maybe we need a compatibility patch with CE?