Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001228Dwarf FortressDwarf Mode -- Militarypublic2010-04-16 03:492010-06-13 02:08
Toady One 
ASUS F81S SeriesWindows7
0001228: Crashes when I try to go 'm' menu
Dwarf Fortress crashes when I hit the 'm' key, when I try to access the military tab. I start playing on 2052 Autumn autosave, and twice I have hit the key just for it to crash. I was running Dwarf Therapist 0.5.0 (http://www.bay12games.com/forum/index.php?topic=39229.0 [^]) and Firefox 3.6.3 while running Dwarf Fortress. I don't know what triggered the crash, as I've been to the military tab several times before.
This has only occurred twice, and both after 2052 autumn came ("It is now Autumn"). I hit the 'm' key and it crashes.
crash, military screen
has duplicate 0001884closed Logical2u Millitary screen crash 
child of 0000378resolved Toady One Crash when selecting specific squad in military screen (daggers) 
Issue History
2010-04-16 03:49PhillyCSNew Issue
2010-04-16 04:25Jiri PetruNote Added: 0003825
2010-04-16 08:48FootkerchiefRelationship addedchild of 0000378
2010-04-16 09:00KennelTag Attached: crash
2010-04-16 09:00KennelTag Attached: military screen
2010-04-30 23:34PhillyCSNote Added: 0005805
2010-05-01 04:53Jiri PetruNote Added: 0005810
2010-05-01 04:54Jiri PetruNote Edited: 0005810bug_revision_view_page.php?bugnote_id=0005810#r2155
2010-05-01 04:54Jiri PetruNote Edited: 0005810bug_revision_view_page.php?bugnote_id=0005810#r2156
2010-05-01 04:55Jiri PetruNote Edited: 0005810bug_revision_view_page.php?bugnote_id=0005810#r2157
2010-05-15 14:18Logical2uRelationship addedhas duplicate 0001884
2010-05-22 03:56PhillyCSNote Added: 0007168
2010-06-13 01:19Toady OneStatusnew => resolved
2010-06-13 01:19Toady OneFixed in Version => 0.31.07
2010-06-13 01:19Toady OneResolutionopen => fixed
2010-06-13 01:19Toady OneAssigned To => Toady One
2010-06-13 02:08FootkerchiefResolutionfixed => duplicate

Jiri Petru   
2010-04-16 04:25   
Try forbidding all large daggers, then wait some time till the military notices the change. See here for more info:
http://www.bay12games.com/dwarves/mantisbt/view.php?id=378 [^]
2010-04-30 23:34   
I forbid the only large dagger in my fort, but it turns out one of my legendary axedwarf is using it. He's doing the individual drills, so I don't think he'll be dropping it soon. Is there anyway for me to drop the weapon?
Jiri Petru   
2010-05-01 04:53   
(edited on: 2010-05-01 04:55)
Try (D)umping it.
But you don't actually need the dwarf to drop it - you just need the arsenal dwarf to assign a different weapon, so the dagger doesn't show in the military screen. Forbidding it and then waiting till the arsenal dwarf finishes Updating Squad Equipment should work.

EDIT: What helped others, though not myself, was to go to the Save folder > Raws > Objects > item_weapon.txt, looking up the large dagger and then changing [SKILL:DAGGER] to [SKILL:SWORD]


Anyways, this is a duplicate then.

2010-05-22 03:56   
Well, after sometime, I've decided to come back to Dwarf Fortress. I figured that if this last tip didn't work for my current save, might as well download 31.04 and make a new world on that.
So I changed [SKILL:DAGGER] [SKILL:SWORD] in the item_weapon.txt
And miraculously it worked.
Don't know why, don't know if we have the same problem, but here's another case that the fix worked. But I've only opened the save and hit the 'm' key, I'll see if it crashes later or not.