View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0021481 | AI War 2 | Bug - Gameplay | Aug 9, 2019 7:09 pm | Aug 10, 2019 2:20 am | |
Reporter | wm46 | Assigned To | BadgerBadger | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.880 Belatedly Finding Friends... And Enemies | ||||
Fixed in Version | 0.881 AI Neighborhood Watch | ||||
Summary | 0021481: Coarse background simulation causes ships to appear in the wrong location when using wormholes | ||||
Description | If a ship enters a wormhole when you are not looking at the destination planet, the ship will instead appear at the location of the entrance wormhole, but on the other planet. Essentially the decollision / wormhole bug from 50 or so patches ago. | ||||
Tags | No tags attached. | ||||
has duplicate | 0021487 | resolved | BadgerBadger | Ships going through wormhole will warp to opposite end of planet if player is not watching. |
|
So if you order ships to go through the wormhole, and switch your view to the destination before they reach it, they will warp just fine. If you keep your view on the same planet, or a completely different one, they will appear in the wrong place, and then get a move order to move back to the wormhole. |
|
My fix for that was to put in a check in GameEntity_Squad to say + //the decollision code can race with wormhole traversal code, causing ships to teleport unexpectedly when entering a new planet. + //only handle decollision stuff after the ships have moved + if ( this.SecondsSinceEnteringThisPlanet > 0 ) + this.Inner_CheckForPlannedMove(); If this is the same bug then perhaps this check is no longer adequate. Perhaps going through a wormhole should set a "This unit is not eligible for decollision" flag or something, which is unset on the next sim-step? |
|
Fixed. When going through a wormhole, the entity discards information from the Movement Planning/Decollision threads so as to not see stale move requests pertaining to the position on the previous planet |
Date Modified | Username | Field | Change |
---|---|---|---|
Aug 9, 2019 7:09 pm | wm46 | New Issue | |
Aug 9, 2019 7:11 pm | wm46 | Note Added: 0052515 | |
Aug 9, 2019 7:57 pm | BadgerBadger | Note Added: 0052517 | |
Aug 9, 2019 7:58 pm | BadgerBadger | Note Edited: 0052517 | |
Aug 9, 2019 8:49 pm | BadgerBadger | Assigned To | => BadgerBadger |
Aug 9, 2019 8:49 pm | BadgerBadger | Status | new => resolved |
Aug 9, 2019 8:49 pm | BadgerBadger | Resolution | open => fixed |
Aug 9, 2019 8:49 pm | BadgerBadger | Fixed in Version | => 0.881 AI Neighborhood Watch |
Aug 9, 2019 8:49 pm | BadgerBadger | Note Added: 0052518 | |
Aug 10, 2019 2:07 am | BadgerBadger | Note Edited: 0052518 | |
Aug 10, 2019 2:20 am | BadgerBadger | Relationship added | has duplicate 0021487 |