View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002630 | FSSCP | SEXPs | public | 2012-03-12 23:13 | 2012-05-02 11:37 |
Reporter | Yarn | Assigned To | Goober5000 | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x64 | OS | Windows 7 | ||
Product Version | 3.6.14 RC5 | ||||
Summary | 0002630: Distance operator broken in wing arrival cues | ||||
Description | Whenever the distance operator is part of a wing arrival cue, contains a waypoint, and is executed at the beginning of a mission, its return value is capped at 500. This can cause wings to be present at the beginning of missions when they shouldn't. An example of this can be found in Sync's "To Run from Death...": the enemy bombers are supposed to arrive later on, not at the beginning. | ||||
Steps To Reproduce | The attached mission demonstrates this bug. The Leviathan in the mission will go to a waypoint that is 3,000 meters away. Nephilim 1, which is part of a wing, is supposed to arrive when the distance between the Leviathan and its waypoint is less than 501 meters. However, because of this bug, the Nephilim is present when the mission starts. | ||||
Additional Information | This bug was introduced in the August 30, 2011 Nightly build. | ||||
Tags | No tags attached. | ||||
|
|
|
The most likely culprit would be my dynamicization of waypoints, which was committed that day. |
|
The true problem had nothing to do with capping anything at 500, or even the distance sexp itself. It was merely the sexp system attempting to refer to a waypoint before it was created in-game, and thereby getting (0, 0, 0). Good narrowing of the date of addition though, as well as providing a test mission. Both of those really saved me time hunting down the cause. |
|
Fix committed to trunk@8670. |
|
Fix committed to fs2_open_3_6_14@8736. |
fs2open: trunk r8670 2012-04-13 03:01 Ported: N/A Details Diff |
fix for Mantis 0002630 (LUA is not mentioned, but the problem might affect that too) |
Affected Issues 0002630 |
|
mod - /trunk/fs2_open/code/parse/sexp.cpp | Diff File | ||
mod - /trunk/fs2_open/code/parse/lua.cpp | Diff File | ||
fs2open: fs2_open_3_6_14 r8736 2012-05-02 07:38 Ported: N/A Details Diff |
Backport: Trunk r8670; fix for Mantis 0002630 (LUA is not mentioned, but the problem might affect that too) |
Affected Issues 0002630 |
|
mod - /branches/fs2_open_3_6_14/code/parse/sexp.cpp | Diff File | ||
mod - /branches/fs2_open_3_6_14/code/parse/lua.cpp | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-03-12 23:13 | Yarn | New Issue | |
2012-03-12 23:13 | Yarn | File Added: WaypointTest.zip | |
2012-04-09 00:48 | Goober5000 | Assigned To | => Goober5000 |
2012-04-09 00:48 | Goober5000 | Status | new => assigned |
2012-04-09 00:48 | Goober5000 | Note Added: 0013461 | |
2012-04-13 06:59 | Goober5000 | Note Added: 0013462 | |
2012-04-13 07:00 | Goober5000 | Changeset attached | => fs2open trunk r8670 |
2012-04-13 07:00 | Goober5000 | Note Added: 0013463 | |
2012-04-13 07:00 | Goober5000 | Status | assigned => resolved |
2012-04-13 07:00 | Goober5000 | Resolution | open => fixed |
2012-05-02 11:37 | niffiwan | Changeset attached | => fs2open fs2_open_3_6_14 r8736 |
2012-05-02 11:37 | niffiwan | Note Added: 0013508 |