RimWorld

RimWorld

Joint Battles
Maki 13 Mar, 2021 @ 7:33pm
(Fixed) [2021 03 14] Error on startup
The following appears when game starts up with only harmony and joint battles loaded. If you have an idea of what may cause this, it would be amazing if you could comment on whether or not this would be game-breaking or safely ignored until it is fixed.

Thanks for your time!

XML error: World/WorldObjects/Sites/AlliedBattle doesn't correspond to any field in type SitePartDef. Context: <SitePartDef><defName>BQ_Battlefield</defName><label>battlefield</label><description>A battlefield.</description><workerClass>BattleQuests.SitePartWorker_Battlefield</workerClass><siteTexture>World/WorldObjects/Sites/AlliedBattle</siteTexture>World/WorldObjects/Sites/AlliedBattle <expandingIconTexture>World/WorldObjects/Sites/AlliedBattle</expandingIconTexture><handlesWorldObjectTimeoutInspectString>true</handlesWorldObjectTimeoutInspectString><wantsThreatPoints>true</wantsThreatPoints><tags><li>BQ_Battlefield</li></tags></SitePartDef> Verse.Log:Error(String, Boolean) Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean) Verse.DirectXmlToObject:ObjectFromXmlReflection(XmlNode, Boolean) Verse.DirectXmlLoader:DefFromNode(XmlNode, LoadableXmlAsset) Verse.LoadedModManager:ParseAndProcessXML(XmlDocument, Dictionary`2) Verse.LoadedModManager:LoadAllActiveMods() Verse.PlayDataLoader:DoPlayLoad() Verse.PlayDataLoader:LoadAllPlayData(Boolean) Verse.<>c:<Start>b__6_1() Verse.LongEventHandler:RunEventFromAnotherThread(Action) Verse.<>c:<UpdateCurrentAsynchronousEvent>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()
Last edited by Maki; 14 Mar, 2021 @ 3:47pm
< >
Showing 1-2 of 2 comments
Maki 13 Mar, 2021 @ 7:38pm 
After posting this, I had an actual read of the error. It is caused by line 9 in Battlefield.xml
<siteTexture>World/WorldObjects/Sites/AlliedBattle</siteTexture>World/WorldObjects/Sites/AlliedBattle
where the contents of the sitetexture field was pasted again after the field XD

Line 9 should look like this for those who wants to quickfix it locally but arent so sure
<siteTexture>World/WorldObjects/Sites/AlliedBattle</siteTexture>
Last edited by Maki; 13 Mar, 2021 @ 7:47pm
SalmonToastie  [developer] 13 Mar, 2021 @ 8:36pm 
See its harmless like i said lmao. dont get knickers in a knot when you see red. i'll fix this ♥♥♥♥ when i can.
Last edited by SalmonToastie; 14 Mar, 2021 @ 5:27am
< >
Showing 1-2 of 2 comments
Per page: 1530 50