[Con] Trapper places infinite stack of traps (R134)


#1

Title:
Trapper places infinite stack of traps
Summary:
The trapper was doing her job but suddenly in one of the trap zones there were a lot of traps one above each other.
Steps to reproduce:
Unfortunately, I don’t know how this happened, I saw the stack already done because I was looking through the map to find if any animal had been caught. Must be hard to reproduce, although maybe it has happened in another old release? I can’t remember if it has been mentioned.

Expected Results:
Only one trap placed on that zone.
Actual Results:
Lots of traps placed one above each other.
Notes:
The trap zones I drew weren’t very big, and I removed that one before it would give me problems. I think it didn’t throw any errors, but if it did, I wouldn’t have been able to associate them to this bug because I was looking at another parts of the map.
Attachments:
It’s not that infinite, it stops there, but they are a lot.

Versions and Mods:
Alpha 4 R130 No mods.
System Information:
Windows Vista Home Premium SP2 (32-bit OS)
Intel® Core™2 Duo CPU P8400
2.26 GHz 2.27GHz
RAM 3GB
Mobile Intel 4 Series Express Chipset Family


#2

Well, that’s certainly one way to trap the birds. Someone should really tell our little settlers about bows.


#3

Was it a normal sized trapper zone (ie, not some tiny one)? Really bizarre behaviour, but I’m wondering if perhaps a small zone led to the trapper trying to place several in it regardless…


#4

I don’t think so. My hunting areas are always 3*3 and I never have such behavior.


#5

Could this floating trap be related?


#6

Wow! Any hints for how to repro would be super useful. Thanks!


#7

Confirmed for r134:

I don’t know if it’s because the trap keeps empty, but maybe it’s just the trapper, that picks the exact same spot the next time and doesn’t remove the old trap.
Then, when he comes removing empty traps, the above one ends up floating:

What it’s true is that the trapper places more than one trap per zone, and that may result in this behaviour (like settlers get on top of tables or float over other items when placed below them).

As I don’t know how the spot for placing the trap is calculated, this are all assumptions. It’s difficult to repro, and normally you wouldn’t like to stare for hours at the traps :sweat:


#8

nice work on the repro! or at least, some solid assumptions… :wink:


#9

So, here’s the partial diagnosis:

The trapper is getting interrupted by another action before she can fully set the trap. That action aborts, so she goes back to setting a new trap. I’ve fixed the infinite stack problem, but it would be extremely helpful to know what action is interrupting the trapper to correct the repetitive behavior.

The next time someone sees this, try to find out what is happening between setting traps. Possible candidates are:

  • Trying to pick up loot
  • Trying to check another trap to see if it has a critter
  • Trying to unload her backpack

#10

Maybe the red alert (town alarm) could be a candidate?


#11

I don’t know, those last pics were made in peaceful mode =/

It’s probably one of those that @Albert mentioned. Oh, and I’ve recently seen some plates of berries on the ground, that might be the same, an action that interrupts another (and the plate is left there forever). So some priorities are forcing actions that should be finished to stop, and then when that action is resumed it starts from the beginning. That’s what it looks like…