View Issue Details

IDProjectCategoryView StatusLast Update
0007736Dwarf FortressInit Optionspublic2014-08-15 05:41
ReporterQuietust Assigned ToToady One  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version0.40.05 
Fixed in Version0.40.09 
Summary0007736: Omitting STRICT_POPULATION_CAP from d_init.txt defaults it to 0
DescriptionMost init/d_init settings with numeric values have valid ranges, such that setting a value too high or too low will restrict it to that range (e.g. POPULATION_CAP has a minimum of 7 and a maximum of 1000). Such options, if not set at all, will be given a value of 0, which may not make any sense.

The most notable instance of this is STRICT_POPULATION_CAP, which defaults to 0 when not specified (which has turned out to be the case with several incorrectly-prepared "starter packs", as noted in 0007684).

Ideally, most init/d_init settings should be pre-initialized to sane values in memory.
Additional InformationAdditionally, d_init.txt should probably include the same warning present at the top of init.txt.
TagsNo tags attached.

Relationships

related to 0002922 resolvedToady One Population Cap not working 
parent of 0007684 resolveduser6 Starter Pack includes obsolete version of d_init.txt 
has duplicate 0007746 resolvedlethosor No immigrants 
has duplicate 0007988 resolveduser6 No Immigrants Arriving 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-07-30 06:53 Quietust New Issue
2014-07-30 16:07 user6 Relationship added has duplicate 0007746
2014-07-30 16:07 user6 Relationship added related to 0007684
2014-07-30 18:52 lethosor Assigned To => lethosor
2014-07-30 18:52 lethosor Status new => acknowledged
2014-08-03 09:29 lethosor Relationship replaced parent of 0007684
2014-08-13 08:40 user6 Summary Omitting init setting can result in invalid default setting values => Omitting STRICT_POPULATION_CAP causes it to default to 0
2014-08-13 08:41 user6 Relationship added related to 0007988
2014-08-13 08:41 user6 Summary Omitting STRICT_POPULATION_CAP causes it to default to 0 => Omitting STRICT_POPULATION_CAP from d_init.txt defaults it to 0
2014-08-13 08:41 user6 Status acknowledged => confirmed
2014-08-13 08:42 user6 Relationship added related to 0002922
2014-08-13 08:48 user6 Relationship replaced has duplicate 0007988
2014-08-13 10:25 Toady One Status confirmed => resolved
2014-08-13 10:25 Toady One Fixed in Version => Next Version
2014-08-13 10:25 Toady One Resolution open => fixed
2014-08-13 10:25 Toady One Assigned To lethosor => Toady One