XML error: <MarketValue>3000</MarketValue> doesn't correspond to any field

Started by Gota, September 29, 2020, 08:23:14 AM

Previous topic - Next topic

Gota

XML error: <MarketValue>3000</MarketValue> doesn't correspond to any field in type GraphicData. Context: <graphicData><onGroundRandomRotateAngle>35</onGroundRandomRotateAngle><MarketValue>3000</MarketValue><texPath>Things/A16/Atrocity</texPath><graphicClass>Graphic_Single</graphicClass><drawSize>1.5</drawSize></graphicData>
Verse.Log:Error(String, Boolean)
Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean)
Verse.DirectXmlToObject:ObjectFromXmlReflection(XmlNode, 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()


This is an error that I have been trying to fix but I am not even close to understanding what mod it would even be from and whether it actually causes issues or is harmless. It's a complete mystery to me since a lot of items could be worth 3000 silver (if that is even what that is about), so I would love some help. I added the player.log, ModfsConfig.xml for the mod list and the Hugslib log: https://gist.github.com/87c20e09bf1a6e34fd46d7e20d84b5db

If possible, I would also appreciate some other ways to improve my mod list since I have no idea how to sort them and there might be hidden issues or mod conflicts. One bug that destroyed my last run was trying to right click a weapon from Rimsenal that was dropped by an alien (Moon Rabbie) which made right clicking to prioritize permanently impossible.

Canute

At the logfile i see you use windows.
Open the mods folder with the windows file explorer.
At the top right you got the search field.
Search for "Atrocity", i think that is unique enough to get an result. Or use other things from the error message, but "MarketValue" is a valid XML tag so you shouldn't use that.

At this way you should find the mod.

Or deactivate mods until the error is gone and you identify the mod, i would suggest the 50% methde (allways half of the mods).

Gota

Thanks, I found it. It looks like Rimsenal is the culprit again since Atrocity is a weapon of it, so I will just remove it and hope this also fixes that other problem.

Canute

With 480 mods problem's are common, but most of them you will encounter them during gameplay.
That XML error isn't that worse, i think it just give you a pink square.
Basicly you could edit that XML file manualy and move the
<MarketValue>3000</MarketValue>
just before the
<graphicData>

Or just report it at the mod discussion, so the mod author can fix it.