2025-06-25 22:08 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001130Spring engineGeneralpublic2008-10-14 19:45
Reportermomfreeek 
Assigned ToKloot 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.77b3+svn 
Target VersionFixed in Version 
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
Attached Files

-Relationships
duplicate of 0001120resolvedKloot Aircraft fuel is not working 
+Relationships

-Notes

~0002868

imbaczek (reporter)

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

~0002886

Kloot (developer)

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.

~0002888

Kloot (developer)

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 ;)
+Notes

-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
+Issue History