Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Photonsynthesis

Pages: [1]
1
Mods / Re: [0.95a] Detailed Combat Results v5.1.1 (2021-05-04)
« on: May 19, 2021, 11:32:02 AM »
Are you running any mods or do you have any idea which weapon might be causing this?  I can certainly defend against it, but looking at the starfarer DLLs I don't see how this is happening even though the stack trace is clearly inside of the DLL :/

Thanks for the report!
I have many mods installed but I don't think this error relates to any other mods directly.

I'm not sure I follow, what do you mean/did you recompile?
I recompiled this mod against 0.95a-RC15.

The return type of the method changed. https://i.imgur.com/7p77SfY.png

If you cast the explosion to DamagingProjectileAPI like this:
Code
            float baseDamage = ((DamagingProjectileAPI) explosion).getDamage().getBaseDamage();
then the resulting bytecode doesn't depend on the implementation class and won't need to be recompiled after each update.

2
Mods / Re: [0.95a] Detailed Combat Results v5.1.1 (2021-05-04)
« on: May 17, 2021, 06:10:25 AM »
Getting this error in logs (not a crash):

Spoiler
java.lang.NoSuchMethodError: com.fs.starfarer.combat.entities.DamagingExplosion.getDamage()Lcom/fs/starfarer/combat/E/return;
   at data.scripts.combatanalytics.damagedetection.FrameProcessorUnclaimed.processExp losions(FrameProcessorUnclaimed.java:186)
   at data.scripts.combatanalytics.damagedetection.FrameProcessorUnclaimed.getWeaponN ame(FrameProcessorUnclaimed.java:144)
   at data.scripts.combatanalytics.damagedetection.FrameProcessorUnclaimed.processFra me(FrameProcessorUnclaimed.java:73)
   at data.scripts.combatanalytics.damagedetection.EveryFrameDamageDetector.handleFra me(EveryFrameDamageDetector.java:108)
   at data.scripts.combatanalytics.damagedetection.EveryFrameDamageDetector.detectDam age(EveryFrameDamageDetector.java:32)
   at data.scripts.plugins.DamageDetectionEveryFrameCombatPlugin.advance(DamageDetectionEveryFrameCombatPlugin.java:20)
[close]

Error occurred 1556 times over 90 minutes, so it may cause a fair portion of damage to be untracked.

Game version 0.95a-RC15, mod version 5.1.1.

Edit: Recompiling without any further modification fixes the error.

3
Mod seems to work (mostly) under 0.95a. There is one crash I've had due to an outdated ship variant, though:
Spoiler
Code
 java.lang.RuntimeException: Slot id [WS 006] not found on hull [hyperion]
at com.fs.starfarer.campaign.fleet.CampaignFleetMemberView.renderWeapons(Unknown Source)
at com.fs.starfarer.campaign.fleet.CampaignFleetMemberView.renderSingle(Unknown Source)
at com.fs.starfarer.campaign.fleet.CampaignFleetMemberView.render(Unknown Source)
at com.fs.starfarer.campaign.fleet.CampaignFleetView.render(Unknown Source)
at com.fs.starfarer.campaign.fleet.CampaignFleet.render(Unknown Source)
[close]
I tracked this error down to "mods/Second Wave Options 0.6.1/data/variants/hyperion/rcsw_hyperion_Strike.variant" which references these slots that are no longer present:
Code
            "weapons": {
                "WS 005": "atropos",
                "WS 006": "atropos"
            }
Copying the weapon groups from the built-in strike variant should fix this error. There might be other variants that need to be updated, but this is the only issue I've had so far after playing for two hours.

Great mod BTW. I play with uncapped level 9 officers and I needed a way to give more officers to the AI fleets. It would be nice to have an option to tune AI officer quality/quantity separately from the other values.

Pages: [1]