Fractal Softworks Forum
January 20, 2019, 04:31:32 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Starsector 0.9a is out! (11/16/18)
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: [0.9a] Combat Analytics v3.2 (2018-11-20)  (Read 18806 times)
Nick XR
Commander
***
Posts: 186



View Profile
« Reply #15 on: June 29, 2018, 08:35:15 PM »

Updated to .3

- Now supports Starsector 8.1a
- Fighters are now tracked as weapon systems
Logged

atreg
Ensign
*
Posts: 37


View Profile
« Reply #16 on: June 29, 2018, 09:52:19 PM »

Got a fatal null error involving this mod after my third fleet encounter.
1039936 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at data.scripts.combatanalytics.data.WeaponDamage.compareTo(WeaponDamage.java:110)
   at data.scripts.combatanalytics.data.WeaponDamage.compareTo(WeaponDamage.java:9)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.legacyMergeSort(Unknown Source)
   at java.util.Arrays.sort(Unknown Source)
   at data.scripts.combatanalytics.data.CombatResult.buildShipCombatResults(CombatResult.java:132)
   at data.scripts.combatanalytics.data.CombatResult.<init>(CombatResult.java:70)
   at data.scripts.combatanalytics.CombatAnalyticsManager.completeCombat(CombatAnalyticsManager.java:29)
   at data.scripts.combatanalytics.CombatAnalyticsModPlugin$1.reportPlayerEngagement(CombatAnalyticsModPlugin.java:43)
   at com.fs.starfarer.campaign.CampaignEngine.reportPlayerEngagement(Unknown Source)
   at com.fs.starfarer.api.impl.campaign.FleetEncounterContext.processEngagementResul ts(FleetEncounterContext.java:235)
   at com.fs.starfarer.api.impl.campaign.FleetInteractionDialogPluginImpl.backFromEng agement(FleetInteractionDialogPluginImpl.java:426)
   at exerelin.campaign.battle.NexFleetInteractionDialogPluginImpl.backFromEngagement(NexFleetInteractionDialogPluginImpl.java:65)
   at com.fs.starfarer.campaign.CampaignState.prepare(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
« Last Edit: June 29, 2018, 11:08:20 PM by atreg » Logged
Nick XR
Commander
***
Posts: 186



View Profile
« Reply #17 on: June 29, 2018, 11:30:59 PM »

Got a fatal null error involving this mod after my third fleet encounter.
1039936 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at data.scripts.combatanalytics.data.WeaponDamage.compareTo(WeaponDamage.java:110)
   at data.scripts.combatanalytics.data.WeaponDamage.compareTo(WeaponDamage.java:9)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.legacyMergeSort(Unknown Source)
   at java.util.Arrays.sort(Unknown Source)
   at data.scripts.combatanalytics.data.CombatResult.buildShipCombatResults(CombatResult.java:132)
   at data.scripts.combatanalytics.data.CombatResult.<init>(CombatResult.java:70)
   at data.scripts.combatanalytics.CombatAnalyticsManager.completeCombat(CombatAnalyticsManager.java:29)
   at data.scripts.combatanalytics.CombatAnalyticsModPlugin$1.reportPlayerEngagement(CombatAnalyticsModPlugin.java:43)
   at com.fs.starfarer.campaign.CampaignEngine.reportPlayerEngagement(Unknown Source)
   at com.fs.starfarer.api.impl.campaign.FleetEncounterContext.processEngagementResul ts(FleetEncounterContext.java:235)
   at com.fs.starfarer.api.impl.campaign.FleetInteractionDialogPluginImpl.backFromEng agement(FleetInteractionDialogPluginImpl.java:426)
   at exerelin.campaign.battle.NexFleetInteractionDialogPluginImpl.backFromEngagement(NexFleetInteractionDialogPluginImpl.java:65)
   at com.fs.starfarer.campaign.CampaignState.prepare(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)



Sorry about that, I'll check it out. 
Logged

Nick XR
Commander
***
Posts: 186



View Profile
« Reply #18 on: June 29, 2018, 11:48:32 PM »

@atreg Try the latest version that's posted.  Looks like a Ship had a name of NULL which isn't very nice, but perhaps possible with mods.  Let me know if that works/doesn't work.

Thanks!
Logged

atreg
Ensign
*
Posts: 37


View Profile
« Reply #19 on: June 30, 2018, 04:23:12 AM »

I went through a bunch of fights and didn't crash, so it seems like whatever you did worked.
The only other thing I noticed is that Tritach Corporation is spelled as "Torporation," but otherwise thanks for the quick fix.
Logged
Nick XR
Commander
***
Posts: 186



View Profile
« Reply #20 on: June 30, 2018, 08:54:38 AM »

I went through a bunch of fights and didn't crash, so it seems like whatever you did worked.
The only other thing I noticed is that Tritach Corporation is spelled as "Torporation," but otherwise thanks for the quick fix.

Ah good catch.  Was using index 0 to uppercase a letter instead of index i, so it was always getting the first character.  Fixed.
Logged

Nick XR
Commander
***
Posts: 186



View Profile
« Reply #21 on: November 18, 2018, 04:46:40 PM »

3.1 Release
* Updated for .9a
Logged

Thaago
Admiral
*****
Posts: 3542

Quantum Mechanic


View Profile Email
« Reply #22 on: November 18, 2018, 06:36:38 PM »

Thanks for updating! This is always a fun mod. Any way to expand functionality to damage done by type and/or with reductions? Or is it just not supported by the API at present?
Logged
Nick XR
Commander
***
Posts: 186



View Profile
« Reply #23 on: November 18, 2018, 11:46:05 PM »

Thanks for updating! This is always a fun mod. Any way to expand functionality to damage done by type and/or with reductions? Or is it just not supported by the API at present?

I have plans to add a bit more detail and better presentation, but not to that level.  It's quite difficult to tell how much damage was done to armor/hull, even with shields it's sort-of hard with damage types and efficiency. Unfortunately there's no damage-event that can be subscribed to so a lot of stuff is inferred.  I had thought about going down that route of trying to figure out damage at a greater detail, but then I realized what's there more or less seems to meet the needs of determining what ships and weapons are actually doing anything in combat, and being off by 25% or even more probably wouldn't change any actual conclusions. 

Thanks for using the mod!
Logged

Thaago
Admiral
*****
Posts: 3542

Quantum Mechanic


View Profile Email
« Reply #24 on: November 19, 2018, 12:31:40 AM »

Thats kind of what I thought, there's some complex interactions happening there. Thanks for making the mod!
Logged
Gaudium
Ensign
*
Posts: 14


View Profile Email
« Reply #25 on: November 19, 2018, 11:30:39 PM »

Hello i am getting this:
33327 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
33344 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
33512 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
33533 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
33553 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
33621 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
33641 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
33846 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
33868 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
33949 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
33970 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
34141 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
34177 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
34260 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
34476 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
34709 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
34728 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
34988 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
35008 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
35035 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
35064 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
35268 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
35288 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
35324 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
35340 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
35601 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
35616 [Thread-4] ERROR data.scripts.combatanalytics.CombatAnalyticsModPlugin  - Error processing damage detection
java.lang.NullPointerException
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleProjectile(EveryFrameDamageDetector.java:272)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.handleFrame(EveryFrameDamageDetector.java:138)
   at data.scripts.combatanalytics.EveryFrameDamageDetector.detectDamage(EveryFrameDamageDetector.java:34)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
   at com.fs.starfarer.title.C.o0oO$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.A.B.o00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Logged
Gaudium
Ensign
*
Posts: 14


View Profile Email
« Reply #26 on: November 19, 2018, 11:38:45 PM »

And then this:
901504 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.api.impl.campaign.fleets.DefaultFleetInflater.inflate(DefaultFleetInflater.java:258)
   at com.fs.starfarer.campaign.fleet.CampaignFleet.inflateIfNeeded(Unknown Source)
   at com.fs.starfarer.ui.impl.StandardTooltipV2.createFleetTooltip(Unknown Source)
   at com.fs.starfarer.campaign.ooOO.o00000(Unknown Source)
   at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Not sure if this is from the same mod since last night everything was working fine but i updated a few mods this morning since they were patched.
Logged
Nick XR
Commander
***
Posts: 186



View Profile
« Reply #27 on: November 20, 2018, 12:14:07 AM »

Thanks for the stacks.  I'll get it sorted out.
Logged

Nick XR
Commander
***
Posts: 186



View Profile
« Reply #28 on: November 20, 2018, 09:21:56 AM »

Version 3.2 uploaded.

Fix for exception (I think).  I wasn't able to repro it locally so I think it's mod related.  The issue was around assuming that if a firing ship was a fighter that it must also have a fighter wing it belongs to.

Also sorted the ships in the dialogue list by total damage dealt, descending.
Logged

Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2011, Simple Machines
Simple Audio Video Embedder
Valid XHTML 1.0! Valid CSS!