View Issue Details

IDProjectCategoryView StatusLast Update
0001130Spring engineGeneralpublic2008-10-14 19:45
Reportermomfreeek Assigned ToKloot  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.77b3+svn 
Summary0001130: Aircraft fuel still has problems
DescriptionAircraft now return to refuel on attack orders, but if there is no unreserved airpad they will still fly aimlessly around their target.

Behaviour in 0.76 was to go and land next to an airpad and wait until a pad is free. This behaviour is essential for working bombers.
Additional InformationContinuation of bug: http://spring.clan-sy.com/mantis/view.php?id=1120
I don't have permission to reopen.
TagsNo tags attached.
Checked infolog.txt for Errors

Relationships

duplicate of 0001120 resolvedKloot Aircraft fuel is not working 

Activities

imbaczek

2008-10-14 09:46

reporter   ~0002868

noticed that you checked out 1120, but have you tested an svn build?

Kloot

2008-10-14 16:38

developer   ~0002886

The problem here is that (in the case of an attack-ground order) CUnit::userAttackGround is reset to true after RefuelIfNeeded() makes it false, which instructs the movetype to just continue UpdateAttack()'ing instead of UpdateFlying() to the new landing position near the pad. For attack orders that were parameterized by a unit ID something similar is going on.

Kloot

2008-10-14 19:45

developer   ~0002888

Last edited: 2008-10-14 19:45

As far as I can tell the old behavior is now restored in full. Due to the complexity of the movetype I may have introduced new bugs though, so please test if you can find the time ;)

Issue History

Date Modified Username Field Change
2008-10-14 05:59 momfreeek New Issue
2008-10-14 09:45 imbaczek Relationship added duplicate of 0001120
2008-10-14 09:45 imbaczek Status new => closed
2008-10-14 09:45 imbaczek Resolution open => no change required
2008-10-14 09:46 imbaczek Status closed => feedback
2008-10-14 09:46 imbaczek Resolution no change required => reopened
2008-10-14 09:46 imbaczek Note Added: 0002868
2008-10-14 16:38 Kloot Note Added: 0002886
2008-10-14 19:45 Kloot Note Added: 0002888
2008-10-14 19:45 Kloot Status feedback => resolved
2008-10-14 19:45 Kloot Resolution reopened => fixed
2008-10-14 19:45 Kloot Assigned To => Kloot