Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001016Dwarf FortressDwarf Mode -- Justicepublic2010-04-11 15:342015-07-08 09:45
Toady One 
normalminorhave not tried
0001016: Captain of the guard performs beating with combat weapon.
Today I had one of my nobles ending a mandate and sentencing a random dwarf to beating. Instead of beating him unarmed, my captain of the guard attacked him with his (+bronze battle axe+), naturally hacking him in parts. That's obviously not an intended behaviour.
Have your captain of the guard use any weapon, wait for some dwarf to be sentenced to a beating.
captain of the guard, Fixed in 0.40.01?, justice, weapon
related to 0005172new  Hammering gets downgraded to beating if no restraint (rope/chain) has been built 
related to 0005437new  Cancellation spam when Guard Captain and Hammerer are same dwarf: "cancels beating, invalid officer" 
related to 0001451confirmed Dwarfu Military equipment interferes with civilian equipment (picks/axes/crossbows/quivers) 
related to 0002907new  Justice beatings frequently cause death via compound fracture of the skull 
related to 0001443confirmed Footkerchief Former guards continue to beat criminals 
related to 0005038new  Hammerer with attached named crossbow weapon beats prisoner forever 
related to 0005436new  Beaten criminal keeps job designation, doesn't move on 
related to 0005203new  Dwarf dying from justice beating generates a "has been found dead" report 
related to 0005300new  "No weapon for execution" when Hammerer is in military squad 
related to 0005574new  Spam when Sheriff/Hammerer tries to mete out justice: "cancels Handle Large Creature: Animal inaccessible" 
related to 0005532resolved Footkerchief dwarf punches criminal instead of using a weapon 
Issue History
2010-04-11 15:34ZasNew Issue
2010-09-20 07:52QuietustNote Added: 0012839
2010-09-20 11:44hyndisNote Added: 0012841
2010-09-20 13:46kwielandNote Added: 0012844
2010-09-20 15:15KennelTag Attached: captain of the guard
2010-09-20 15:15KennelTag Attached: justice
2010-09-20 15:15KennelTag Attached: weapon
2010-09-20 16:30hyndisNote Added: 0012846
2010-10-10 11:42Q.T.QuazarNote Added: 0013300
2010-11-21 12:32FootkerchiefRelationship addedrelated to 0002907
2011-04-09 08:32FootkerchiefRelationship addedrelated to 0001443
2012-02-01 09:47DwarfuRelationship addedrelated to 0005038
2012-03-05 09:00FootkerchiefRelationship addedrelated to 0005172
2012-03-05 09:00FootkerchiefRelationship addedrelated to 0005437
2012-03-05 09:00FootkerchiefRelationship addedrelated to 0005436
2012-03-05 09:01FootkerchiefRelationship addedrelated to 0005203
2012-03-05 09:05FootkerchiefRelationship addedrelated to 0005300
2012-03-05 09:05FootkerchiefRelationship addedrelated to 0001451
2012-03-07 17:12FootkerchiefRelationship addedrelated to 0005574
2012-10-17 09:13QuietustNote Added: 0023663
2012-10-17 09:21QuietustNote Edited: 0023663bug_revision_view_page.php?bugnote_id=0023663#r8834
2014-02-06 09:09FootkerchiefTag Attached: Fixed in 0.34.12?
2014-07-07 22:23FootkerchiefTag RenamedFixed in 0.34.12? => Fixed in 0.40.01?
2015-07-08 07:38Larix2Note Added: 0032860
2015-07-08 08:34Larix2Note Edited: 0032860bug_revision_view_page.php?bugnote_id=0032860#r13195
2015-07-08 09:42lethosorRelationship addedrelated to 0005532
2015-07-08 09:45lethosorNote Added: 0032861
2015-07-08 09:45lethosorStatusnew => resolved
2015-07-08 09:45lethosorFixed in Version => 0.34.01
2015-07-08 09:45lethosorResolutionopen => fixed
2015-07-08 09:45lethosorAssigned To => Toady One

2010-09-20 07:52   
Back in 40d and earlier, there was a creature flag for "suppress wield for beatings/etc" that was specifically used by fortress guards when beating criminals; presumably, that flag is either no longer being set during beatings or is no longer being checked during attacks.
2010-09-20 11:44   
Seeing this as well in 31.12. Even with no quality wooden training weapons there are surprisingly large numbers of deaths from brains being bashed in.

I find that its easier to just leave the captain of the guard position empty, and you can ignore mandates.
2010-09-20 13:46   
Isn't this why The Hammerer had his hammer forbidden upon entering the fort in 40d?
2010-09-20 16:30   
Yes it is.

Unfortunately due to the way combat works now its still possible to brain a dwarf with even a no-quality wooden training weapon, and for some reason legendary blacksmiths have very thin skulls. :(
2010-10-10 11:42   
I had this a couple days ago in either 31.15 or 31.16. Same weapon too, bronze axe. One stroke, and so much for my jack-of-all-trades.
2012-10-17 09:13   
(edited on: 2012-10-17 09:21)
There are reports that this is no longer happening in version 0.34.11, but they haven't yet been confirmed - said reports consisted of criminals dying to a single punch to the head rather than a weapon strike, though it's possible the non-weapon use was voluntary (i.e. opportunity strike) rather than forced.

Independent testing, however, has confirmed that the "suppress wield" unit flag does still work correctly (at least in Arena mode, even with aimed attacks), though it also reveals the oddity that beatings are permitted to make use of bite attacks in addition to stance strike attacks (kicks) and grasp strike attacks (punches and nail scratches).

2015-07-08 07:38   
(edited on: 2015-07-08 08:34)
In the interest of clearing up whether that bug still exists (reported fixed for .34.11, but still presented as extant in forum rumours and on the wiki), i offer a testing save:

http://dffd.bay12games.com/file.php?id=10980 [^]

The justice screen has over a hundred old cases, and my test conviction triggered a beating. The captain of the guard definitely sheathed her steel shortsword for the beating and returned it to her hand when she went back to individual training. This strongly suggests the bug has been fixed (years ago, probably). Further beatings should be easy enough to produce by further convictions.

The test beating can be viewed in the latest combat reports.

Edit: further reference - in fact, ticket 0005532 reports the _fix_ as bug (armed guards "fail" to use weapons to issue beating), for .34.04. Unless someone manages to show repeatable weapon-beatings in .34+ (with conditions to actually have them), this bug should be considered fixed.

2015-07-08 09:45   
Thanks! I'll mark this as fixed in 0.34.01, unless anyone cares to track down the version where it was fixed. As usual, please PM a manager on the forums if you can reproduce this issue in 0.40.24+.