View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0005076 | Spring engine | General | public | 2016-02-10 00:30 | 2016-02-10 13:10 | ||||
Reporter | Jools | ||||||||
Assigned To | hokomoko | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 100.0+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0005076: Unitscript callin StopMoving() called twice | ||||||||
Description | When a unit (plane) is landing, the callins are executed in this sequence: 1. StoppedMoving() 2. StartMoving() 3. StoppedMoving() This applies to latest dev. version -1128. In 100.0, the sequence is the following: 1. StoppedMoving() | ||||||||
Steps To Reproduce | In infolog, there is the following output: [f=0000434] [GiveUnits] spawned 1 arm_hawk unit(s) for team 0 [f=0000614] Value 1: 99, 2: 1, 3: 0, 4: 0 [f=0000614] StartMoving called for unitID:, 3711 [f=0001548] Value 1: 9, 2: 0, 3: 0, 4: 0 [f=0001548] StoppedMoving called for unitID:, 3711 [f=0001549] Value 1: 99, 2: 1, 3: 0, 4: 0 [f=0001549] StartMoving called for unitID:, 3711 [f=0001561] Value 1: 9, 2: 0, 3: 0, 4: 0 [f=0001561] StoppedMoving called for unitID:, 3711 This means: Value 1: 9 => unit script callin StartMoving() was called Value 1: 99 => unit script callin StopMoving() was called StartMoving called for unitID => function UnitStartedMoving(unitID,unitDefID,teamID) was called in gadget cobcallins.lua StoppedMoving called for unitID => function UnitStoppedMoving(unitID,unitDefID,teamID) was called in gadget cobcallins.lua | ||||||||
Additional Information | See replay: http://replays.springrts.com/replay/d571ba56ceb82ab5c8a5ecf6eb9b928a/ Script for Arm Hawk: http://pastebin.com/e6fRGsgR | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
Kloot (developer) 2016-02-10 01:09 |
confirmed: aircraft now seem to stop descending for a bit while still in the air, before dropping the rest of the way to the ground |
hokomoko (developer) 2016-02-10 13:10 |
Fix 3855c7900c82c736d89874d8e7c0ca01eadfd46e committed to develop branch: (Should) Fix 0005076, repo: spring changeset id: 6598 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-02-10 00:30 | Jools | New Issue | |
2016-02-10 00:30 | Jools | File Added: infolog.txt | |
2016-02-10 01:09 | Kloot | Note Added: 0015717 | |
2016-02-10 01:10 | hokomoko | Assigned To | => hokomoko |
2016-02-10 01:10 | hokomoko | Status | new => assigned |
2016-02-10 13:10 | hokomoko | Changeset attached | => spring develop 3855c790 |
2016-02-10 13:10 | hokomoko | Note Added: 0015719 | |
2016-02-10 13:10 | hokomoko | Status | assigned => resolved |
2016-02-10 13:10 | hokomoko | Resolution | open => fixed |