View Issue Details

IDProjectCategoryLast Update
0020883AI War 2[All Projects] Bug - GameplayFeb 8, 2019 10:21 am
ReporterzeusalmightyAssigned Tox4000Bughunter 
Severityminor 
Status assignedResolutionopen 
Product Version0.809 Divide By Human 
Fixed in Version 
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 acknowledgedBadgerBadger AI Eye sometimes doesn't update invulnerability 
related to 0020919 resolvedBadgerBadger Vengeance Generator shows negative countdown 

Activities

zeusalmighty

Jan 1, 2019 2:23 am

reporter  

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

BadgerBadger

Jan 1, 2019 11:55 am

manager   ~0050693

Last edited: Jan 1, 2019 11:56 am

View 2 revisions

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

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 => x4000Bughunter
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 View Revisions
Jan 1, 2019 11:56 am BadgerBadger Note Edited: 0050693 View Revisions
Jan 2, 2019 1:18 pm BadgerBadger Relationship added related to 0020808
Feb 8, 2019 10:21 am BadgerBadger Relationship added related to 0020919