边缘世界 RimWorld

边缘世界 RimWorld

VV - New Harvest: Compatibility Patches
 此主题已被置顶,因此可能具有重要性
octodecoy  [开发者] 9 月 18 日 上午 11:42
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
最后由 octodecoy 编辑于; 9 月 18 日 上午 11:48
< >
正在显示第 1 - 15 条,共 15 条留言
MathTutor 9 月 19 日 下午 5:32 
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 ()
最后由 MathTutor 编辑于; 9 月 19 日 下午 5:38
octodecoy  [开发者] 9 月 19 日 下午 6:05 
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?
最后由 octodecoy 编辑于; 9 月 19 日 下午 6:10
oldnewone 9 月 19 日 下午 10:09 
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 9 月 19 日 下午 10:10 
Mod was working before 18/09 update
octodecoy  [开发者] 9 月 20 日 上午 7:43 
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?
最后由 octodecoy 编辑于; 9 月 20 日 上午 7:44
oldnewone 9 月 20 日 下午 12:10 
You were right! Did delete + resubscribe and issue is gone! Thank you.
octodecoy  [开发者] 9 月 20 日 下午 12:15 
Good to hear.
MathTutor 9 月 20 日 下午 1:33 
引用自 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  [开发者] 9 月 20 日 下午 1:44 
Maybe the update reset its load order or something. Glad it's working now, though.
sssheldo 9 月 20 日 下午 6:37 
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  [开发者] 9 月 20 日 下午 6:46 
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).
最后由 octodecoy 编辑于; 9 月 20 日 下午 6:47
sssheldo 9 月 20 日 下午 6:58 
Unsubscribed and re-subscribed worked! Thank you!
octodecoy  [开发者] 9 月 20 日 下午 7:00 
No problem. I wish steam was more dependable with mod updates.
5150 10 月 17 日 上午 10:19 
https://gist.github.com/HugsLibRecordKeeper/d62956d3951ef4d019414b177ca550c5

XML format error: Raw text found inside a list element. Did you mean to surround it with list item <li> tags? <mods>
      <li>##packageId##dankpyon.medieval.overhaul</li>
    </mods>

I don't think this is a big error in the game, but I'm reporting it just in case.
------

I've tried changing the mod position/order, but the error still reappears. I'm not sure what the cause is. However, it works fine when I do a quick test using the developer tool/mode.

Since I am using a translation tool, I apologize if my tone is rude or awkward.

-----

I found the cause. You were right, it was a translation mode issue. I wondered why the translation mode would cause an error, and it turned out that the patched phrases were overlapping. Wow, it was really hard to find... The mod is really excellent.
最后由 5150 编辑于; 10 月 18 日 上午 4:18
octodecoy  [开发者] 10 月 17 日 上午 10:29 
I can't find anything that matches that error. Are you using a translation mod? If so, I don't think any of them have been updated to reflect the changes to New Harvest.

This mod is set to load after all of the main New Harvest mods.
最后由 octodecoy 编辑于; 10 月 17 日 上午 10:30
< >
正在显示第 1 - 15 条,共 15 条留言
每页显示数: 1530 50