View Issue Details

IDProjectCategoryLast Update
0020883AI War 2Bug - GameplayJul 23, 2019 1:02 pm
ReporterZeusAlmighty Assigned ToBadgerBadger  
Status resolvedResolutionfixed 
Product Version0.809 Divide By Human 
Fixed in Version0.877 The Strikecraft Goldilocks Zone 
Summary0020883: Eye doesn't lose invulnerability properly; LongRangePlanning didn't run
DescriptionHere is a save that has one (or two) eyes that have lost their corresponding guardposts but are still invulnerable long afterwards

This sometimes gets cleared up on reloading so not sure how helpful it is.
TagsNo tags attached.

Relationships

related to 0020808 resolvedBadgerBadger AI Eye sometimes doesn't update invulnerability 
related to 0020919 resolvedBadgerBadger Vengeance Generator shows negative countdown 

Activities

ZeusAlmighty

Jan 1, 2019 2:23 am

manager  

eye invul bug.save (2,195,057 bytes)

BadgerBadger

Jan 1, 2019 11:55 am

manager   ~0050693

Last edited: Jan 1, 2019 11:56 am

After reloading a few times, I found one instance where the Eye on Kolodnor (sic?) didn't get its invulnerability updated. From my logging, it seeemed like the LongRangePlanning thread for the AI wasn't actually running. After some minutes though it eventually ran and the invulnerability got updated.

This isn't a bug with the External Invulnerability per se, but a threading weirdness, therefor a Chris problem.

If you reload this enough times and mess with it (pausing, changing speeds) in some random combination, you should be able to reproduce the problem.

In AI.cs::DoLongRangePlanning, you can change the bool externalInvulnerabilityDebug = false; to true to get some debug statements so you can see precisely when the thread runs

BadgerBadger

Jul 23, 2019 1:02 pm

manager   ~0052309

Fixed

Issue History

Date Modified Username Field Change
Jan 1, 2019 2:23 am ZeusAlmighty New Issue
Jan 1, 2019 2:23 am ZeusAlmighty File Added: eye invul bug.save
Jan 1, 2019 2:23 am ZeusAlmighty File Added: eye invul bug.savemet
Jan 1, 2019 11:54 am BadgerBadger Assigned To => Chris_McElligottPark
Jan 1, 2019 11:54 am BadgerBadger Status new => assigned
Jan 1, 2019 11:55 am BadgerBadger Note Added: 0050693
Jan 1, 2019 11:55 am BadgerBadger Summary Eye doesn't lose invulnerability properly => Eye doesn't lose invulnerability properly; LongRangePlanning didn't run
Jan 1, 2019 11:55 am BadgerBadger Description Updated
Jan 1, 2019 11:56 am BadgerBadger Note Edited: 0050693
Jan 2, 2019 1:18 pm BadgerBadger Relationship added related to 0020808
Feb 8, 2019 10:21 am BadgerBadger Relationship added related to 0020919
Jul 23, 2019 1:02 pm BadgerBadger Assigned To Chris_McElligottPark => BadgerBadger
Jul 23, 2019 1:02 pm BadgerBadger Status assigned => resolved
Jul 23, 2019 1:02 pm BadgerBadger Resolution open => fixed
Jul 23, 2019 1:02 pm BadgerBadger Fixed in Version => 0.877 The Strikecraft Goldilocks Zone
Jul 23, 2019 1:02 pm BadgerBadger Note Added: 0052309