1
Mods / Re: [0.97a] Aptly Simple Hullmods 2.0.0a
« on: July 03, 2024, 08:32:18 PM »
Hello again! I got a crash in the battle of the mission Wayward Star, from the mod Secrets of the Frontier. It seems its related to convicted crewmates once again (yeah, I love that hullmod). As soon as I take down a Shrike in that mission, I get a CTD and the following log message:
16044751 [Thread-2] ERROR com.fs.starfarer.combat.CombatMain - java.lang.NullPointerException: Cannot invoke "java.lang.Float.floatValue()" because the return value of "java.util.Map.get(Object)" is null
java.lang.NullPointerException: Cannot invoke "java.lang.Float.floatValue()" because the return value of "java.util.Map.get(Object)" is null
at aptlysimplehullmods.hullmods.ConvictedCrewmates$AP_ConvictedCrewmatesScript.advance(ConvictedCrewmates.java:98) ~[?:?]
at com.fs.starfarer.combat.entities.Ship.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.combat.CombatState.traverse(Unknown Source) ~[port_obf.jar:?]
at com.fs.state.AppDriver.begin(Unknown Source) ~[port.common_obf.jar:?]
at com.fs.starfarer.combat.CombatMain.main(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.StarfarerLauncher.super(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source) ~[port_obf.jar:?]
at java.base/java.lang.Thread.run(Thread.java:1575) [?:?]
Not sure if this is in your end or theirs, but just wanted to let you know. Again, thanks for the wonderful mod and all the updates!
EDIT: so I just replayed the combat without the hullmod, I imagine its got something to do with the fact that enemies in this mission are not destroyed, but “banished“. Not sure if there is anything that can be done on your end to account for that, or if that just sort of screws up the hullmod in this instance
16044751 [Thread-2] ERROR com.fs.starfarer.combat.CombatMain - java.lang.NullPointerException: Cannot invoke "java.lang.Float.floatValue()" because the return value of "java.util.Map.get(Object)" is null
java.lang.NullPointerException: Cannot invoke "java.lang.Float.floatValue()" because the return value of "java.util.Map.get(Object)" is null
at aptlysimplehullmods.hullmods.ConvictedCrewmates$AP_ConvictedCrewmatesScript.advance(ConvictedCrewmates.java:98) ~[?:?]
at com.fs.starfarer.combat.entities.Ship.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.combat.CombatState.traverse(Unknown Source) ~[port_obf.jar:?]
at com.fs.state.AppDriver.begin(Unknown Source) ~[port.common_obf.jar:?]
at com.fs.starfarer.combat.CombatMain.main(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.StarfarerLauncher.super(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source) ~[port_obf.jar:?]
at java.base/java.lang.Thread.run(Thread.java:1575) [?:?]
Not sure if this is in your end or theirs, but just wanted to let you know. Again, thanks for the wonderful mod and all the updates!
EDIT: so I just replayed the combat without the hullmod, I imagine its got something to do with the fact that enemies in this mission are not destroyed, but “banished“. Not sure if there is anything that can be done on your end to account for that, or if that just sort of screws up the hullmod in this instance