Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000266Dwarf FortressDwarf Mode -- Noblespublic2010-04-03 05:312017-11-02 15:54
Toady One 
lowminorhave not tried
x86Windows2003 Server
0000266: Multiple Militia captain positions available for militia commander
Haha, well this isn't as buggy as I thought, I just noticed that militia commander and militia captain are different positions. Every time I fill a militia captain position, another one opens up. Is this by design? Also, I can appoint the same militia commander to each new open militia captain position ad infinitum.
Open up Nobles interface screen (that needs to be a new bug category ;p)
Appoint a militia commander.
Select "militia captain", you might need a certain number of dwarves.
Keep appointing more militia captains.
related to 0000319resolved Toady One Militia commander/captain positions are assignable on the nobles screen, but silently change back 
related to 0002568resolved Dwarfu Dwarves already in squads still appear in the candidates list 
related to 0002689new  Problems with modded entities whose squad leaders have REPLACED_BY 
has duplicate 0001900closed Logical2u Nobles screen - duplicate entries 
has duplicate 0002010resolved Footkerchief disbanding militia captain nobles won't result in less slots for captains and squads 
related to 0007452resolved Toady One Replacing the squad leader creates permanent, hidden squad members 
related to 0008330assigned Footkerchief Militia captain keeps his position after his squad is disbanded 
related to 0008166needs feedback Footkerchief Cannot remove Militia Commander 
Issue History
2010-04-03 05:31axusNew Issue
2010-04-03 06:49DwarfuNote Added: 0000489
2010-04-03 06:49DwarfuTag Attached: militia
2010-04-03 06:53axusNote Added: 0000491
2010-05-16 13:49Logical2uRelationship addedhas duplicate 0001900
2010-05-21 10:10FootkerchiefRelationship addedrelated to 0000319
2010-05-21 10:10FootkerchiefRelationship addedrelated to 0002010
2010-06-15 07:51Jon-AceNote Added: 0008501
2010-06-15 07:51Jon-AceTag Attached: CLOSE THIS
2010-06-15 08:07DwarfuIssue Monitored: Dwarfu
2010-06-15 08:45FootkerchiefNote Added: 0008506
2010-06-15 08:45FootkerchiefStatusnew => resolved
2010-06-15 08:45FootkerchiefResolutionopen => no change required
2010-06-15 08:45FootkerchiefAssigned To => Footkerchief
2010-06-15 08:45FootkerchiefAssigned ToFootkerchief =>
2010-06-15 08:45FootkerchiefStatusresolved => new
2010-06-15 08:46FootkerchiefNote Edited: 0008506bug_revision_view_page.php?bugnote_id=0008506#r3243
2010-06-15 08:47FootkerchiefRelationship replacedparent of 0002010
2010-06-15 08:48FootkerchiefTag Detached: CLOSE THIS
2010-06-15 08:48FootkerchiefNote Edited: 0008506bug_revision_view_page.php?bugnote_id=0008506#r3246
2010-06-18 16:28ChickenLipsNote Added: 0008642
2010-06-18 16:33ChickenLipsNote Edited: 0008642bug_revision_view_page.php?bugnote_id=0008642#r3306
2010-06-18 16:35ChickenLipsNote Edited: 0008642bug_revision_view_page.php?bugnote_id=0008642#r3307
2010-06-18 16:47FootkerchiefNote Added: 0008644
2010-06-18 17:14ChickenLipsNote Added: 0008648
2011-02-06 15:09DwarfuResolutionno change required => open
2014-01-22 11:29FootkerchiefRelationship addedrelated to 0002568
2014-07-20 09:22FootkerchiefRelationship addedrelated to 0007390
2014-07-20 09:23FootkerchiefRelationship addedrelated to 0007452
2014-08-08 12:26FootkerchiefRelationship addedrelated to 0002689
2014-08-10 07:50FootkerchiefRelationship deletedrelated to 0007390
2014-08-24 08:06CosinusNote Added: 0029562
2014-08-24 20:38FootkerchiefRelationship replacedhas duplicate 0002010
2014-08-24 20:38FootkerchiefAssigned To => Footkerchief
2014-08-24 20:38FootkerchiefStatusnew => needs feedback
2014-09-21 17:02FootkerchiefRelationship addedrelated to 0008330
2014-09-21 17:02FootkerchiefRelationship addedrelated to 0008166
2017-11-02 15:54LociNote Added: 0036843
2017-11-02 15:54LociStatusneeds feedback => resolved
2017-11-02 15:54LociResolutionopen => fixed
2017-11-02 15:54LociAssigned ToFootkerchief => Toady One
2017-11-18 01:19DwarfuIssue End Monitor: Dwarfu

2010-04-03 06:49   
Having multiple Captains is working as intended.

Per the raw file entity_default, militia captains are [NUMBER:AS_NEEDED].

However, I don't think the same Commander is supposed to be in charge of each squad (even though he has authority over all the militia squads).
2010-04-03 06:53   
I intentionally set him as militia captain over and over. I haven't even used the actual military screen this game, maybe to look at it once.
2010-06-15 07:51   
This is by design.
2010-06-15 08:45   
(edited on: 2010-06-15 08:48)
Every time I fill a militia captain position, another one opens up

This part is by design.

I can appoint the same militia commander to each new open militia captain position ad infinitum

This is a bug. Toady just said as much at 0000536:0008492.

2010-06-18 16:28   
(edited on: 2010-06-18 16:35)
This seems like it's related to the this and/or the other issues you referenced, Foot, but I thought I'd ask here whether it is pretty much covered or should be submitted as a new issue:

Created "militia captain" squads in the M screen are still, it seems, being tied invisibly to the dwarves who were in those positions, even if they have been removed from those positions (in both the (N) and the (M) screens).

I'm guessing this because in my game I have created three militia captain squads (aside from the CG and Mil. Cmdr. squads) , and wanted to move the captain of the *third* squad to be the captain of the *first*. I noticed I could not get dwarf (A), who was previously Position 1 of Militia Captain squad 3, to appear in the list of selectable dwarves for position 1 of squad 1, even after removing her from squad 3, removing all other militia captains in the (N)obles screen, and removing her and putting her back in as the first militia captain. She just didn't show up on the list for the militia captain squad 1 or 2, no matter what, though she always shows up in the select list for position 1 of militia captain squad 3, and she does show up in the select list for positions 2+ of *all* squads.

I read over this and issue you just referenced (and a few others), but it's enough of a twist that I thought I'd bring it up and ask. The problem does survive save/reload, and I do have a save available.

So, is this just another aspect of the same thing that Toady has pretty much fixed for .07, or is this possibly a separate issue to submit?

2010-06-18 16:47   
ChickenLips: could that be 0000319?
2010-06-18 17:14   
It certainly sounds related, though I don't see them being silently restored to their former positions (at least for the a couple of weeks of game time I let it run just now to see). The positions in both the (N)obles and (M)ilitary screen remain empty, at least as shown.
2014-08-24 08:06   
This bug is no longer present in the current version (40.09)
When someone is promoted to militia captain, he is no longer part of his old squad.
I have not managed to have anyone be part of two or more squads.
2017-11-02 15:54   
v0.43.05x32: Assigning the militia commander as a captain removes him from the commander position.