Fractal Softworks Forum

Starsector => Bug Reports & Support => Bug Reports & Support (modded) => Topic started by: Neuneu on October 01, 2020, 06:30:36 AM

Title: Game crash during fights (no lag + mid game) [Solved]
Post by: Neuneu on October 01, 2020, 06:30:36 AM
Hello,

First time i try to call for help!

My game crashes during fights now sadly....
It is an heavly modded run, i already allocate a lot of RAM and the game don't lag out of itself (everything goes normal speed until the crash).
It more like a crash Fatal Error null...

Here is the log of the last line and I added the save too:

901354 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.combat.ai.missile.FlareAI.<init>(Unknown Source)
   at com.fs.starfarer.loading.specs.ifsuper.o00000(Unknown Source)
   at com.fs.starfarer.loading.specs.ifsuper.o00000(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.A.if.super(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.A.if.fireProjectile(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.trackers.new.class.super(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.trackers.new.o00000(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.trackers.O0OO.o00000(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.trackers.O0OO.o00000(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.trackers.new.?00000(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.A.if.advance(Unknown Source)
   at com.fs.starfarer.combat.systems.oOoO.super(Unknown Source)
   at com.fs.starfarer.combat.systems.oOoO.advance(Unknown Source)
   at com.fs.starfarer.combat.entities.Ship.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatState.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)

Here is a link to the save (Wetransfer) :
https://we.tl/t-dLCgEwlq7H

Game is awesome btw! Modders too! Been playing on and off for more than year now and it is a blast!
Title: Re: Game crash during fights (no lag + mid game)
Post by: Neuneu on October 01, 2020, 08:29:57 AM
YOOOOOO!

Found the problem :)
 
Let me look into it:

It is caused by a weapon, if you try to fire it it will crash the game.
"Flare Launcher"

The weapon is in "Laharl's Incredible Pack o' Stuff"

(http://)

[attachment deleted by admin]
Title: Re: Game crash during fights (no lag + mid game) [Solved]
Post by: Alex on October 01, 2020, 09:07:39 AM
Hi - this actually looks like the "weapon" used under the hood by the vanilla flare launcher ship system; the issue is that it somehow dropped for you (which I suspect might be where a mod came into the picture), but if you can remember how you got it (a long shot, I know), that might be useful info.

Glad you're enjoying the game, and welcome to the forum!
Title: Re: Game crash during fights (no lag + mid game) [Solved]
Post by: Neuneu on October 01, 2020, 09:17:24 AM
Thx, you awesome man (Groupie moment over).

Pretty sure i got this weapon from "Laharl's Incredible Pack o' Stuff" mod i got on discord server.
The mod works otherwise and there are some fun weapons in there btw (not trying to shame the modder that actually worked x100 more than me)

I will try to contact him (he stream daily on twitch your game btw).