View Issue Details

IDProjectCategoryLast Update
0020018AI War 2Bug - GameplayAug 29, 2018 10:10 pm
ReporterOvalcircle Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.761 A Badger And A Puffin 
Fixed in Version0.763 Supersized Ship Caps 
Summary0020018: Hunter fleet shooting flak at nothing. No enemies on planet.
DescriptionThis persists through exiting the whole game and starting it up again. I noticed a ship was shooting something on the AI home world, which the behavior continued on the next planet. Not sure what is being shot.

Just go to Cathay on the top right. (you should already be there.) Look at the top of the gravity well. A ship will be shooting at nothing.
TagsNo tags attached.

Activities

Ovalcircle

Aug 28, 2018 9:09 pm

reporter  

Ovalcircle

Aug 28, 2018 9:11 pm

reporter   ~0048427

Here are some screenshots of it happening on the homeworld. Notice the shots at the top.
20180828210355_1.jpg (183,174 bytes)   
20180828210355_1.jpg (183,174 bytes)   
20180828210357_1.jpg (183,170 bytes)   
20180828210357_1.jpg (183,170 bytes)   
20180828210415_1.jpg (187,588 bytes)   
20180828210415_1.jpg (187,588 bytes)   
20180828210354_1.jpg (183,459 bytes)   
20180828210354_1.jpg (183,459 bytes)   

RocketAssistedPuffin

Aug 28, 2018 9:16 pm

reporter   ~0048428

Can confirm, had this myself with MLRS Corvettes. Constantly shooting at something also at the top part of the screen. It terminated just before the asteroid belt, almost exactly at a wormhole. Save is unusable from older version.

Chris_McElligottPark

Aug 29, 2018 10:10 pm

administrator   ~0048574

Thank you so much for this!!

* As sometimes happens with multithreading issues, we're not really sure WHY this was happening, but we know that it was and we're pretty positive we fixed it.
** Basically, ships could wind up being told to autotarget ships that were on the wrong planet, and then would shoot at them. This led to many odd behaviors, as well as a lot of wasted CPU.
** This may have mostly been from ships moving between planets, it's hard to say; in those instances, it now recognizes the disconnect and simply stops targeting the ship that's now on another planet. This is a valid case that gets done away with.
** The other issues may have been some cross-thread mixing of array data somehow, and we've simply rearranged the code some to try to prevent that sort of thing. That seems to have worked, although we weren't super successful actually catching it in the act anyway. At least it's easier to read, now, either way.
** We're also no longer persisting ship autotargeting data to disk, although we are still persisting it across network syncs (of course). This should make savegames a slight bit smaller in some cases.
** Anyhow, this may have been one performance issue in certain long-running savegames, we're not sure. It's an improvement, either way.

Issue History

Date Modified Username Field Change
Aug 28, 2018 9:09 pm Ovalcircle New Issue
Aug 28, 2018 9:09 pm Ovalcircle File Added: Hunter shhoting nothing on cathay.save
Aug 28, 2018 9:09 pm Ovalcircle File Added: Hunter shhoting nothing on cathay.savemet
Aug 28, 2018 9:11 pm Ovalcircle File Added: 20180828210355_1.jpg
Aug 28, 2018 9:11 pm Ovalcircle File Added: 20180828210357_1.jpg
Aug 28, 2018 9:11 pm Ovalcircle File Added: 20180828210415_1.jpg
Aug 28, 2018 9:11 pm Ovalcircle File Added: 20180828210354_1.jpg
Aug 28, 2018 9:11 pm Ovalcircle Note Added: 0048427
Aug 28, 2018 9:16 pm RocketAssistedPuffin Note Added: 0048428
Aug 28, 2018 9:53 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Aug 28, 2018 9:53 pm Chris_McElligottPark Status new => assigned
Aug 29, 2018 10:10 pm Chris_McElligottPark Status assigned => resolved
Aug 29, 2018 10:10 pm Chris_McElligottPark Resolution open => fixed
Aug 29, 2018 10:10 pm Chris_McElligottPark Fixed in Version => 0.763 Supersized Ship Caps
Aug 29, 2018 10:10 pm Chris_McElligottPark Note Added: 0048574