Prevented events during exit cutscene from invalidating rating, fixes #1
Prevent targets noticing kills from invalidating SA irredeemably, fixes #2
Recognise contract creation mode to prevent crashing, fixes #3
New handling of body found events, fixes #4
For general SA tracking, everything seems to be in working order. However, precise statistics are still not 100% accurate in all situations as the game reports many events in a weird and inconsistent manner.
Changes:
'Always on-top' enabled by default.
Known issues:
There are still many edge-cases where found bodies are not correctly reported by the game unless they directly affect SA. For example, if an accident and a suspicious body are found together, the game may report the ID of the accident body NPC as being the suspicious body, causing Stealthometer to consider them already counted. This does not affect SA as the right events are still being caught, but affects 'Body Found' counting as the same body is not counted more than once. Currently Stealthometer is showing how the game actually works behind the scenes, but it will probably be more useful for it to be more accurate on how many bodies would still be seen if there was one less body, etc.
Kalmer'd/sedated bodies may not always be counted, as the game does not always send AccidentBodyFound for these.
TODO:
More research needed on certain edge-cases, such as NPCs who get killed by other NPCs or commit suicide in such a way that the player is not credited/penalised for the kill. Stealthometer will likely not recognise the NPCs as having been killed, thus won't recalculate the score if they were witnesses.
Start listening to BodyFound events, and using the information provided by those in case AccidentBodyFound or MurderedBodySeen is not sent by the game.
Decide how to report NPCs that have been awoken and found KO'd or killed a second time.
Check for edge-cases with 'No Noticed Kills' to be certain that the bonus is irrelevant (as it only seems to invalidate in tandem with 'Never Spotted').
More Freelancer-specific testing. May need to test Patient Zero to ensure infected aren't to be treated differently as targets.
Fixes:
For general SA tracking, everything seems to be in working order. However, precise statistics are still not 100% accurate in all situations as the game reports many events in a weird and inconsistent manner.
Changes:
Known issues:
AccidentBodyFound
for these.TODO:
BodyFound
events, and using the information provided by those in caseAccidentBodyFound
orMurderedBodySeen
is not sent by the game.