RimWorld

RimWorld

VV - New Harvest: Compatibility Patches
 This topic has been pinned, so it's probably important
octodecoy  [developer] 18 Sep @ 11:42am
Bug Reports
Encounted a problem? Report it here.

Please include:
  1. A description of the problem.
  2. What New Harvest mod you are using (Full or individual modules).
  3. Stacktrace/Log file if possible
Last edited by octodecoy; 18 Sep @ 11:48am
< >
Showing 1-13 of 13 comments
1.) Loads of red errors involving an inability to "find a parent node". Trying to load a previous save generates an error, and trying to start a new save results in being unable to progress past the scenario selector.
2.) VV - New Harvest (full?)
3.) HugsLibs isn't allowing me to upload the log, so here's an example. I see parent nodes being mentioned of FloorBase, MakeableDrugBase, PlantFoodRawBase, RoughPlantBase, ResourceBase, MedicineBase, PlantBase, BushBase, DecidousTreeBase, and TreeBase with the same type of errors.

EDIT: Looks like it's VV - New Harvest itself as opposed to this mod, I just removed the patches and all the same errors are there...

XML error: Could not find parent node named "FloorBase" for node "TerrainDef". Full node: <TerrainDef ParentName="FloorBase"><defName>VV_CorkFloor</defName><label>cork floor</label><description>Natural cork flooring offering excellent insulation and a soft, quiet step. Adds modest beauty with a warm feel.</description><texturePath>Things/Terrain/Floors/VV_CorkFloor</texturePath><color>(190,140,80)</color><isPaintable>true</isPaintable><renderPrecedence>255</renderPrecedence><statBases><WorkToBuild>100</WorkToBuild><Flammability>0.15</Flammability></statBases><costList><VV_Cork>3</VV_Cork></costList><constructEffect>ConstructWood</constructEffect><uiOrder>2005</uiOrder></TerrainDef>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.XmlInheritance:GetBestParentFor (Verse.XmlInheritance/XmlInheritanceNode,string)
Verse.XmlInheritance:ResolveParentsAndChildNodesLinks ()
Verse.XmlInheritance:Resolve ()
Verse.LoadedModManager:ParseAndProcessXML (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>,bool)
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__10_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_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 ()
Last edited by MathTutor; 19 Sep @ 5:38pm
octodecoy  [developer] 19 Sep @ 6:05pm 
Those are all base game parent defs. Not sure how this mod or New Harvest itself would cause problems with them.

Are you somehow loading New Harvest before Core?
Last edited by octodecoy; 19 Sep @ 6:10pm
oldnewone 19 Sep @ 10:09pm 
Error in WorldGenStep: System.ArgumentException: An item with the same key has already been added. Key: VV_DragonFruitPlant
[Ref 8A4405AB]
[0x00006] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at RimWorld.BiomeDef.CachePlantCommonalitiesIfShould () [0x00050] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.BiomeDef.CommonalityOfPlant (Verse.ThingDef plantDef) [0x00000] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.BiomeDef.get_AllWildPlants () [0x00031] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.TileMutatorWorker_PlantGrove.IsValidTile (RimWorld.Planet.PlanetTile tile, RimWorld.Planet.PlanetLayer layer) [0x0000c] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.TileMutatorDef.IsValidTile (RimWorld.Planet.PlanetTile tile, RimWorld.Planet.PlanetLayer layer) [0x00037] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.Planet.WorldLandmarks.AddLandmark (RimWorld.LandmarkDef landmarkDef, RimWorld.Planet.PlanetTile tile, RimWorld.Planet.PlanetLayer layer, System.Boolean forced) [0x000bc] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER com.SmartOdyssey: IEnumerable`1 SmartOdyssey.SmartOdyssey_WorldLandmarks_AddLandmark_Patch:Transpiler(IEnumerable`1 codeInstructions)
at RimWorld.Planet.WorldGenStep_Landmarks.GenerateFresh (System.String seed, RimWorld.Planet.PlanetLayer layer) [0x00259] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.Planet.WorldGenerator.GeneratePlanetLayer (RimWorld.Planet.PlanetLayer layer, System.String seedString, System.Int32 seed) [0x0004f] in <24d25868955f4df08b02c73b55f389fe>:0
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.UnityEngine.StackTraceUtility.ExtractStackTrace_Patch1()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Log.Error_Patch7(System.String)
[Core, Assembly-CSharp.dll] RimWorld.Planet.WorldGenerator.GeneratePlanetLayer(RimWorld.Planet.PlanetLayer layer, System.String seedString, System.Int32 seed)
[Core, Assembly-CSharp.dll] RimWorld.Planet.WorldGenerator.GenerateWorld(System.Single planetCoverage, System.String seedString, RimWorld.Planet.OverallRainfall overallRainfall, RimWorld.Planet.OverallTemperature overallTemperature, RimWorld.Planet.OverallPopulation population, RimWorld.Planet.LandmarkDensity landmarkDensity, System.Collections.Generic.List`1[RimWorld.FactionDef] factions, System.Single pollution)
[Core, Assembly-CSharp.dll] RimWorld.Page_CreateWorldParams.<CanDoNext>b__20_0()
[Core, Assembly-CSharp.dll] Verse.LongEventHandler.RunEventFromAnotherThread(System.Action action)
[Core, Assembly-CSharp.dll] Verse.LongEventHandler+<>c.<UpdateCurrentAsynchronousEvent>b__28_0()
[System, mscorlib.dll] System.Threading.ThreadHelper.ThreadStart_Context(System.Object state)
[System, mscorlib.dll] System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
[System, mscorlib.dll] System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx)
[System, mscorlib.dll] System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state)
[System, mscorlib.dll] System.Threading.ThreadHelper.ThreadStart()

Patches loaded dead last.
oldnewone 19 Sep @ 10:10pm 
Mod was working before 18/09 update
octodecoy  [developer] 20 Sep @ 7:43am 
I can't find any Biome patch where VV_DragonFruitPlant is added twice to the same biome. Is it possible that your New Harvest subscription hadn't updated yet, leaving it with its old patches loading simultaneously?
Last edited by octodecoy; 20 Sep @ 7:44am
oldnewone 20 Sep @ 12:10pm 
You were right! Did delete + resubscribe and issue is gone! Thank you.
octodecoy  [developer] 20 Sep @ 12:15pm 
Good to hear.
Originally posted by octodecoy:
Those are all base game parent defs. Not sure how this mod or New Harvest itself would cause problems with them.

Are you somehow loading New Harvest before Core?

It seems so, which is odd as it most definitely wasn't the case before. After adjusting the load order it's now functioning.
octodecoy  [developer] 20 Sep @ 1:44pm 
Maybe the update reset its load order or something. Glad it's working now, though.
sssheldo 20 Sep @ 6:37pm 
1.) Loads of red errors having to do with Def type and alpha crafts, and failure to load key/value pair.
2.) I have tried this with different combinations of the VV mods and have found the issue to be VV - Garden, VV - Trees, and VV - Compatibility Patch (and VV - Full seems to raise the same issues if I use only that one). The log below was using VV - Forage, VV - Industrial, VV - Garden, and VV - Compatibility Patch

Type AlphaCrafts.ChipsOffsets is not a Def type or could not be found, in file VV_ChipsOffsets_NewHarvest.xml. Context: <AlphaCrafts.ChipsOffsets><defName>VV_AC_ChipsOffsets_NewHarvest</defName><ingredientsAndOffsetList><li><key>VV_WhiteTurnips</key><value>3</value></li><li><key>VV_Parsnips</key><value>3</value></li><li><key>VV_DragonFruits</key><value>3</value></li></ingredientsAndOffsetList></AlphaCrafts.ChipsOffsets>
Type AlphaCrafts.PerfumeOffsets is not a Def type or could not be found, in file VV_PerfumeOffsets_NewHarvest.xml. Context: <AlphaCrafts.PerfumeOffsets><defName>VV_AC_PerfumeOffsets_NewHarvest</defName><ingredientsAndOffsetList><li><key>VV_Blackberries</key><value>1</value></li></ingredientsAndOffsetList></AlphaCrafts.PerfumeOffsets>
Type AlphaCrafts.PureeOffsets is not a Def type or could not be found, in file VV_PureeOffsets_NewHarvest.xml. Context: <AlphaCrafts.PureeOffsets><defName>VV_AC_PureeOffsets_NewHarvest</defName><ingredientsAndOffsetList><li><key>VV_BlackBeans</key><value>2</value></li><li><key>VV_Artichoke</key><value>1</value></li></ingredientsAndOffsetList></AlphaCrafts.PureeOffsets>
Type AlphaCrafts.VinegarOffsets is not a Def type or could not be found, in file VV_VinegarOffsets_NewHarvest.xml. Context: <AlphaCrafts.VinegarOffsets><defName>VV_AC_VinegarOffsets_NewHarvest</defName><ingredientsAndOffsetList><li><key>VV_Blackberries</key><value>1</value></li></ingredientsAndOffsetList></AlphaCrafts.VinegarOffsets>
Type AlphaCrafts.YogurtOffsets is not a Def type or could not be found, in file VV_YogurtOffsets_NewHarvest.xml. Context: <AlphaCrafts.YogurtOffsets><defName>VV_AC_YogurtFruitOffsets_NewHarvest</defName><fruitAndOffsetList><li><key>VV_Blackcurrants</key><value>4</value></li><li><key>VV_Blackberries</key><value>4</value></li><li><key>VV_DragonFruits</key><value>0</value></li><li><key>VV_Rosehips</key><value>1</value></li></fruitAndOffsetList></AlphaCrafts.YogurtOffsets>
Could not resolve cross-reference to Verse.ThingDef named VV_Mulberries (wanter=ingredientsAndOffsetList)
Failed to load key/value pair: VV_MilletGrain, System.Xml.XmlElement
Failed to load key/value pair: VV_AmaranthGrain, System.Xml.XmlElement
Failed to load key/value pair: VV_TeffGrain, System.Xml.XmlElement
Failed to load key/value pair: VV_QuinoaSeeds, System.Xml.XmlElement
Failed to load key/value pair: VV_DragonFruits, System.Xml.XmlElement
Failed to load key/value pair: VV_Parsnips, System.Xml.XmlElement
Failed to load key/value pair: VV_WhiteTurnips, System.Xml.XmlElement
Failed to load key/value pair: VV_BlackBeans, System.Xml.XmlElement
Failed to load key/value pair: VV_Artichoke, System.Xml.XmlElement
Failed to load key/value pair: VV_Artichoke, System.Xml.XmlElement
Failed to load key/value pair: VV_DragonFruits, System.Xml.XmlElement
Failed to load key/value pair: , System.Xml.XmlElement
Could not resolve cross-reference: No Verse.ThingDef named VV_Mulberries found to give to PipeSystem.ProcessDef+Ingredient PipeSystem.ProcessDef+Ingredient
Could not resolve cross-reference to Verse.ThingDef named VV_JabuticabaBerries (wanter=thingDefs)
octodecoy  [developer] 20 Sep @ 6:46pm 
You need to unsubscribe and resubscribe the New Harvest mods.

AlphaCrafts.ChipsOffsets and the like are from the old patches which are only found in the old version(s) of New Harvest Full/Modules.

The Alpha Crafts patch from this mod uses the VEF class that Alpha Crafts switched to (VEF.Graphics.GraphicOffsets).
Last edited by octodecoy; 20 Sep @ 6:47pm
sssheldo 20 Sep @ 6:58pm 
Unsubscribed and re-subscribed worked! Thank you!
octodecoy  [developer] 20 Sep @ 7:00pm 
No problem. I wish steam was more dependable with mod updates.
< >
Showing 1-13 of 13 comments
Per page: 1530 50