Ludeon Forums

RimWorld => Mods => Mod bugs => Topic started by: Lupin III on August 15, 2017, 04:57:25 PM

Title: Animal training makes pawns pick up and drop food continuously (maybe mod?)
Post by: Lupin III on August 15, 2017, 04:57:25 PM
I have a colony that worked fine for some time, but suddenly pawns started to move stacks around within a stockpile. At first I thought it is a mod issue (and I'm still not 100% it isn't, so I don't file this as a rimworld bug yet). I had two mods I thought could be the culprit, "JT Better Hauling", which prioritizes perishables in hauling, and "Stack merger", which consolidates serveral small stacks. But I disabled those two mods and it is still happening. Since none of the other mods I use should influence hauling/stacking (except for priority maybe, but not the what and where to), I'm now at a loss to find out, what is causing this. I searched the forum, if someone described a similar problem, but found nothing.
Is there any way to debug what part of the game (mod/core) caused a certain action?

To describe this problem again:
The four pawns to the right in the walk-in freezer are constantly picking up small stacks (sometimes full stacks, sometimes less) and dropping it on the square besides them. It is in the same stockpile, but it also happened at other stockpiles (e. g. the small rim-freezer to the left), where they pick up stacks and drop it on the floor, where there isn't even a stockpile. Then they pick it up again and put it back in the stockpile. This continues with a constant stream of "x started 10 jobs in 10 ticks" until they have something else with higher priority to do. Btw. the bug is not caused by the storage items (the shelves/barrels/freezers), because the weird behaviour occured before I built them as well.

[attachment deleted by admin: too old]
Title: Re: How to debug? I got a weird issue with pawns constantly moving stacks
Post by: Calahan on August 15, 2017, 07:16:53 PM
The log file is usually always the best place to start when to comes to debugging or troubleshooting an issue. Details on where to find the log file can be found in the following thread: https://ludeon.com/forums/index.php?topic=513.0 . If you post your log file (as an attachment) then someone might be able to identify what's causing the problem. I've also moved this to mod bugs for now as that seems to be the mostly likely cause.
Title: Animal training makes pawns pick up and drop food continuously
Post by: Lupin III on August 17, 2017, 08:19:13 AM
I narrowed down what job is causing this behaviour. It is the animal training job. As soon as multiple pawns try to tame/train animals, all but one of them pick up and drop food continuously. The training itself gets done by the one pawn who's not throwing food around, so training itself is not broken. If I lower the work priority or remove it completely for the stuck pawns they immediately do something else.
I'm not sure what mod could cause this. I don't have any (I think) that influence animal training.

Title: Re: Animal training makes pawns pick up and drop food continuously (maybe mod?)
Post by: SpaceDorf on August 17, 2017, 08:31:56 AM
Try "smarter food selection" it does change foods allowed for training.

other mods I would check are mods that change jobbehavior in general.

but I use most of the mods I saw on your list myself whithout taming problems.
Title: Re: Animal training makes pawns pick up and drop food continuously (maybe mod?)
Post by: Lupin III on August 17, 2017, 09:36:26 AM
Yup, that did it. I tried disabling the pet options of smarter food selection before (thinking that should fix it), but that did not change it. Disabling the whole mod now did. It is still weird that everything worked for one pawn though. My animals were getting trained, but the all other pawns except the first got stuck.
Title: Re: Animal training makes pawns pick up and drop food continuously (maybe mod?)
Post by: SpaceDorf on August 17, 2017, 10:40:46 AM
Not so much.

If the mod also has an effect on which food the pawns should carry around with themselves .. jobless trainers drop the food again, instead of picking up some "working material for later" as they do otherwise.
Title: Re: Animal training makes pawns pick up and drop food continuously (maybe mod?)
Post by: Wishmaster on August 18, 2017, 02:56:08 PM
That's a conflict between my Smarter Food Selection and Combat Extended.