Fractal Softworks Forum
November 17, 2018, 02:24:36 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.8.1a] Combat Analytics v.3 (2018-06-29)  (Read 12626 times)
Nick XR
Commander
***
Posts: 173



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: 33


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: 173



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: 173



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: 33


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: 173



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

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!