View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0021199 | AI War 2 | Bug - Gameplay | May 10, 2019 10:47 am | Aug 7, 2019 4:20 pm | |
Reporter | trillioneyes | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | BETA 0.858 Hotfix: The Lobby... Ate My Galaxy? | ||||
Fixed in Version | 0.879 Many Fixes and the Tutorial Rework Starts | ||||
Summary | 0021199: Ships getting stuck on forcefields | ||||
Description | My agile cursed golem ark on Arora is next to a force field and seems to be stuck. Also, it's already dead in this save file, but a couple raid frigates were there a moment ago too. Destroying AI units on the planet using the debug command frees the ark. This save was created in 0.853. | ||||
Tags | No tags attached. | ||||
related to | 0021362 | resolved | Chris_McElligottPark | Flagship cannot move |
related to | 0021450 | resolved | Chris_McElligottPark | Fleet stuck on ForceField |
|
|
|
Yup, definitely stuck |
|
Well, I was about to try to tackle this, but when I load the save all ships just phase right through shield generators. If someone can get me a save that works, that'd be great. |
|
Changing the distance from forcefield check to forbid approximations makes this not occur. No idea how much of a performance hit that is. My other option is to compare the forcefield push back location to the entity's current location and if they're the same, redo the calculation with even more push back. The downside to option 2 is that it'll take a minimum of 2 frames (0.2 seconds) to free your ship if it gets stuck on the corners. Even then there might be cases where the increased distance is still not enough and you end up in another endless loop. |
|
I would say go for it with forbidding the approximations. Long-term, potentially we'll switch to using SIMD for this and save some substantial performance from that. It would likely perform better than the current approximations do, although it's hard to say. As it stands, going approximation-less shouldn't be a killer since we don't have lots of shield bearers or whatnot. |
|
Here's another one with a stuck flagship. |
|
WeaponMaster got it! |
Date Modified | Username | Field | Change |
---|---|---|---|
May 10, 2019 10:47 am | trillioneyes | New Issue | |
May 10, 2019 10:47 am | trillioneyes | File Added: stuck ark.save | |
May 10, 2019 10:47 am | trillioneyes | File Added: stuck ark.savemet | |
May 10, 2019 11:13 am | BadgerBadger | Assigned To | => Chris_McElligottPark |
May 10, 2019 11:13 am | BadgerBadger | Status | new => assigned |
May 10, 2019 11:13 am | BadgerBadger | Note Added: 0051575 | |
May 22, 2019 3:26 am | wm46 | Note Added: 0051714 | |
May 22, 2019 4:14 am | wm46 | Note Added: 0051715 | |
Jun 3, 2019 8:27 pm | Chris_McElligottPark | Note Added: 0051795 | |
Jun 4, 2019 8:02 pm | BadgerBadger | File Added: StuckFlagship.save | |
Jun 4, 2019 8:02 pm | BadgerBadger | Note Added: 0051844 | |
Jul 8, 2019 11:03 pm | wm46 | Relationship added | related to 0021362 |
Aug 6, 2019 6:34 pm | wm46 | Relationship added | related to 0021450 |
Aug 7, 2019 4:20 pm | Chris_McElligottPark | Status | assigned => resolved |
Aug 7, 2019 4:20 pm | Chris_McElligottPark | Resolution | open => fixed |
Aug 7, 2019 4:20 pm | Chris_McElligottPark | Fixed in Version | => 0.879 Many Fixes and the Tutorial Rework Starts |
Aug 7, 2019 4:20 pm | Chris_McElligottPark | Note Added: 0052454 |