Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - b4d

#1
As title said..

error console spammed nonstop with this

Exception in UIRootUpdate: System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.DeepResourceGrid.GetCellExtraColor (Int32 index) [0x00000] in <filename unknown>:0
  at Verse.CellBoolDrawer.RegenerateMesh () [0x00000] in <filename unknown>:0
  at Verse.CellBoolDrawer.ActuallyDraw () [0x00000] in <filename unknown>:0
  at Verse.CellBoolDrawer.CellBoolDrawerUpdate () [0x00000] in <filename unknown>:0
  at Verse.DeepResourceGrid.DeepResourceGridUpdate () [0x00000] in <filename unknown>:0
  at RimWorld.MapInterface.MapInterfaceUpdate () [0x00000] in <filename unknown>:0
  at RimWorld.UIRoot_Play.UIRootUpdate () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
RimWorld.UIRoot_Play:UIRootUpdate()
Verse.Root:Update_Patch1(Object)
Verse.Root_Play:Update()


tried to reproduce but didn't seem affect new game (god mode, put ground penetrating scanner, power it up and click it. the green spots shows just fine)

Save file : https://www.dropbox.com/s/1vtv3zl6pg6ntmk/Fallville.rws?dl=0

mod list see pic


[attachment deleted by admin due to age]
#2
Guys, need help

I'm trying to add potato, rice, corn and other plants to spawn like raspberries and other wild plants.
I could make it work by adding the desired plants directly into the core biome defs but I don't feel like touching any core files.

Tried to create my own custom def with content like this :

<?xml version="1.0" encoding="utf-8" ?>
<Defs>
  <BiomeDef ParentName="TemperateForest">
    <defName>TemperateForestExtraPlants</defName>   
    <wildPlants>
      <PlantPotato>0.1</PlantPotato>
      <PlantCorn>0.05</PlantCorn>
      <PlantSparkweed>0.01</PlantSparkweed>
      <PlantRice>0.1</PlantRice>
      <PlantHealroot>0.01</PlantHealroot>
    </wildPlants>
  </BiomeDef>
</Defs>


but it spews an error

XML error: Could not find parent node named "TemperateForest" for node "BiomeDef". Full node: <BiomeDef ParentName="TemperateForest"><defName>TemperateForestExtraPlants</defName><wildPlants><PlantPotato>0.1</PlantPotato><PlantCorn>0.05</PlantCorn><PlantSparkweed>0.01</PlantSparkweed><PlantRice>0.1</PlantRice><PlantHealroot>0.01</PlantHealroot></wildPlants></BiomeDef>
Verse.Log:Error(String)
Verse.XmlInheritance:GetBestParentFor(XmlInheritanceNode, String)
Verse.XmlInheritance:ResolveParentsAndChildNodesLinks()
Verse.XmlInheritance:Resolve()
Verse.ModContentPack:LoadDefs()
Verse.ModContentPack:ReloadAllContent()
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__735()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__733()


Where did I go wrong?