2024-04-25 08:45 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005079Spring engineGeneralpublic2016-02-10 21:04
ReporterJools 
Assigned ToKloot 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusresolvedResolutionfixed 
Product Version100.0+git 
Target VersionFixed in Version 
Summary0005079: Some aircraft have trouble landing
DescriptionAircraft other than fighter type (= construction and gunship type aircraft) have trouble landing even though they are set to "Land".

There is a gadget that implements a custom command for aircraft, which can set their CMD.IDLEMODE to either 'Fly' or 'Land'. However, I think 'Land' is still the default.

The way to actually make these aircraft land is to toggle this CMD.IDLEMODE behaviour, usually they will land if you toggle it once. But not always. Also applies to seaplanes landing on/under water.
Steps To ReproduceThe sequence of unit script callins is as follows:

(aircraft flies normally, given land order)
[f=0001622] Deactivated() called for unitID:, 26080, arm_brawler
[f=0001623] StoppedMoving called for unitID:, 26080, arm_brawler
[f=0001624] Activated() called for unitID:, 26080, arm_brawler

After a manual toggle, when the plane lands successfully, it looks like this:
[f=0001917] StoppedMoving called for unitID:, 26080, arm_brawler
[f=0001982] StartMoving called for unitID:, 26080, arm_brawler <== fly mode
[f=0002059] Deactivated() called for unitID:, 26080, arm_brawler <== land mode
[f=0002060] StoppedMoving called for unitID:, 26080, arm_brawler
[f=0002109] StoppedMoving called for unitID:, 26080, arm_brawler

The sequence for a seaplane that gets stuck trying to land is like this:
[f=0002618] StartMoving called for unitID:, 22872, arm_albatross
[f=0002832] Deactivated() called for unitID:, 22872, arm_albatross
[f=0002833] StoppedMoving called for unitID:, 22872, arm_albatross
[f=0002834] Activated() called for unitID:, 22872, arm_albatross
[f=0003070] StoppedMoving called for unitID:, 22872, arm_albatross

Additional InformationPlanes look like this when they get stuck: http://imgur.com/xYVcGTc

I can create a working replay if needed...
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0015725

Anonymous (viewer)

Fix 788c804e1e407fc1506036c308f40df948fb4c2e committed to develop branch: fix 0005079, repo: spring changeset id: 6605
+Notes

-Issue History
Date Modified Username Field Change
2016-02-10 17:59 Jools New Issue
2016-02-10 17:59 Jools File Added: infolog.txt
2016-02-10 20:50 Kloot Assigned To => Kloot
2016-02-10 20:50 Kloot Status new => assigned
2016-02-10 21:04 Changeset attached => spring develop 788c804e
2016-02-10 21:04 Anonymous Note Added: 0015725
2016-02-10 21:04 Anonymous Status assigned => resolved
2016-02-10 21:04 Anonymous Resolution open => fixed
+Issue History