Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Is this a known hunter getting ammo bug, or am I doing something wrong?  (Read 2582 times)

morikal

  • Bay Watcher
    • View Profile

My hunter picked up all equipment except ammo.
I tried many things (unassign hunting, recruit with different weapon, unrecruit after changing equipment, reassign hunting, etc).
I tried different dwarves.

Finally while messing with military ammunition, I noticed under ammunition that hunter had some specific 4 sets of 25 bolts selected. I cleared it and added generic 100 bolts again. The hunter picked them up and got to work.

When he ran out of bolts, he idled again. The hunter ammo section still had 4 specific sets of 25 bolts selected. To get him to hunt again I had to clear it & put 100 generic bolts again, and then de-assign hunting & reassign it (without that, he just kept socializing in the tavern).

Am I going to have to keep doing this every time he runs out of bolts? Is there a workaround for this issue?
Logged

Loci

  • Bay Watcher
    • View Profile
Re: Is this a known hunter getting ammo bug, or am I doing something wrong?
« Reply #1 on: February 10, 2020, 05:55:03 pm »

You're a bit off-target. All dwarves have to be assigned specific equipment to pick up--being assigned actual stacks of bolts is expected (and necessary). The real question is why the dwarf is unable to collect the stacks of bolts that were assigned. You can use the stocks screen (assuming you've set up a bookkeeper) to track down the problematic bolts in an attempt to resolve the issue; they might be outside of a burrow, locked in a forbidden quiver, carried by another dwarf, etc. Alternatively, you could make specific ammunition for your dwarf using "rare" materials (e.g. bismuth bronze), and set the ammo assignments appropriately to prevent the problematic bolt stacks from being assigned.
Logged

darkhog

  • Bay Watcher
  • JAGIELSKI is PERFECTION
    • View Profile
    • Jagielski Gaming YT channel
Re: Is this a known hunter getting ammo bug, or am I doing something wrong?
« Reply #2 on: February 11, 2020, 09:37:27 pm »

AFAIK hunters and others are forbidden from picking up any ammo by default (it's auto forbids). You should be able to set it up in the orders menu, just set it to claim ammo. Tripped me up as well and AFAIK was done to prevent some AI-related bug, but it doesn't seem to happen anyway anymore even with auto claiming of the ammo.
Logged
I am a dwarf and I'm digging a hole. Diggy Diggy hole, diggy diggy hole.

If I say something funny, don't ask if you can sig it. Just do it (though credit me).

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Is this a known hunter getting ammo bug, or am I doing something wrong?
« Reply #3 on: February 12, 2020, 07:39:43 am »

AFAIK hunters and others are forbidden from picking up any ammo by default (it's auto forbids).
That forbids ammo after it's been fired.
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

morikal

  • Bay Watcher
    • View Profile
Re: Is this a known hunter getting ammo bug, or am I doing something wrong?
« Reply #4 on: February 12, 2020, 02:24:24 pm »

You're a bit off-target. All dwarves have to be assigned specific equipment to pick up--being assigned actual stacks of bolts is expected (and necessary). The real question is why the dwarf is unable to collect the stacks of bolts that were assigned. You can use the stocks screen (assuming you've set up a bookkeeper) to track down the problematic bolts in an attempt to resolve the issue; they might be outside of a burrow, locked in a forbidden quiver, carried by another dwarf, etc. Alternatively, you could make specific ammunition for your dwarf using "rare" materials (e.g. bismuth bronze), and set the ammo assignments appropriately to prevent the problematic bolt stacks from being assigned.

Hmm, so in my fort:
 - No burrows defined
 - One ammo stockpile
 - No military dwarves using ranged weapons yet, so no one else should be moving ammo around

I have this repeatable behavior:
 - Hunter shows idle, has crossbow & quiver but no bolts, military ammo screen shows bolts assigned. (I am not home right now, can't check the stocks menu. I do have a bookkeeper @ full precision.)
 - Toggling hunting didn't help--turn it off, let him put equipment back, toggle on, he gets crossbow & quiver but not bolts.
 - Clearing hunter ammo from military ammo screen & re-adding it doesn't help by itself; hunter still shows idle. I tried waiting a good while, still idle.
 - Toggling hunting off after clearing the ammo, then toggling back on, did help. (I didn't have to wait for him to put equipment away, just to start heading off to the stockpile to do so, then turned hunting back on.)
 - He gets his bolts and goes and hunts
 - When he runs out of bolts, this whole thing repeats. Won't get new bolts until I clear the military ammo screen & re-add bolts for hunters, and also toggle hunting off on him til he starts to put equipment away, then toggle back on. At which point he will go hunt until the new set of bolts runs out, then this whole thing repeats again.
Logged

Hyndis

  • Bay Watcher
    • View Profile
Re: Is this a known hunter getting ammo bug, or am I doing something wrong?
« Reply #5 on: February 12, 2020, 02:59:26 pm »

Do you have any bolts within quivers in stockpiles?

Dwarfs can pick up a quiver, fill it with bolts, and then put down the quiver for some reason (typically due to changing jobs or changing military uniforms). However when they put down the quiver it still may have bolts.

If those specific bolts are selected by the hunter or marksdwarf and the hunter or marksdwarf already has a quiver equipped they will not be able to pick up those bolts in a quiver in a stockpile. The dwarf will not pick up any other bolts, either. They'll just be stuck without ammo.

The fix for this is to go through your stocks menu or your finished goods stockpile for quivers. Check to see if any quivers have bolts within them. If so, mark the bolts for dumping. Have a dumping stockpile right next to your quivers so the dwarves don't need to walk far.

Your dwarves will empty out the full quivers from storage. Unforbid the bolts and your hunters/markdwarves will load up ammo.

If I recall, this bug has been around since 2014. Way back when it used to be that hunters and marksdwarves didn't actually need quivers. They would equip quivers if some were available, but without quivers they would just hold the bolts in their hand. Ever since quivers became required equipment this bug has existed.

I think a possible workaround might be to have no stockpiles with bins to accept quivers. Only non-binned stockpiles can accept quivers. I believe this forces a dwarf to drop the quiver and then drop the bolts separately, thereby ensuring that the bolts won't be locked away and inaccessible, blocking another dwarf from obtaining ammunition.
Logged