Jump to content

Farm Life


jakecool19

Recommended Posts

On 2/8/2022 at 11:01 PM, jakecool19 said:

I have changed the breed numbers for hares to be exactly 6 and for boars exactly 7, to troubleshoot this better.

Good Luck because I love this mod and would love to see the babies back under control.  😅

Link to comment
Share on other sites

I have released another hotfix to try and address the over birth issue, this time another check on the birth amount and limiting the actual birth only to the server. Please let me know if this works or not as I have never been able to replicate this issue on my end. Also compatibility with Feverstone's horses and Creatures & Critters is coming.

  • Like 1
Link to comment
Share on other sites

unknown.png

just had to purify that pigletswarm from server. made by an suplayer w/o creative 'to level xskills'

server was heavy overloaded

 

19.2.2022 21:15:23 [Notification] A tick took 751,46ms
entity-ai-tasks-tick-start-execPetAI.AiTaskPetSeekEntity: 374,47ms
entity-done-bh-air: 91,88ms
entity-controlledphysics-end: 77,88ms
entity-ai-tasks-tick-start-execFarmlife.AiTaskTweakedSeekFoodAndEat: 66,24ms
entity-ai-tasks-tick-cont-PetAI.AiTaskPetSeekEntity: 35,81ms
entity-ai-tasks-tick-start-execVintagestory.GameContent.AiTaskMeleeAttack: 19,4ms
entity-done-bh-repulseagents: 15,98ms
gmleVintagestory.Server.ServerSystemEntitySimulation: 15,8ms

20.2.2022 00:35:11 [Notification] External Origins in load order: modorigin@C:\VSS163\assets\creative\, modorigin@C:\VSS163\assets\survival\, mod@AdvancedSmithing1.1.0.zip, mod@AncientTools_V1.3.5.zip, mod@animalcages_v2.0.6.zip, mod@axleinblocks_v1.0.12.zip, mod@BetterDrifters_v2.1.3.zip, mod@CreaturesandCritters1.1.2.zip, mod@necessaries_v1.16.0-1.1.1.zip, mod@NeededThings.zip, mod@NightWatcher-v1.2.zip, mod@Potatoes.1.0.3.zip, mod@PrimitiveSurvival2.8.0.zip, mod@qptech1.7.2.zip, mod@RangedWeapons-0.4.5.zip, mod@SuperFuel_v2.0.7.zip, mod@tradeomat_v1.16.0-1.6.0.zip, mod@ViesBlocks-VS1.16.3-v2.0.2.zip, mod@ViesCraftMachines-VS1.16.3-v1.6.0.zip, mod@AdminMod_Release_V0.3.8.zip, mod@alchemy-1.5.9.zip, mod@CarryCapacity-VS1.16.0-v0.6.4.zip, mod@FromGoldenCombs_1.16.0-v1.3.6-rc.4.zip, mod@gasapi_v1.0.1.zip, mod@HelveHammerExtensions_v1.16.0-pre.8_v1.2.0.zip, mod@Lichen-v1.6-VS1.16.0.zip, mod@medievalexpansion-3.7.1.zip, mod@MoreAnimals-1.0.2.zip, mod@MoreBags-1.0.0.zip, mod@petai_snapshot.zip, mod@PlayerCorpse_v1.16.3_v1.3.1.zip, mod@StoneQuarry_v1.16.3_v1.6.3.zip, mod@TeleportationNetwork_v1.16.0-pre.8_v1.5.1.zip, mod@usefulstuff_v2.3.1.zip, mod@wildfarming_v1.2.6.zip, mod@workbench-expansion-1.4.1.zip, mod@xlib_v0.6.8.zip, mod@xmelee_0.0.10.zip, mod@Bullseye 2.2.4.zip, mod@cats_v1.3.2_petai_v1.3.+.zip, mod@FeverstoneHorses-v1.2.5-1.16.x.zip, mod@wildcraft-v1.1.5.zip, mod@wolftaming_v1.3.2_petai_v1.3.+.zip, mod@xskills_v0.6.8.zip, mod@AlphaWeaponPack_Patchv2.0.0.zip, mod@TemporalTinkerer_v2.3.5.zip + farmlife1.2.2

Link to comment
Share on other sites

12 minutes ago, Cyraxan said:

unknown.png

just had to purify that pigletswarm from server. made by an suplayer w/o creative 'to level xskills'

server was heavy overloaded

 

19.2.2022 21:15:23 [Notification] A tick took 751,46ms
entity-ai-tasks-tick-start-execPetAI.AiTaskPetSeekEntity: 374,47ms
entity-done-bh-air: 91,88ms
entity-controlledphysics-end: 77,88ms
entity-ai-tasks-tick-start-execFarmlife.AiTaskTweakedSeekFoodAndEat: 66,24ms
entity-ai-tasks-tick-cont-PetAI.AiTaskPetSeekEntity: 35,81ms
entity-ai-tasks-tick-start-execVintagestory.GameContent.AiTaskMeleeAttack: 19,4ms
entity-done-bh-repulseagents: 15,98ms
gmleVintagestory.Server.ServerSystemEntitySimulation: 15,8ms

20.2.2022 00:35:11 [Notification] External Origins in load order: modorigin@C:\VSS163\assets\creative\, modorigin@C:\VSS163\assets\survival\, mod@AdvancedSmithing1.1.0.zip, mod@AncientTools_V1.3.5.zip, mod@animalcages_v2.0.6.zip, mod@axleinblocks_v1.0.12.zip, mod@BetterDrifters_v2.1.3.zip, mod@CreaturesandCritters1.1.2.zip, mod@necessaries_v1.16.0-1.1.1.zip, mod@NeededThings.zip, mod@NightWatcher-v1.2.zip, mod@Potatoes.1.0.3.zip, mod@PrimitiveSurvival2.8.0.zip, mod@qptech1.7.2.zip, mod@RangedWeapons-0.4.5.zip, mod@SuperFuel_v2.0.7.zip, mod@tradeomat_v1.16.0-1.6.0.zip, mod@ViesBlocks-VS1.16.3-v2.0.2.zip, mod@ViesCraftMachines-VS1.16.3-v1.6.0.zip, mod@AdminMod_Release_V0.3.8.zip, mod@alchemy-1.5.9.zip, mod@CarryCapacity-VS1.16.0-v0.6.4.zip, mod@FromGoldenCombs_1.16.0-v1.3.6-rc.4.zip, mod@gasapi_v1.0.1.zip, mod@HelveHammerExtensions_v1.16.0-pre.8_v1.2.0.zip, mod@Lichen-v1.6-VS1.16.0.zip, mod@medievalexpansion-3.7.1.zip, mod@MoreAnimals-1.0.2.zip, mod@MoreBags-1.0.0.zip, mod@petai_snapshot.zip, mod@PlayerCorpse_v1.16.3_v1.3.1.zip, mod@StoneQuarry_v1.16.3_v1.6.3.zip, mod@TeleportationNetwork_v1.16.0-pre.8_v1.5.1.zip, mod@usefulstuff_v2.3.1.zip, mod@wildfarming_v1.2.6.zip, mod@workbench-expansion-1.4.1.zip, mod@xlib_v0.6.8.zip, mod@xmelee_0.0.10.zip, mod@Bullseye 2.2.4.zip, mod@cats_v1.3.2_petai_v1.3.+.zip, mod@FeverstoneHorses-v1.2.5-1.16.x.zip, mod@wildcraft-v1.1.5.zip, mod@wolftaming_v1.3.2_petai_v1.3.+.zip, mod@xskills_v0.6.8.zip, mod@AlphaWeaponPack_Patchv2.0.0.zip, mod@TemporalTinkerer_v2.3.5.zip + farmlife1.2.2

Um a lot to unpack here.

  1. Is this from reproduction, or did this player spawn them in?
  2. The majority of that lag is actually from the PetAI mod based on the tick overload you pasted. although with that many entities in packed into one space like that there is going to be a ton of lag
  3. Nothing to do with troubleshooting, but if he spawned all those creatures, then why would they do that if they have creative abilities? Why not just use the Xskill commands to easily level up?
Link to comment
Share on other sites

The player had a suplayer role with no creative rights, so this whole swarm was created using farmlife@1.2.2 mechanics.

Despite server settings in FarmLifeConfig.json

"BreedingCapRange": 20.0,
  "BreedingCap": 3,
  "BreedingCapMinPop": 4,

a few pigs produced several hundred piglets in a very tiny pen, which I think is an obvious bug.

Also - I expected that without food, the animals in the pen would starve to death without food, but they didn't.

I reported the case to https://github.com/G3rste/petai/issues/21, here's his comment: 

"Hmmm, these animals shouldn't even be considered pets by my mods.
Or maybe it's because my "should attack" check is more expensive than in the base games, and there are too many pigs in the pen?

There's nothing else I can do at the moment, I'll leave it open for other test results. "

 

Link to comment
Share on other sites

7 hours ago, Cyraxan said:

The player had a suplayer role with no creative rights, so this whole swarm was created using farmlife@1.2.2 mechanics.

Despite server settings in FarmLifeConfig.json

"BreedingCapRange": 20.0,
  "BreedingCap": 3,
  "BreedingCapMinPop": 4,

a few pigs produced several hundred piglets in a very tiny pen, which I think is an obvious bug.

Also - I expected that without food, the animals in the pen would starve to death without food, but they didn't.

I reported the case to https://github.com/G3rste/petai/issues/21, here's his comment: 

"Hmmm, these animals shouldn't even be considered pets by my mods.
Or maybe it's because my "should attack" check is more expensive than in the base games, and there are too many pigs in the pen?

There's nothing else I can do at the moment, I'll leave it open for other test results. "

 

Animals starving to death has never been a feature, it only prevents them from breeding, growing, being sheared, and being milked, but they have never died from hunger.

Do you have an accurate number of how many piglets there was? And how many pregnant females there was?

Link to comment
Share on other sites

3 hours ago, jakecool19 said:

Animals starving to death has never been a feature, it only prevents them from breeding, growing, being sheared, and being milked, but they have never died from hunger.

Consider introducing such an option, would add realism, please.

3 hours ago, jakecool19 said:

Do you have an accurate number of how many piglets there was? And how many pregnant females there was?

Not counted tbh, but roughly assuming box model size of piglet and pit size should by around 100-200

There was only 2-3 pregnant sow

Link to comment
Share on other sites

  • 2 weeks later...

10.3.2022 04:22:27 [Error] Failed deserializing TradeProperties for trader farmlife:humanoid-trader-animal, exception logged to verbose debug
10.3.2022 04:22:33 [Fatal] System.NullReferenceException: Object reference not set to an instance of an object
  at Vintagestory.GameContent.EntityTrader.OnGameTick (System.Single dt) [0x000fd] in <a08e262855eb4247adb6564e1b178fb4>:0 
  at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities (System.Single dt) [0x00025] in <6b6988c5e6264e7e8b7a32e875df9528>:0 
  at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick (System.Single dt) [0x00167] in <6b6988c5e6264e7e8b7a32e875df9528>:0 
  at Vintagestory.Server.ServerMain.Process () [0x001ba] in <6b6988c5e6264e7e8b7a32e875df9528>:0 

Got this today, ground the server to a stand-still, though it didn't crash it entirely.

Link to comment
Share on other sites

Not sure if this is a problem with the mod or not but it showed up in my MP server console...and it seems to be showing up frequently. Mean anything?

Spoiler

17:20:50 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:20:53 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:20:56 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:20:59 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:21:02 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:21:05 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:21:05 [Server Warning] Couldn't load entity class Vintagestory.API.Common.EntityHumanoid saved type code game:poacher - its Type is null! Will remove from chunk, sorry!

17:21:06 [Server Warning] Couldn't load entity class Vintagestory.API.Common.EntityHumanoid saved type code game:poacher - its Type is null! Will remove from chunk, sorry!

17:21:32 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:21:35 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:21:38 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:21:41 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:21:44 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:21:47 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:21:50 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

at Vintagestory.Server.ServerMain.Process()

17:21:53 [Server Fatal] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Vintagestory.GameContent.BlockEntityTrough.get_contentConfigs()

at Vintagestory.GameContent.BlockEntityTrough.IsSuitableFor(Entity entity)

at Farmlife.AiTaskTweakedSeekFoodAndEat.b__33_1(IPointOfInterest poi)

at Vintagestory.GameContent.POIRegistry.GetNearestPoi(Vec3d centerPos, Single radius, PoiMatcher matcher)

at Farmlife.AiTaskTweakedSeekFoodAndEat.ShouldExecute()

at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)

at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)

at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)

at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)

at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)

Spoiler

at Vintagestory.Server.ServerMain.Process()

 

 

Edited by Peter Sanderson
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

I can't seem to place animal feed (as in the item) in large troughs. Here's my modlist:

Spoiler

acorns, advancedsmithing, weaponpacka, ancienttools, tonwexp, axleinblocks, backpackpackplus, weaponpackbeta, betterarchery, betterbackpacks, bettercrates, betterdrifters, bth, BuggisRandomChanges, cavecontent, cavepaintings, cellardoor, chiseltools, civbooks, composter, cottagewindows, cralutweaks, dragonflies, expandedfoods, extrachests, extraclayforming, fancydoors, fancysky, FlexibleTools, foundrymod, fulldrop, weaponpackg, gravelsandfix, HangingOilLamps, hideandfabric, itemlights, knappingmastery, aaamakeitcompatible, meteoricexpansion, MineIndicator-txp-vplus, moreclasses, potatoes, moredrygrass, moredungeons, moremetals, moreminerals, moreroads, leadroof, MoreTorchHolders, MoreTreeSeeds, necessaries, neededthings, nightwatcher, nomolding, nooffhandhunger, orecrystals, OresAPlenty, paints, peca, peifme, peiftt, plantmat, plastervar, preservationmod, primitivesurvival, qptech, quickerbarrel, realshingles, ruststones, SmallWindows, specializedbags-18Slot, spidersilk, spyglass, stackables, sterilebandages, sticksfromfirewood, superfuel, survivalcats, locustmod, thecritterpack, travelmarkers, usefulscrap, viesblocks, viescraftmachines, volumetricshadingcontinued, game, vshud, zeekea, zoombuttonreborn, linenbackpack, alchemy, attachit, egocaribautomapmarkers, bonfires, captureanimals, carrycapacity, dssilicatebricks, extraoverlays, fancyplanters, farmlanddropssoil, farmlife, fixbadrecipes, fixhandbookclutter, flintchisel, fromgoldencombs, gasapi, helvehammerext, hudclock, immersivecrafting, lc, lichen, medievalexpansion, moreanimals, morebags, morepiles, mcrate, petai, pei, peifm, petool, playercorpse, primitivetools, prospectorinfo, ruinvariants, singlepause, slidingdoor, smallfixes, snowballmod, ssppvv, stonequarry, techmolds, tprunes, tpnet, temporalmirror, th3restock, translocatorlocator, usefulstuff, vanvar, creative, survival, whackem, wildfarming, woodbarrels, woodchests, woodfp, workbenchexpansion, xmelee, xrowboat, metalrecovery, accessibilitytweaks, campaigncartographer, bullseye, cats, cavebeacons, tradercamps, compatibilityfix, defensive, doffanddonagain, feverstonehorses, foxtaming, glassmaking, moremolds, packanimals, stonepiles, wildcraft, wolftaming, xinvtweaks, yeet, bricklayers, blammfix

Yeah, way too many, I know... Any idea what's causing this?

Link to comment
Share on other sites

On 6/30/2022 at 9:04 PM, genderneutralnoun said:

I can't seem to place animal feed (as in the item) in large troughs. Here's my modlist:

  Reveal hidden contents

acorns, advancedsmithing, weaponpacka, ancienttools, tonwexp, axleinblocks, backpackpackplus, weaponpackbeta, betterarchery, betterbackpacks, bettercrates, betterdrifters, bth, BuggisRandomChanges, cavecontent, cavepaintings, cellardoor, chiseltools, civbooks, composter, cottagewindows, cralutweaks, dragonflies, expandedfoods, extrachests, extraclayforming, fancydoors, fancysky, FlexibleTools, foundrymod, fulldrop, weaponpackg, gravelsandfix, HangingOilLamps, hideandfabric, itemlights, knappingmastery, aaamakeitcompatible, meteoricexpansion, MineIndicator-txp-vplus, moreclasses, potatoes, moredrygrass, moredungeons, moremetals, moreminerals, moreroads, leadroof, MoreTorchHolders, MoreTreeSeeds, necessaries, neededthings, nightwatcher, nomolding, nooffhandhunger, orecrystals, OresAPlenty, paints, peca, peifme, peiftt, plantmat, plastervar, preservationmod, primitivesurvival, qptech, quickerbarrel, realshingles, ruststones, SmallWindows, specializedbags-18Slot, spidersilk, spyglass, stackables, sterilebandages, sticksfromfirewood, superfuel, survivalcats, locustmod, thecritterpack, travelmarkers, usefulscrap, viesblocks, viescraftmachines, volumetricshadingcontinued, game, vshud, zeekea, zoombuttonreborn, linenbackpack, alchemy, attachit, egocaribautomapmarkers, bonfires, captureanimals, carrycapacity, dssilicatebricks, extraoverlays, fancyplanters, farmlanddropssoil, farmlife, fixbadrecipes, fixhandbookclutter, flintchisel, fromgoldencombs, gasapi, helvehammerext, hudclock, immersivecrafting, lc, lichen, medievalexpansion, moreanimals, morebags, morepiles, mcrate, petai, pei, peifm, petool, playercorpse, primitivetools, prospectorinfo, ruinvariants, singlepause, slidingdoor, smallfixes, snowballmod, ssppvv, stonequarry, techmolds, tprunes, tpnet, temporalmirror, th3restock, translocatorlocator, usefulstuff, vanvar, creative, survival, whackem, wildfarming, woodbarrels, woodchests, woodfp, workbenchexpansion, xmelee, xrowboat, metalrecovery, accessibilitytweaks, campaigncartographer, bullseye, cats, cavebeacons, tradercamps, compatibilityfix, defensive, doffanddonagain, feverstonehorses, foxtaming, glassmaking, moremolds, packanimals, stonepiles, wildcraft, wolftaming, xinvtweaks, yeet, bricklayers, blammfix

Yeah, way too many, I know... Any idea what's causing this?

I'm not too sure, is there any kind of crash it is giving when you try to place something in there?

Link to comment
Share on other sites

  • 2 weeks later...
On 7/3/2022 at 10:43 AM, jakecool19 said:

I'm not too sure, is there any kind of crash it is giving when you try to place something in there?

Nope, no crash, nothing in the logs... I changed my modlist around a bit but it still won't work. I tried searching in my mod files for files that modify trough-large, but nothing.

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...

Quick question regarding settings.

 

BreedingCapRange= regulating how far the game checks if pen overpopulated?

BreedingCap= the higher, the more offspring an animal can produce?

BreedingCapMinPop= at which amount animals start reproducing?

Having currently an overpopulation marker with one female animal(sheep) and trying to get more animals of generation 3+ in the end.

 

€: also I used to have caribous I spawned and aurochs.
Neither animal type bred/got pregnant despite being shown as ready to mate in the case of females.

Does wild births enabled needs to be set true for that?

Edited by Xarl
Link to comment
Share on other sites

  • 6 months later...

Doubtful...but I might.  I have a new version of Farm Life up and running, but because it has a LOT of code and hadn't been updated in a long time, it will require quite a bit of testing.

I've attached the untested version in case someone is really really bored.  Built under Vintage Story 1.18.5, loads up very cleanly. 

farmlife2v0.0.1.zip

Edited by Spear and Fang
  • Cookie time 1
  • Amazing! 2
Link to comment
Share on other sites

  • 2 weeks later...

  

On 6/23/2023 at 7:06 PM, Exletalis08 said:

That, and I am not sure if Farmlife is causing this, but animals after a time get stuck walking in place.

Ah so it might not have been just my combined mod list. I noticed they got stuck too, but couldn't tell if it was related to this. It seems to often be after they poop?

Link to comment
Share on other sites

Yeh, it's when their food goes down after pooping, they get stuck trying to walk to food. I push them to the trough and as soon as they eat, they start moving as normal. Also, my chickens weren't laying eggs. After I removed the mod, the animals started working fine, eating, breeding, growing up, etc.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.