Is there a way to fix my .97 savegame?
742187 [Thread-2] ERROR com.fs.starfarer.combat.CombatMain - java.lang.NullPointerException: Cannot invoke "com.fs.starfarer.api.impl.campaign.intel.raid.RaidIntel.getFaction()" because "this.baseRaidIntel" is null
java.lang.NullPointerException: Cannot invoke "com.fs.starfarer.api.impl.campaign.intel.raid.RaidIntel.getFaction()" because "this.baseRaidIntel" is null
at starlords.person.LordEvent.getFaction(LordEvent.java:165) ~[?:?]
at starlords.controllers.EventController.getCurrentFeast(EventController.java:79) ~[?:?]
at starlords.ai.LordAI.chooseAssignment(LordAI.java:173) ~[?:?]
at starlords.ai.LordAI.progressAssignment(LordAI.java:530) ~[?:?]
at starlords.ai.LordAI.advance(LordAI.java:94) ~[?:?]
at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.BaseGameState.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:1447) [?:?]
I'm constantly crashing right after loading up my save, even when i load my backup from 6 months prior.
public FactionAPI getFaction() {
if (originator != null) return originator.getFaction();
return baseRaidIntel.getFaction();
}
To this?
public FactionAPI getFaction() {
if (originator != null) return originator.getFaction();
if (baseRaidIntel != null) return baseRaidIntel.getFaction();
return Global.getSector().getFaction("independent");
}
No clue how to fix that ***, but i really don't want to lose this save too :p
I looked into this issue for a bit, but I have no clue how or why this happened. regardless I have fixed it (hopefully). I also fixed it on the older version of starsector just for you, although I don't really support older versions of starsector, so don't expect me to do this often (supporting many versions of a mod is really really hard.).
download. anyhow, thank you very mush for the report. and im sorry your game became unplayable.
629799 [Thread-2] ERROR com.fs.starfarer.combat.CombatMain - java.lang.NullPointerException: Cannot invoke "com.fs.starfarer.api.campaign.econ.MarketAPI.getCommodityData(String)" because "market" is null
java.lang.NullPointerException: Cannot invoke "com.fs.starfarer.api.campaign.econ.MarketAPI.getCommodityData(String)" because "market" is null
at mmm.missions.MmmCheapCommodityMission.applyTradeMods(MmmCheapCommodityMission.java:177)
at mmm.missions.MmmCheapCommodityMission.accept(MmmCheapCommodityMission.java:192)
at starlords.ui.MissionPreviewIntelPlugin.buttonPressConfirmed(MissionPreviewIntelPlugin.java:111)
at com.fs.starfarer.campaign.comms.v2.EventsPanel.actionPerformed(Unknown Source)
at com.fs.starfarer.ui.n.buttonPressed(Unknown Source)
at com.fs.starfarer.ui.H. 00000(Unknown Source)
at com.fs.starfarer.ui.H.processInput(Unknown Source)
at com.fs.starfarer.ui.classsuper.o00000(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.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Hello @alaricdragon, I'm not too sure if this is caused by Starlords, but it was caused from interacting with a lord for a pickup mission, and accepting it in the intel screen caused this crash. Not sure what the Mmm package is (I think that's a package?). Anyways, thank you so much for maintaining this mod.
hello! MMM is More Military Missions. starlords has a know incompatibility with MMM. maybe someday we will be able to fix it, but for now you will be locked out of doing missions for starlords so long as More Military Missions is installed.
That's a bummer. It's a great mod concept. Thanks for letting me know though.
hello, its me. the person who was talked about.
this sounds like a bug (all the starlords attacking you all at once (maybe. I dont know for sure)) but I do need to know a little more about what happened?
so, the lords attacking you should be related to the colony crisis system. so my questions are:
were any of the crises events happen at the time of this attack? (like a blockade, or a heg AI inspection)?
how many different factions were attacking you? like, was it just one, or was it every faction that had interest in your system(s)?
as for your gameplay suggesting, this sounds like something from mount and blade warband. were you could have a civil war in your faction. personally, I like the idea. but I 100% do not have the ability to make it happen. like at all.
well, maybe I could. maybe. with a lot of work because of reasons. and It would proboly no wait.
now Im thinking about it. but like, don't expect anything ok? it likely will not happen at all.
secondly, the person who created this mod just said they were bored of starsector right now. they might yet return. just... not right now. give it a year or something.
oh right, last thing: nexerlin can allow you to disable invasions and colony spam and stuff (if you want defense fleets and no invasion's). my modification of starlords should even respect the no invasions rule. (although the base mod didn't, or at least I think it did? I dont know and im sad about this like how does it work arg starlords is really complicated) you can download my version here, so hopefully that helps a little?
Thanks for this version. Really annoyed that star lords keeps invading planets in my nex run, even core worlds.
hello! I just need to confirm something:
when you say that star lords keep invading planets they are not suppose to in your nexerlin run, you do mean with the updated version of starlords I provided, or do you mean before?
because if starlords are still not respecting nexerlins no invasion rules, please confirm, so I can find some way to fix it.