Thanks, Faltonico. Since a17 encourages the use of Patches, this is a much better option for me.
I've added it to my list of delicious tweaks for my own private use.
I've added it to my list of delicious tweaks for my own private use.
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 MenuQuote from: Tenshi~Akari on July 29, 2017, 10:32:10 AMQuote from: Linq on July 13, 2017, 12:57:35 AM
It seems like closing a vent with Better Vents results in an NRE error being thrown repeatedly.
Exception printing Vent1543026 at (139, 0, 161): System.NullReferenceException: Object reference not set to an instance of an object
at Verse.Printer_Plane.PrintPlane (Verse.SectionLayer layer, Vector3 center, Vector2 size, UnityEngine.Material mat, Single rot, Boolean flipUv, UnityEngine.Vector2[] uvs, UnityEngine.Color32[] colors, Single topVerticesAltitudeBias) [0x00000] in <filename unknown>:0
at Verse.Graphic.Print (Verse.SectionLayer layer, Verse.Thing thing) [0x00000] in <filename unknown>:0
at Verse.Thing.Print (Verse.SectionLayer layer) [0x00000] in <filename unknown>:0
at Verse.ThingWithComps.Print (Verse.SectionLayer layer) [0x00000] in <filename unknown>:0
at Verse.SectionLayer_ThingsGeneral.TakePrintFrom (Verse.Thing t) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.SectionLayer_ThingsGeneral:TakePrintFrom(Thing)
Verse.SectionLayer_Things:Regenerate()
Verse.Section:RegenerateLayers(MapMeshFlag)
Verse.MapDrawer:TryUpdateSection(Section)
Verse.MapDrawer:MapMeshDrawerUpdate_First()
Verse.Map:MapUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
Just ran across this very same issue, vents will close, but they disappear & this red error pops up.
Initializing new game with mods Core, HugsLib, and BetterVents-BetterVents1.4
Verse.Log:Message(String)
Verse.Game:InitNewGame()
Verse.Root_Play:<Start>m__855()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__851()
Failed to find any texture while constructing Multi(initPath=Things/Building/Misc/TempControl/VentB_Off, color=RGBA(1.000, 1.000, 1.000, 1.000), colorTwo=RGBA(1.000, 1.000, 1.000, 1.000))
Verse.Log:Error(String)
Verse.Graphic_Multi:Init(GraphicRequest)
Verse.GraphicDatabase:GetInner(GraphicRequest)
Verse.GraphicDatabase:Get(Type, String, Shader, Vector2, Color, Color, GraphicData)
Verse.GraphicDatabase:Get(Type, String, Shader, Vector2, Color, Color)
RimWorld.CompFlickable:get_CurrentGraphic()
RimWorld.Building_Vent:get_Graphic()
Verse.Thing:Print(SectionLayer)
Verse.ThingWithComps:Print(SectionLayer)
Verse.SectionLayer_ThingsGeneral:TakePrintFrom(Thing)
Verse.SectionLayer_Things:Regenerate()
Verse.Section:RegenerateLayers(MapMeshFlag)
Verse.MapDrawer:TryUpdateSection(Section)
Verse.MapDrawer:MapMeshDrawerUpdate_First()
Verse.Map:MapUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
Exception printing Vent60993 at (137, 0, 118): System.NullReferenceException: Object reference not set to an instance of an object
at Verse.Printer_Plane.PrintPlane (Verse.SectionLayer layer, Vector3 center, Vector2 size, UnityEngine.Material mat, Single rot, Boolean flipUv, UnityEngine.Vector2[] uvs, UnityEngine.Color32[] colors, Single topVerticesAltitudeBias) [0x00000] in <filename unknown>:0
at Verse.Graphic.Print (Verse.SectionLayer layer, Verse.Thing thing) [0x00000] in <filename unknown>:0
at Verse.Thing.Print (Verse.SectionLayer layer) [0x00000] in <filename unknown>:0
at Verse.ThingWithComps.Print (Verse.SectionLayer layer) [0x00000] in <filename unknown>:0
at Verse.SectionLayer_ThingsGeneral.TakePrintFrom (Verse.Thing t) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.SectionLayer_ThingsGeneral:TakePrintFrom(Thing)
Verse.SectionLayer_Things:Regenerate()
Verse.Section:RegenerateLayers(MapMeshFlag)
Verse.MapDrawer:TryUpdateSection(Section)
Verse.MapDrawer:MapMeshDrawerUpdate_First()
Verse.Map:MapUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "Vent"]</xpath>
<value>
<stuffCategories>
<li>Metallic</li>
<li>Woody</li>
<li>Stony</li>
</stuffCategories>
<costStuffCount>30</costStuffCount>
</value>
</Operation>
<ThingDef ParentName="BuildingBase">
<defName>Vent</defName>
<label>vent</label>
<thingClass>Building_Vent</thingClass>
~~~snip~~~
<costList>
<Steel>30</Steel>
</costList>
<stuffCategories>
<li>Metallic</li>
<li>Woody</li>
<li>Stony</li>
</stuffCategories>
<costStuffCount>30</costStuffCount>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "Vent"]/stuffCategories</xpath>
<value>
<li>Metallic</li>
<li>Woody</li>
<li>Stony</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "Vent"]/costStuffCount</xpath>
<value> 30 </value>
</Operation>
<Operation Class="PatchOperationRemove">
<xpath>/Defs/ThingDef[defName = "Vent"]/costList</xpath>
</Operation>
[BetterVents] Patch operation Verse.PatchOperationAdd(/Defs/ThingDef[defName = "Vent"]/stuffCategories) failed
Verse.Log:Error(String)
Verse.PatchOperation:Complete(String)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__853()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__851()
[BetterVents] Patch operation Verse.PatchOperationAdd(/Defs/ThingDef[defName = "Vent"]/costStuffCount) failed
Verse.Log:Error(String)
Verse.PatchOperation:Complete(String)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__853()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__851()
Quote from: cuproPanda on June 18, 2017, 03:12:38 PM
CorePanda will return in A18, but there will only be shared code. The tables are available in Powerless, and the universal racks are just the standard vanilla racks now. The sinks were way too buggy, and any implementation I do would just be a replication of the ones found in Dub's Hygiene.