Bay 12 Games Forum

Dwarf Fortress => DF Dwarf Mode Discussion => Topic started by: blue emu on July 18, 2021, 12:08:41 pm

Title: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: blue emu on July 18, 2021, 12:08:41 pm
Like it says on the tin.

Half of my Militia only have one iron boot on.

I have lots of iron boots.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: qualiyah on July 18, 2021, 03:13:54 pm
I've had some luck by assigning the one-boot soldiers to wear two sets of boots rather than just one. I think it basically just gives them an extra ticket in the "will this dwarf actually put his boots on" lottery--just an extra chance. This does requires you to have extra pairs of boots on hand, though, because if you assign a soldier two sets of boots, he seems to "claim" two sets of boots (thereby rendering them unwearable by anyone else), whether he's actually wearing them or not.

Make sure you have way more boots than you strictly need in any case, because I think sometimes a piece of equipment gets stuck as "claimed" long after it should have been, so it looks like you have plenty of boots, but the soldiers can't actually claim them. Sometimes just making a new batch of armor seems to help.

Sometimes, stationing the squad somewhere, then freeing them and setting the squad inactive, then making them active again, etc., a few times, can trigger them to go seek out a missing piece of equipment that they just haven't bothered to pick.

If none of those things work, you can assign a specific boot to each one-booted imbecile, rather than assigning just "metal boots" in general.

Oh, and you've probably already done this, but make sure every soldier is set to "replace clothing" rather than "wear over clothing"--if they aren't told to replace their clothing with their armor, they might already have shoes on, in which case they'll be unable to put a boot on over it.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: Thisfox on July 18, 2021, 07:53:14 pm
The "replace clothing" and "perfect match" need to be activated, or nothing works like it should.

I find I need to take the dorfs after they have been assigned gear, station them over the gear and unstation them, and do it a few times. I don't use bins for my armour (makes it easier to get the right stuff melted without cancellation spam) so I have a big room or two with binless armour scattered over the floor as far as the eye can see. I station them dorfs in the room with their armour, lock the door once they're in, unstation them, and restation them a few times. Then I let them go and unlock the door, and if I remember, do the same thing a month later. Seems to be effective. I do the same thing in the weapons room. Needless to say, don't lock them in too long, or they'll starve. Just long enough for them to cancel all other tasks and go do the task of getting sodding dressed, dammit....

Edit: I was not aware that the automatic uniform was useable. This is after assigning specific armour to each dwarf specifically, one boot, helm, and spear at a time...
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: Garfunkel on July 18, 2021, 08:18:12 pm
It's a pain but I always equip my soldiers with specific weapon and specific armour pieces. It takes a while if you do a whole squad in one go but it ensures that they are wearing what you want them to wear. Items still go missing every now and then but it's lot better than just with generic uniforms.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: Loam on July 19, 2021, 06:11:19 pm
It's a pain but I always equip my soldiers with specific weapon and specific armour pieces. It takes a while if you do a whole squad in one go but it ensures that they are wearing what you want them to wear. Items still go missing every now and then but it's lot better than just with generic uniforms.
I've always done it this way, too, and almost never* had the problems everyone else seems to have with military equipment. But as Thisfox says you have to use "replace clothing" (which, keep in mind, is a per position setting, not a per squad setting!) - otherwise currently-worn clothing may interfere.


* the one time I can recall having issues was after sending some soldiers on raids. Apparently when they left the fort their equipment reverted to "unclaimed" status, which allowed me (erroneously) to tell my other squads to wear it. So two (or more) dwarves were issued the same breastplate or greaves - but only one, of course, could wear it. Needless to say, there were a few half-naked militia wandering the fort until I wised up.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: Magistrum on July 19, 2021, 08:26:06 pm
Wait, I have not had this problem when kiting out everyone in full armor, but maybe it's because I have been using exact matches. Can anyone confirm that behavior?
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: Bumber on July 19, 2021, 08:28:43 pm
The only time my dwarves only wear one boot is when they only have one foot.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: A_Curious_Cat on July 20, 2021, 02:24:14 am
According to the “Troubleshooting” section of this wiki article (http://dwarffortresswiki.org/index.php/DF2014:Squad#Troubleshooting), the problem is caused by assigning more than one pair of something that comes in pairs to a soldier.  If the item comes in pairs, you only need to make one assignment and it’ll assign both items of a pair to the soldier.  If you assign two pairs, the soldier will only be able to wear one pair but will still “own” the other pair preventing anyone else from equipping it.

Hope that helps!
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: Moeteru on July 20, 2021, 11:21:54 am
Are you assigning dwarves to military squads using the vanilla DF interface, or are you using Dwarf Therapist?
I saw it suggested in another thread a while back that some uniform corruption issues could be caused by using Dwarf Therapist to assign squad members. I haven't tested it myself, but it might be worth looking into.

The specific type of uniform corruption I've encountered is when a single item gets allocated to two or more dwarves. One dwarf will end up wearing it while the other(s) will have that body part exposed. If you have dfhack the following lua script should output a list of all your squad members along with any parts of their uniform which have been claimed by more than one dwarf.
Spoiler (click to show/hide)
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: blue emu on July 21, 2021, 12:42:21 pm
Thanks for all the replies so far.

To clarify, I am using the DF interface, not Dwarf Therapist, to manage my squads and their equipment. I use Dwarf Therapist for info only. I have been using a custom uniform, with "replace clothing" and "wear it even when off-duty", but have not had the "exact matches" flag set.

I'll try that.

Here's the uniform I've been using (replace clothing):

For melee dwarves:

cloth shirt
metal chain mail shirt
metal breastplate
leather cloak
leather robe
cloth pants
metal greaves
metal helmet
metal gauntlets
cloth socks
metal high boots
metal melee weapon (different squads for Axe, Warhammer, Spear and Sword)

For Marksdwarves:

cloth shirt
metal chain mail shirt
leather cloak
leather robe
cloth pants
metal chain mail leggings
metal cap
metal gauntlets
cloth socks
metal high boots
metal crossbow

I don't see any problems there...
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: DwarfStar on July 21, 2021, 07:11:37 pm
Ah. Try taking off the socks. I have heard there is a known bug when you try to layer footwear in military uniforms.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: FantasticDorf on July 21, 2021, 07:36:15 pm
leather cloak
leather robe

Both of these are overkill on your uniform, which will make weapon swapping impossible ill just add by not keeping the thickness non-dense for storing shields if a dwarf wants a free-hand to throttle a opponent, or secondary weapons like a crossbow/melee vice versa. One over chainmail is usually enough to squeeze it in without removing the shirt underneath the breastplate if you get what i mean.

Exact match uniform, set a period for dwarves to be off schedule by just clearing those 3 months in a season starting left to right of spring, summer etc while maintaining them as a active squad, during this time dwarves will be thinking about upgrading their civillian clothes only passively, so you can take socks and boots off, then re-assign in hopes they'll pick up a better pair.

Typically i've not had a issue personally because i make my own soldiers kit, but it helps if you produce enough shoes of equal material (vaguely metal counts, they'll just choose what is hardest) and quality to supply demand.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: ldog on July 23, 2021, 10:15:43 pm
Most definitely the socks.
If you assigned gloves and/or mittens, you'd have problems with gauntlets too.
IIRC hoods and helmets are an issue too (if they put the helm on first in theory a hood could be worn over it)
It's because they aren't smart enough to dress themselves.
Thankfully pants/leggings/greaves and shirt/mail shirt/bp/robes/cloak don't seem to suffer from this issue.
It would be great if wear over clothes made them actually take off their pieces that conflict so they could wear some clothes and their issued helmet/gauntlets/boots.
Consequently I find wear over clothes completely useless.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: Garfunkel on July 24, 2021, 08:37:02 am
 Yeah hoods and caps conflict with helmets and socks conflict with shoes and boots. I think shirt also conflicts with armour but I'm not sure about that.

The only thing where you want overlap is breastplate & mail shirt, and then either cloak or robe. Otherwise you'll have issues.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: ldog on July 25, 2021, 10:06:23 pm
Yeah hoods and caps conflict with helmets and socks conflict with shoes and boots. I think shirt also conflicts with armour but I'm not sure about that.

The only thing where you want overlap is breastplate & mail shirt, and then either cloak or robe. Otherwise you'll have issues.

Greaves and mail leggings are ok too, although overkill (especially with high boots).
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: A_Curious_Cat on July 26, 2021, 12:29:07 am
Yeah hoods and caps conflict with helmets and socks conflict with shoes and boots. I think shirt also conflicts with armour but I'm not sure about that.

The only thing where you want overlap is breastplate & mail shirt, and then either cloak or robe. Otherwise you'll have issues.

Greaves and mail leggings are ok too, although overkill (especially with high boots).

What about cuises?

Or is the reason dwarves are short because they have no thighs?
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: ldog on July 26, 2021, 08:43:53 am
Yeah hoods and caps conflict with helmets and socks conflict with shoes and boots. I think shirt also conflicts with armour but I'm not sure about that.

The only thing where you want overlap is breastplate & mail shirt, and then either cloak or robe. Otherwise you'll have issues.

Greaves and mail leggings are ok too, although overkill (especially with high boots).

What about cuises?

Or is the reason dwarves are short because they have no thighs?

cuises? chauses? I'm not sure because I don't bother with foreign armor usually.
They have thighs, they don't have knees.

Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: A_Curious_Cat on July 26, 2021, 05:36:07 pm
Yeah hoods and caps conflict with helmets and socks conflict with shoes and boots. I think shirt also conflicts with armour but I'm not sure about that.

The only thing where you want overlap is breastplate & mail shirt, and then either cloak or robe. Otherwise you'll have issues.


Greaves and mail leggings are ok too, although overkill (especially with high boots).

What about cuises?

Or is the reason dwarves are short because they have no thighs?

cuises? chauses? I'm not sure because I don't bother with foreign armor usually.
They have thighs, they don't have knees.

Sorry, that should have been cuisses (https://en.wikipedia.org/wiki/Cuisses?wprov=sfti1).  I.e. armor for the thighs.  Greaves only cover below the knee.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: Garfunkel on July 26, 2021, 08:49:44 pm
I don't know what "greaves" means historically, but in DF they do cover entire legs and more:

(https://dwarffortresswiki.org/images/d/d8/Armor_Coverage_Chart.png)
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: ldog on July 28, 2021, 07:52:12 pm
I don't know what "greaves" means historically, but in DF they do cover entire legs and more:

Historically greaves are shin-guards.

Yeah hoods and caps conflict with helmets and socks conflict with shoes and boots. I think shirt also conflicts with armour but I'm not sure about that.

The only thing where you want overlap is breastplate & mail shirt, and then either cloak or robe. Otherwise you'll have issues.

Greaves and mail leggings are ok too, although overkill (especially with high boots).

What about cuises?

Or is the reason dwarves are short because they have no thighs?

cuises? chauses? I'm not sure because I don't bother with foreign armor usually.
They have thighs, they don't have knees.

Sorry, that should have been cuisses (https://en.wikipedia.org/wiki/Cuisses?wprov=sfti1).  I.e. armor for the thighs.  Greaves only cover below the knee.

Cuisses aren't a thing in DF. See the pretty chart posted above from DFWiki.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: Thisfox on July 29, 2021, 10:23:11 pm

That said, I've just realised that I've been melting down caps and making helms for all this time, and it actually makes no difference. Huh.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: Ziusudra on July 29, 2021, 10:30:32 pm
No, you're right to melt the caps, their [COVERAGE:50] means they only have a 50% chance of working.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: Urist9876 on August 06, 2021, 10:02:31 am
Depends on the cause of the problem.

If you are using several socks or boots in the uniform, that can mess things up.

Only specify one pair of boots when using the over clothing option. Often the boots will not be picked up until the current worn shoes are degraded and there are no alternative shoes. Caps and mittens normally prevent picking up helmets and gauntlets. Once option is to never import those, destroy all you get from sieges and let them degrade until only armor is available.

When using the uniform replaces clothing option, you can add 1 pair of socks and 1 pair of boots to the uniform. Most of the time the dwarf will wear only 1 sock and 2 boots.

It is much messier when the cause is a reclaimed fortress, where the military now only wearing a part of their armor. Messed up owner tags probably. Best is to assign a uniform without anything in it first and start over with assigning armor. Since it can take long for militia members to return after a reclaim, it is even better to remove all dwarves from the militia before resign so they do not get send on missions while you are not in control.

Armor skill is relevant for how much the dwarves are hindered by the weight of the armor. Make sure your dwarves have some armor skill before sending them into combat with multi layer armor.

I often start with the default metal armor over clothing. Dwarves will equip a chestpiece, legarmor, shield, weapon and sometimes a helmet. Whenever they get hit on a piece of clothing during sparring, they increase their armor skill. This setting also allows the dwarf to wear his jewelry, keeping some happier.

Near the end of the year I swap to armor replaces clothing. Spring is dangerous.

Archers are treated somewhat similar. However I specify no material. If there are enough metal armor pieces, they will wear them.

Contrary to some other comments , but also according to the wiki, you can wear a hood and gloves in combination with armor. A uniform I often use for the better trained dwarves:
(metal) helmet
hood
shirt
(metal) mail shirt
(metal) breastplate
cloak
gloves
(metal) gauntlets
trousers
(metal) greaves
socks (only one will be worn most of the time)
(metal) high boots
shield
melee weapon (own choice)

By double layering all body parts you will slightly increase damage absorption, but maybe just as important, reduce the risk of forgotten beast contamination during the inevitable armor swaps.

A very light armor set can be obtained by using bone armor and leather. This is mostly useful for training or when you want to circumvent clothing decay:
white helmet
(hood)
leather armor
(cloak)
white gauntlets
white leg armor
leather low boots
buckler
weapon (own choice)

As militia often let food to rot on the ground in their rooms when changing duty, do not let your militia carry food unless you need to station them for long times. A training or civilian uniform might also be better off without carried drinks.
Title: Re: Is there any fix for the "Soldiers only wear one boot" bug?
Post by: PatrikLundell on August 06, 2021, 11:39:52 am

That said, I've just realised that I've been melting down caps and making helms for all this time, and it actually makes no difference. Huh.
I believe there was a "shaped" conflict between caps and helms that was taken care of comparatively recently (0.44?).