RimWorld

RimWorld

Joint Battles
Maki 13. mar. 2021 kl. 19:33
(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()
Sidst redigeret af Maki; 14. mar. 2021 kl. 15:47
< >
Viser 1-2 af 2 kommentarer
Maki 13. mar. 2021 kl. 19:38 
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>
Sidst redigeret af Maki; 13. mar. 2021 kl. 19:47
SalmonToastie  [udvikler] 13. mar. 2021 kl. 20:36 
See its harmless like i said lmao. dont get knickers in a knot when you see red. i'll fix this ♥♥♥♥ when i can.
Sidst redigeret af SalmonToastie; 14. mar. 2021 kl. 5:27
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50