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 - EnderNyktos

#1
Help / The colonists uses the serum in themself
April 18, 2024, 11:03:48 PM
Video: https://www.reddit.com/r/rimworldmodding/comments/1c7i3rh/the_colonists_uses_the_serum_in_themself/

I'm trying to create a mod where you inject some products on the boomalopes and then they start producing those products naturally. But for some reason my colonists uses the evolopes mech serum in themself.

Here's the code: https://github.com/EnderNyktos/EnderNyktos-Evolopes
#2
I got these errors and after that the same errors shows again and again and again for no reason. I was doing nothing, being afk and then a sound came from the game.

First error:

Soyuz caught this error. Please don't report this to the RocketMan team unless you're certain RocketMan caused this error. with error System.NullReferenceException: Object reference not set to an instance of an object

at (wrapper dynamic-method) Verse.ThingMaker.Verse.ThingMaker.MakeThing_Patch2(Verse.ThingDef,Verse.ThingDef)

at AdvancedCultivation.AC_CompFermenter.DoTicks (System.Int32 ticks) [0x000d4] in <12a1426948a040e8bcdb310c4d37db17>:0

at AdvancedCultivation.AC_CompFermenter.CompTick () [0x00000] in <12a1426948a040e8bcdb310c4d37db17>:0

at Verse.ThingWithComps.Tick () [0x00024] in <cd7169108ea74757aa50c5b33d275c15>:0

at Verse.ThingOwner.ThingOwnerTick (System.Boolean removeIfDestroyed) [0x00021] in <cd7169108ea74757aa50c5b33d275c15>:0

at Verse.Pawn_InventoryTracker.InventoryTrackerTick () [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0

at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch2(Verse.Pawn)

UnityEngine.StackTraceUtility:ExtractStackTrace ()

(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch6 (string)

RocketMan.Logger:Debug (string,System.Exception,string)

Soyuz.Patches.Pawn_Tick_Patch:Finalizer (Verse.Pawn,System.Exception)

(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)

(wrapper dynamic-method) RimWorld.Planet.WorldPawns:RimWorld.Planet.WorldPawns.WorldPawnsTick_Patch2 (RimWorld.Planet.WorldPawns)

RimWorld.Planet.World:WorldTick ()

(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)

Verse.TickManager:TickManagerUpdate ()

(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)

Verse.Root_Play:Update ()

Second error

Exception ticking world pawn ERN_Carbuncle8623932. Suppressing further errors. System.NullReferenceException: Object reference not set to an instance of an object

at (wrapper dynamic-method) Verse.ThingMaker.Verse.ThingMaker.MakeThing_Patch2(Verse.ThingDef,Verse.ThingDef)

at AdvancedCultivation.AC_CompFermenter.DoTicks (System.Int32 ticks) [0x000d4] in <12a1426948a040e8bcdb310c4d37db17>:0

at AdvancedCultivation.AC_CompFermenter.CompTick () [0x00000] in <12a1426948a040e8bcdb310c4d37db17>:0

at Verse.ThingWithComps.Tick () [0x00024] in <cd7169108ea74757aa50c5b33d275c15>:0

at Verse.ThingOwner.ThingOwnerTick (System.Boolean removeIfDestroyed) [0x00021] in <cd7169108ea74757aa50c5b33d275c15>:0

at Verse.Pawn_InventoryTracker.InventoryTrackerTick () [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0

at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch2(Verse.Pawn)

at (wrapper dynamic-method) RimWorld.Planet.WorldPawns.RimWorld.Planet.WorldPawns.WorldPawnsTick_Patch2(RimWorld.Planet.WorldPawns)

UnityEngine.StackTraceUtility:ExtractStackTrace ()

(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch6 (string)

Verse.Log:ErrorOnce (string,int)

(wrapper dynamic-method) RimWorld.Planet.WorldPawns:RimWorld.Planet.WorldPawns.WorldPawnsTick_Patch2 (RimWorld.Planet.WorldPawns)

RimWorld.Planet.World:WorldTick ()

(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)

Verse.TickManager:TickManagerUpdate ()

(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)

Verse.Root_Play:Update ()

Third error

Soyuz caught this error. Please don't report this to the RocketMan team unless you're certain RocketMan caused this error. with error System.NullReferenceException: Object reference not set to an instance of an object

at (wrapper dynamic-method) Verse.ThingMaker.Verse.ThingMaker.MakeThing_Patch2(Verse.ThingDef,Verse.ThingDef)

at AdvancedCultivation.AC_CompFermenter.DoTicks (System.Int32 ticks) [0x000d4] in <12a1426948a040e8bcdb310c4d37db17>:0

at AdvancedCultivation.AC_CompFermenter.CompTick () [0x00000] in <12a1426948a040e8bcdb310c4d37db17>:0

at Verse.ThingWithComps.Tick () [0x00024] in <cd7169108ea74757aa50c5b33d275c15>:0

at Verse.ThingOwner.ThingOwnerTick (System.Boolean removeIfDestroyed) [0x00021] in <cd7169108ea74757aa50c5b33d275c15>:0

at Verse.Pawn_InventoryTracker.InventoryTrackerTick () [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0

at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch2(Verse.Pawn)

UnityEngine.StackTraceUtility:ExtractStackTrace ()

(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch6 (string)

RocketMan.Logger:Debug (string,System.Exception,string)

Soyuz.Patches.Pawn_Tick_Patch:Finalizer (Verse.Pawn,System.Exception)

(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)

(wrapper dynamic-method) RimWorld.Planet.WorldPawns:RimWorld.Planet.WorldPawns.WorldPawnsTick_Patch2 (RimWorld.Planet.WorldPawns)

RimWorld.Planet.World:WorldTick ()

(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)

Verse.TickManager:TickManagerUpdate ()

(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)

Verse.Root_Play:Update ()

fourth error:

Exception ticking world pawn Muffalo9662020. Suppressing further errors. System.NullReferenceException: Object reference not set to an instance of an object

at (wrapper dynamic-method) Verse.ThingMaker.Verse.ThingMaker.MakeThing_Patch2(Verse.ThingDef,Verse.ThingDef)

at AdvancedCultivation.AC_CompFermenter.DoTicks (System.Int32 ticks) [0x000d4] in <12a1426948a040e8bcdb310c4d37db17>:0

at AdvancedCultivation.AC_CompFermenter.CompTick () [0x00000] in <12a1426948a040e8bcdb310c4d37db17>:0

at Verse.ThingWithComps.Tick () [0x00024] in <cd7169108ea74757aa50c5b33d275c15>:0

at Verse.ThingOwner.ThingOwnerTick (System.Boolean removeIfDestroyed) [0x00021] in <cd7169108ea74757aa50c5b33d275c15>:0

at Verse.Pawn_InventoryTracker.InventoryTrackerTick () [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0

at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch2(Verse.Pawn)

at (wrapper dynamic-method) RimWorld.Planet.WorldPawns.RimWorld.Planet.WorldPawns.WorldPawnsTick_Patch2(RimWorld.Planet.WorldPawns)

UnityEngine.StackTraceUtility:ExtractStackTrace ()

(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch6 (string)

Verse.Log:ErrorOnce (string,int)

(wrapper dynamic-method) RimWorld.Planet.WorldPawns:RimWorld.Planet.WorldPawns.WorldPawnsTick_Patch2 (RimWorld.Planet.WorldPawns)

RimWorld.Planet.World:WorldTick ()

(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)

Verse.TickManager:TickManagerUpdate ()

(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)

Verse.Root_Play:Update ()

Fifth error:

Soyuz caught this error. Please don't report this to the RocketMan team unless you're certain RocketMan caused this error. with error System.NullReferenceException: Object reference not set to an instance of an object

at (wrapper dynamic-method) Verse.ThingMaker.Verse.ThingMaker.MakeThing_Patch2(Verse.ThingDef,Verse.ThingDef)

at AdvancedCultivation.AC_CompFermenter.DoTicks (System.Int32 ticks) [0x000d4] in <12a1426948a040e8bcdb310c4d37db17>:0

at AdvancedCultivation.AC_CompFermenter.CompTick () [0x00000] in <12a1426948a040e8bcdb310c4d37db17>:0

at Verse.ThingWithComps.Tick () [0x00024] in <cd7169108ea74757aa50c5b33d275c15>:0

at Verse.ThingOwner.ThingOwnerTick (System.Boolean removeIfDestroyed) [0x00021] in <cd7169108ea74757aa50c5b33d275c15>:0

at Verse.Pawn_InventoryTracker.InventoryTrackerTick () [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0

at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch2(Verse.Pawn)

UnityEngine.StackTraceUtility:ExtractStackTrace ()

(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch6 (string)

RocketMan.Logger:Debug (string,System.Exception,string)

Soyuz.Patches.Pawn_Tick_Patch:Finalizer (Verse.Pawn,System.Exception)

(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)

(wrapper dynamic-method) RimWorld.Planet.WorldPawns:RimWorld.Planet.WorldPawns.WorldPawnsTick_Patch2 (RimWorld.Planet.WorldPawns)

RimWorld.Planet.World:WorldTick ()

(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)

Verse.TickManager:TickManagerUpdate ()

(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)

Verse.Root_Play:Update ()

The last one repeats itself an infinite number of times, I can't stop it. The error happens to be from "Advanced Cultivation", but not from my map.

When I try to upload the register it says Error: HTTP/1.1 401 Unathorized.
#3
Hello, I'm trying to learn how to create a mod. Starting on something simple, but I have these errors, and idk what else can i do.

File:

Quote<?xml version="1.0" encoding="utf-8" ?>
<Patch>

   <Operation Class="PatchOperationFindMod">
      <mods>
         <li>Core</li>
      </mods>
      
      <match Class="PatchOperationSequence">
         <operations>
         
            <!-- Centipede -->
            <li Class="PatchOperationReplace">
            <xpath>/Defs/ThingDef[@Name="MechCentipede"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>20</Steel>
                     <ChunkSlagSteel>2</ChunkSlagSteel>
                     <Plasteel>20</Plasteel>
                     <Gold>10</Gold>
                     <ComponentIndustrial>1</ComponentIndustrial>
                  </butcherProducts>
               </value>
            </li>
            
            <!-- Lancer - fast mid-range shooter -->
            <li Class="PatchOperationReplace">
            <xpath>/Defs/ThingDef[defName="Mech_Lancer"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>10</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>15</Plasteel>
                     <Gold>5</Gold>
                  </butcherProducts>
               </value>
            </li>
            
            <!-- Scyther - fast melee -->
            <li Class="PatchOperationReplace">
            <xpath>/Defs/ThingDef[defName="Mech_Scyther"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>15</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>10</Plasteel>
                  </butcherProducts>
               </value>
            </li>
            
            <!-- Pikeman - slow sniper weak at close range -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="Mech_Pikeman"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>15</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>15</Plasteel>
                     <Gold>5</Gold>
                     <ComponentIndustrial>1</ComponentIndustrial>
                  </butcherProducts>
               </value>
            </li>
               
            <!--Termite-->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="Mech_Termite"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>15</Steel>
                     <ChunkSlagSteel>2</ChunkSlagSteel>
                     <Plasteel>15</Plasteel>
                     <Gold>10</Gold>
                     <ComponentIndustrial>1</ComponentIndustrial>
                  </butcherProducts>
               </value>
            </li>
         </operations>
      </match>
   </Operation>
</Patch>

Error:

Quote[Better VFEM Loot] Patch operation Verse.PatchOperationFindMod(Core) failed
file: D:\Steam\steamapps\common\RimWorld\Mods\Better VFEM Loot\Patches\Core\Core Mechs.xml
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.PatchOperation:Complete (string)
Verse.LoadedModManager:ClearCachedPatches ()
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_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 ()


2nd File:

Quote<?xml version="1.0" encoding="utf-8" ?>
<Patch>

   <Operation Class="PatchOperationFindMod">
      <mods>
         <li>Vanilla Factions Expanded - Mechanoids</li>
      </mods>

      <match Class="PatchOperationSequence">
         <operations>
         
            <!-- Carpenter - slow deconstructor -->
            <li Class="PatchOperationReplace">
            <xpath>/Defs/ThingDef[defName="VFE_AncientMech_AncientCarpenter"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>20</Steel>
                     <ChunkSlagSteel>3</ChunkSlagSteel>
                     <Plasteel>20</Plasteel>
                     <Gold>10</Gold>
                     <ComponentIndustrial>1</ComponentIndustrial>
                  </butcherProducts>
               </value>
            </li>
         
            <!-- Centipede -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_Centipede"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>20</Steel>
                     <ChunkSlagSteel>2</ChunkSlagSteel>
                     <Plasteel>20</Plasteel>
                     <Gold>10</Gold>
                     <ComponentIndustrial>2</ComponentIndustrial>
                  </butcherProducts>
               </value>
            </li>
         
            <!-- Lancer - fast mid-range shooter -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_Lancer"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>10</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>15</Plasteel>
                     <Gold>5</Gold>
                     <ComponentIndustrial>1</ComponentIndustrial>
                  </butcherProducts>
               </value>
            </li>
         
            <!-- Knight - slow short-range shooter -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_Knight"]/butcherProducts</xpath>
               <value>
                  <butcherProducts>
                     <Steel>20</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>15</Plasteel>
                     <ComponentIndustrial>1</ComponentIndustrial>
                  </butcherProducts>
               </value>
            </li>
         
            <!-- Inquisitor - armored short-range flamer -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_Inquisitor"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>20</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>10</Plasteel>
                     <ComponentIndustrial>2</ComponentIndustrial>
                  </butcherProducts>
               </value>
            </li>
         
            <!-- Scyther - fast melee -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_Scyther"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>15</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>10</Plasteel>
                     <ComponentIndustrial>1</ComponentIndustrial>
                  </butcherProducts>
               </value>
            </li>
         
            <!-- Pikeman - slow sniper weak at close range -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_Pikeman"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>15</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>15</Plasteel>
                     <Gold>5</Gold>
                     <ComponentIndustrial>1</ComponentIndustrial>
                  </butcherProducts>
               </value>
            </li>
         
            <!-- Carpenter - slow deconstructor -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_Carpenter"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>20</Steel>
                     <ChunkSlagSteel>3</ChunkSlagSteel>
                     <Plasteel>20</Plasteel>
                     <Gold>10</Gold>
                     <ComponentIndustrial>2</ComponentIndustrial>
                  </butcherProducts>
               </value>
            </li>
         
            <!--Termite-->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_Termite"]/butcherProducts</xpath>
               <value>
                  <butcherProducts>
                     <Steel>15</Steel>
                     <ChunkSlagSteel>2</ChunkSlagSteel>
                     <Plasteel>15</Plasteel>
                     <Gold>10</Gold>
                     <ComponentIndustrial>2</ComponentIndustrial>
                  </butcherProducts>
               </value>
            </li>
            
            <!-- Advanced Centipede -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_AdvancedCentipede"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>30</Steel>
                     <ChunkSlagSteel>2</ChunkSlagSteel>
                     <Plasteel>30</Plasteel>
                     <Gold>15</Gold>
                     <ComponentSpacer>2</ComponentSpacer>
                  </butcherProducts>
               </value>
            </li>

            <!-- Advanced Lancer - fast mid-range shooter -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_AdvancedLancer"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>20</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>25</Plasteel>
                     <Gold>10</Gold>
                     <ComponentSpacer>1</ComponentSpacer>
                  </butcherProducts>
               </value>
            </li>
            
            <!-- Advanced Knight - slow short-range shooter -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_AdvancedKnight"]/butcherProducts</xpath>
               <value>
                  <butcherProducts>
                     <Steel>30</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>25</Plasteel>
                     <Gold>5</Gold>
                     <ComponentSpacer>1</ComponentSpacer>
                  </butcherProducts>
               </value>
            </li>

            <!-- Advanced Inquisitor - armored short-range flamer -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_AdvancedInquisitor"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>30</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>20</Plasteel>
                     <Gold>5</Gold>
                     <ComponentIndustrial>1</ComponentIndustrial>
                     <ComponentSpacer>1</ComponentSpacer>
                  </butcherProducts>
               </value>
            </li>

            <!-- Advanced Scyther - fast melee -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_AdvancedScyther"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>25</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>20</Plasteel>
                     <ComponentSpacer>1</ComponentSpacer>
                  </butcherProducts>
               </value>
            </li>
            
            <!-- Advanced Pikeman - slow sniper weak at close range -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_AdvancedPikeman"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>25</Steel>
                     <ChunkSlagSteel>1</ChunkSlagSteel>
                     <Plasteel>25</Plasteel>
                     <Gold>10</Gold>
                     <ComponentSpacer>1</ComponentSpacer>
                  </butcherProducts>
               </value>
            </li>
            
            <!-- Advanced Carpenter - slow deconstructor -->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_AdvancedCarpenter"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>30</Steel>
                     <ChunkSlagSteel>3</ChunkSlagSteel>
                     <Plasteel>30</Plasteel>
                     <Gold>15</Gold>
                     <ComponentSpacer>2</ComponentSpacer>
                  </butcherProducts>
               </value>
            </li>
            
            <!--Advanced Termite-->
            <li Class="PatchOperationReplace">
               <xpath>/Defs/ThingDef[defName="VFE_Mech_AdvTermite"]/butcherProducts</xpath>
               <value>   
                  <butcherProducts>
                     <Steel>25</Steel>
                     <ChunkSlagSteel>2</ChunkSlagSteel>
                     <Plasteel>25</Plasteel>
                     <Gold>20</Gold>
                     <ComponentSpacer>2</ComponentSpacer>
                  </butcherProducts>
               </value>
            </li>
         </operations>
      </match>
   </Operation>
</Patch>

2nd Error:

Quote[Better VFEM Loot] Patch operation Verse.PatchOperationFindMod(Vanilla Factions Expanded - Mechanoids) failed
file: D:\Steam\steamapps\common\RimWorld\Mods\Better VFEM Loot\Patches\VFE.Mechanoid\Loot_VFEMechanoid.xml
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.PatchOperation:Complete (string)
Verse.LoadedModManager:ClearCachedPatches ()
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_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 ()

Thanks in advance