Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002534Dwarf FortressDwarf Mode -- Militarypublic2010-07-01 08:562010-07-02 07:31
Reporterkrythorne 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version0.31.08 
Target VersionFixed in Version 
Summary0002534: Barracks don't clear up properly when [F]ree'd
DescriptionWhen a barracks is [F]ree'd the flags specifying it as a barracks AND the flags specifying which squads are training there don't get cleared - Recreate the room and it'll start with barracks as 'Y' and all squads that were set to train there before are still set up for such.

Toggling the [B]arrack flag to 'N' will also not cause the room to stop squads training there, the 'T' next to the squad name will still be there when the room is set to being a barracks again.
Steps To ReproduceBuild bedroom
Set up as barracks
Set a squad to train there, so that the 'T' appears next to the squad.
Free the room
Set the room up again, it'll immediately be set as a barracks and the 'T' is still there.
Additional InformationThis could be intentional, but given squads can just be set off duty to stop training it seems unlikely and it seems a potential cause of several other bugs if the squad is still 'remembering' the freed room as a place to train.
Tagsbarracks, Intentional/Expected?, Military
Attached Files

- Relationships
related to 0000461new Squads don't respect reassigned barracks if not active 

-  Notes
(0009468)
hyndis (reporter)
2010-07-01 11:45

Do they continue to do individaul training there?

I've had about 40 dwarves doing individual training in a barracks. I needed them to haul some roasts urgently so I freed up the barracks. With the barracks freed the dwarves all ran off to haul the roasts.

This is in 31.08. They no longer get stuck doing individual training, problem seems fixed.
(0009507)
krythorne (reporter)
2010-07-02 04:57

Sorry, I should have clarified that free'ing the room does stop training but, as stated, toggling the [B]arrack flag doesn't.

This is bug is also about the code not clearing the relevant properties/flags like it should, not about whether they get stuck doing individual training. :)

Not clearing up properly may relate to some of the other 'hiccups' in the military system or may help track them down.

- Issue History
Date Modified Username Field Change
2010-07-01 08:56 krythorne New Issue
2010-07-01 08:57 krythorne Tag Attached: Intentional?
2010-07-01 08:57 krythorne Tag Attached: barracks
2010-07-01 08:57 krythorne Tag Attached: Military
2010-07-01 11:45 hyndis Note Added: 0009468
2010-07-02 04:57 krythorne Note Added: 0009507
2010-07-02 07:31 Footkerchief Relationship added related to 0000461
2010-07-12 12:03 Footkerchief Tag Renamed Intentional? => Intentional/Expected?
2018-04-13 12:39 Huntthetroll Issue Monitored: Huntthetroll


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker