View Issue Details
|ID||Project||Category||Date Submitted||Last Update|
|0020883||AI War 2||[All Projects] Bug - Gameplay||Jan 1, 2019 2:23 am||Feb 8, 2019 10:21 am|
|Product Version||0.809 Divide By Human|
|Fixed in Version|
|Summary||0020883: Eye doesn't lose invulnerability properly; LongRangePlanning didn't run|
|Description||Here 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.
|Tags||No tags attached.|
Jan 1, 2019 2:23 am
eye invul bug.save (2,195,057 bytes)
eye invul bug.savemet (49 bytes)
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
|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|