View Issue Details

IDProjectCategoryView StatusLast Update
0001607Spring engineGeneralpublic2009-08-30 17:35
ReporterBug Hunter Assigned ToAuswaschbar  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.80.2.0 
Summary0001607: Own dragon teeths get reclaimed on area reclaim.
DescriptionPut some dragon teeth, issue area reclaim order, see as your dts get reclaimed.
good day.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

imbaczek

2009-08-30 11:20

reporter   ~0004024

confirmed in master

imbaczek

2009-08-30 11:28

reporter   ~0004025

the problem is with CBuilderAI.cpp:842

        if (FindReclaimTargetAndReclaim(pos, radius, c.options, true, true, recUnits, false, false)) {

the second true is recAnyTeam. the problem is, setting this to false will disable wreck reclaiming. how did it even work before? was unit team not transfered to the spawned feature?

Auswaschbar

2009-08-30 11:37

reporter   ~0004026

features.tdf:
[DragonsTeeth]
{
    ...
    autoreclaimable=0;
    ...
}

tvo

2009-08-30 11:39

reporter   ~0004027

Not sure, but I vaguely recall in past wrecks had team, but had allyteam = -1, while DT had team and allyteam set properly.

smoth

2009-08-30 11:43

reporter   ~0004028

Corpses were reclaimed but walls were not in prior versions.

dizekat

2009-08-30 11:44

reporter   ~0004029

0.79.1.2 doesn't reclaim ally DT but does reclaim any corpses all right.

Auswaschbar

2009-08-30 12:34

reporter   ~0004031

Btw, it seems not possible anymore to reclaim any dragonteeths? Or am I doing it wrong?

Auswaschbar

2009-08-30 17:35

reporter   ~0004033

resolved by implementing autoreclaim-tag

Issue History

Date Modified Username Field Change
2009-08-30 00:00 Bug Hunter New Issue
2009-08-30 11:20 imbaczek Note Added: 0004024
2009-08-30 11:20 imbaczek Status new => confirmed
2009-08-30 11:28 imbaczek Note Added: 0004025
2009-08-30 11:37 Auswaschbar Note Added: 0004026
2009-08-30 11:39 tvo Note Added: 0004027
2009-08-30 11:43 smoth Note Added: 0004028
2009-08-30 11:44 dizekat Note Added: 0004029
2009-08-30 12:34 Auswaschbar Note Added: 0004031
2009-08-30 17:35 Auswaschbar Note Added: 0004033
2009-08-30 17:35 Auswaschbar Status confirmed => resolved
2009-08-30 17:35 Auswaschbar Resolution open => fixed
2009-08-30 17:35 Auswaschbar Assigned To => Auswaschbar