View Issue Details

IDProjectCategoryView StatusLast Update
0011344Dwarf FortressLegends Mode -- Generalpublic2020-02-13 01:16
ReporterKromtec Assigned ToToady One  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version0.47.02 
Fixed in Version0.47.03 
Summary0011344: In the "attacked site" event, the defender can also be the mercenaries that are hired by the attackers
DescriptionExample:
    <historical_event>
        <id>84082</id>
        <year>105</year>
        <seconds72>16800</seconds72>
        <type>attacked site</type>
        <attacker_civ_id>79</attacker_civ_id>
    ---> <defender_civ_id>456</defender_civ_id>
    ---> <site_civ_id>456</site_civ_id>
        <site_id>265</site_id>
        <attacker_general_hfid>1761</attacker_general_hfid>
        <defender_general_hfid>5426</defender_general_hfid>
    ---> <attacker_merc_enid>456</attacker_merc_enid>
    </historical_event>

The Striteful Palisade are Defenders, SiteEntity and AttackerMercenaries...

In DF Legends Mode:
In the early spring of 105, The Hate of Light attacked The Striteful Palisade at Snarlinghailed. The goblin Snodub Hexautumns the Fluke of Persuaders led the attack, and the defenders were led by the dwarf Kogsak Theatermountain. The Striteful Palisade were hired by the attackers.
TagsNo tags attached.

Activities

Kromtec

2020-02-09 02:25

reporter   ~0039970

The "field battle" event has the same issue and in "battle" eventcollections the same historical figures can be in <attacking_hfid> and <defending_hfid>, so it seams there is a fundamental problem.

Toady One

2020-02-13 01:16

administrator   ~0040038

Ha ha, there were a few non-xml problems here, and I've cleaned them up for next time. Could even get mummies and tomb-builders fighting over who controls the zombies (and sending them against themselves leading to -1,000,000,000 kills and other nonsense.)

Issue History

Date Modified Username Field Change
2020-02-09 02:00 Kromtec New Issue
2020-02-09 02:25 Kromtec Note Added: 0039970
2020-02-13 01:16 Toady One Note Added: 0040038
2020-02-13 01:16 Toady One Status new => resolved
2020-02-13 01:16 Toady One Fixed in Version => Next Version
2020-02-13 01:16 Toady One Resolution open => fixed
2020-02-13 01:16 Toady One Assigned To => Toady One