View Issue Details

IDProjectCategoryView StatusLast Update
0003612Dwarf FortressCivilizations/Entities -- Generalpublic2014-01-17 10:39
Reporteruser1294Assigned ToToady One  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.31.17 
Fixed in Version0.31.20 
Summary0003612: Banditry default leads to rampant dwarf/elf banditry
DescriptionAccording to Toady, bandits should mostly consist of humans, goblins, and kobolds, as per this post ( http://www.bay12forums.com/smf/index.php?topic=60554.msg1682438;topicseen#msg1682438 ). However, in pretty much all worlds I have genned, dwarves and elves have just as strong a presence among the bandits as those races, often creating bands that rival or surpass even goblin bands. A five year test world definitely showed that these bands do turn up without any mountain home or forest retreat being conquered, and adding [BANDITRY:1] to both entities definitely dialed the size and number of those bands down, from 98 (mostly elves, so maybe the banditry default is random, or the elves just have that many people) out of 182 bandits to 15 out of 151 bandits.
Steps To ReproduceExport the general info of any generated world and check the site file for the population of all camps.
TagsProbable Quick Fix

Relationships

related to 0003071 resolvedToady One All hardcoded materials (glass etc) have uninitialized MAX_EDGE and ABSORPTION and crappy yield/fracture/strain values 

Activities

Glanzor

2010-11-19 03:50

reporter   ~0014005

I've genned several worlds in the new versions and I've almost never seen any dwarven or elven bandits. Are you sure you haven't modded your game?

user1294

2010-11-19 05:42

  ~0014008

I keep all my mods separate from the vanilla install, and until I noticed this behavior, I didn't touch the banditry tags. Also, whatever modifications I make to the vanilla raws for testing, I undo.

It's definitely there in my 31.17/18 worlds, but as mentioned there may be a random component. Maybe like some glass raw values, the banditry number is uninitialized. Did you ex(p)ort the general info to make sure that there are no dwarven and elven bandits in your world?

Quietust

2010-11-19 05:54

reporter   ~0014009

Last edited: 2010-11-19 06:00

A bit of memory probing and debugging seems to indicate that the BANDITRY value is never initialized, so if you don't specify it it'll end up with a quasi-random value, making this pretty much the same kind of bug as 0003071.

When I started the game and immediately generated a world, the values happened to all start at zero, though once I tried generating a second world the values were all over the place (Dwarves ended up with [BANDITRY:226], and Elves ended up with [BANDITRY:863490056]).

Adding [BANDITRY:0] to the other entities should fix the problem for now.

Issue History

Date Modified Username Field Change
2010-11-14 12:29 user1294 New Issue
2010-11-16 13:42 user6 Category Civilizations/Entities => Civilizations/Entities -- General
2010-11-19 03:50 Glanzor Note Added: 0014005
2010-11-19 05:42 user1294 Note Added: 0014008
2010-11-19 05:54 Quietust Note Added: 0014009
2010-11-19 06:00 Quietust Note Edited: 0014009
2010-11-19 06:48 user6 Relationship added related to 0003071
2010-11-19 06:48 user6 Tag Attached: Probable Quick Fix
2011-03-03 03:56 Toady One Status new => resolved
2011-03-03 03:56 Toady One Fixed in Version => 0.31.20
2011-03-03 03:56 Toady One Resolution open => fixed
2011-03-03 03:56 Toady One Assigned To => Toady One