Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.98a is out! (03/27/25)

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 - Erlkonig

Pages: [1]
1
Mods / Re: [0.97a] Star Lords- Mount & Blade Campaign in Space v0.3.2
« on: March 26, 2025, 11:11:12 PM »
@alaricdragon

Hey. I've been getting this crash consistently after a battle with a hostile Lord. During the battle the hostile Lord's flagship is destroyed, but a number of his ships manage to retreat. Right after the battle, his fleet moves for one second and then the crash happens. It doesn't happen when the whole fleet is eliminated.

Code
ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException: Cannot invoke "com.fs.starfarer.api.campaign.LocationAPI.getFleets()" because the return value of "com.fs.starfarer.api.campaign.SectorEntityToken.getContainingLocation()" is null
java.lang.NullPointerException: Cannot invoke "com.fs.starfarer.api.campaign.LocationAPI.getFleets()" because the return value of "com.fs.starfarer.api.campaign.SectorEntityToken.getContainingLocation()" is null
at com.fs.starfarer.api.util.Misc.getNearbyFleets(Misc.java:3674) ~[starfarer.api.jar:?]
at starlords.ai.LordStrategicModule.isAllowedToEvade(LordStrategicModule.java:106) ~[?:?]
at com.fs.starfarer.campaign.ai.TacticalModule.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.campaign.ai.ModularFleetAI.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.campaign.fleet.CampaignFleet.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.campaign.BaseLocation.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.campaign.Hyperspace.advance(Unknown Source) ~[port_obf.jar:?]
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.o00000(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'd have to look at the code, but it sounds like upon his flagship dying the Lord gets detached from the fleet so he's nowhere to be found when his containing location is prompted.

2
Mods / Re: [0.97a] Star Lords- Mount & Blade Campaign in Space v0.3.2
« on: March 24, 2025, 05:09:47 PM »
I re-opened the old PR on AI Cores, and added an interesting new one you might want to take a look at, alaric.  ;)

3
Mods / Re: [0.97a] Star Lords- Mount & Blade Campaign in Space v0.3.2
« on: March 16, 2025, 03:16:38 PM »
So there's a pretty serious limitation with how Lords work right now that keeps them from reaching their full potential, and it's their faction assignment. If a Lord gets generated or added manually as part of one of the 'elite' subfactions within a parent faction (See Lion's Guard or Mercenaries), they will inevitably defect from said subfaction because the subfaction owns zero markets. This means that you can only tie Lords to parent factions, and as a result deny them the possibility of being generated with the optimal doctrines and modifiers available to special 'boss' subfactions.

Evidence:
I created an upstanding Lord as part of the 'Great Houses of Kassadar' faction, a part of independents, and he immediately defected at the end of the month. I'm pretty sure an Upstanding Lord shouldn't defect, much less in a month, unless he was triggering the 50% chance prompted by the faction being marketless. 

Edit: Added a PR in Git that I think might improve the mod, hope you don't mind taking a look.  :)

Do you have a link to the PR? I tried looking in both the original and alaricdragon's github links but I don't think I see your PR.

I'm WeisserRitter in github, I just recently pushed two features there.

Quote
I have so many questions.
for one, are the 'Great Houses of Kassadar' not actually independent (but there one world gets strange ships)? so like, if you were to make a starlord with a json file could you not just put down a 'independent' as the starlords faction, but just have the strange ships? or is there something im missing about this?
if you are talking about generating a starlord with my starlord generator, there is a way to do this. just create a new LordGeneratorListener_base and forcefully change the faction of a lord from the 'Great Houses of Kassadar' to 'independent'. (in all 3 'editLord' functions).

as for having lords of 'elite' sub factions generate with the starlords generator... I suppose its possible. It will likely require each modder to add support to have the sub factions generate, but I could in theory get some type of support for this working. I will look into it.

Factions in starsector can have dependent factions that don't own any markets but have their own separate fleet doctrines and list of ships, as well as officer generation. This affects methods such as createRandomPerson() which can have an impact on all kinds of things including officerLevel and unique skills. An example of this is the 'mercerary' subfaction, which is dependent on the Independents but consistently generates highly skilled officers with fleets that have pristine ships and a number of s-mods. But because they don't have any markets, any lord which is generated within the subfaction will immediately defect because the check looks only for faction markets within its subfaction, and not the parent.

4
Mods / Re: [0.97a] Star Lords- Mount & Blade Campaign in Space v0.3.2
« on: March 14, 2025, 02:21:02 PM »
So there's a pretty serious limitation with how Lords work right now that keeps them from reaching their full potential, and it's their faction assignment. If a Lord gets generated or added manually as part of one of the 'elite' subfactions within a parent faction (See Lion's Guard or Mercenaries), they will inevitably defect from said subfaction because the subfaction owns zero markets. This means that you can only tie Lords to parent factions, and as a result deny them the possibility of being generated with the optimal doctrines and modifiers available to special 'boss' subfactions.

Evidence:
I created an upstanding Lord as part of the 'Great Houses of Kassadar' faction, a part of independents, and he immediately defected at the end of the month. I'm pretty sure an Upstanding Lord shouldn't defect, much less in a month, unless he was triggering the 50% chance prompted by the faction being marketless. 

Edit: Added a PR in Git that I think might improve the mod, hope you don't mind taking a look.  :)

5
Mods / Re: [0.97a] Terraforming and Station Construction (v9.0.5)
« on: March 07, 2024, 08:32:36 PM »
Got a crash when trying to access the research screen for this mod in the Ashes of the Domain UI. Here's the log:

Code
2342170 [Thread-2] INFO  sound.O  - Cleaning up music with id [Sovereignty.ogg]
2342170 [Thread-2] INFO  sound.O  - Cleaning up music with id [StellarRemnant.ogg]
2342170 [Thread-2] INFO  sound.O  - Cleaning up music with id [FM_starsystem_01.ogg]
2342184 [Thread-6] INFO  sound.O  - Cleaning up music with id [faction_generic_market_01_neutral_var01.ogg]
2342634 [Thread-9] INFO  sound.O  - Creating streaming player for music with id [faction_generic_market_01_neutral_var01.ogg]
2342634 [Thread-9] INFO  sound.OooO  - Playing music with id [faction_generic_market_01_neutral_var01.ogg]
2343195 [Thread-2] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException: Cannot invoke "com.fs.starfarer.api.campaign.SectorEntityToken.getOrbitFocus()" because the return value of "com.fs.starfarer.api.campaign.econ.MarketAPI.getPrimaryEntity()" is null
java.lang.NullPointerException: Cannot invoke "com.fs.starfarer.api.campaign.SectorEntityToken.getOrbitFocus()" because the return value of "com.fs.starfarer.api.campaign.econ.MarketAPI.getPrimaryEntity()" is null
at boggled.campaign.econ.industries.BoggledCommonIndustry.getFocusMarketOrMarket(BoggledCommonIndustry.java:277) ~[?:?]
at boggled.scripts.BoggledTerraformingRequirement$RequirementContext.getFocusContext(BoggledTerraformingRequirement.java:182) ~[?:?]
at boggled.campaign.econ.boggledTools.getTokenReplacements(boggledTools.java:1499) ~[?:?]
at boggled.scripts.BoggledTerraformingProjectEffect$EffectWithRequirement.addTooltipInfoImpl(BoggledTerraformingProjectEffect.java:1187) ~[?:?]
at boggled.scripts.BoggledTerraformingProjectEffect$TerraformingProjectEffect.addEffectTooltipInfo(BoggledTerraformingProjectEffect.java:85) ~[?:?]
at boggled.scripts.BoggledTerraformingProject.getOngoingEffectTooltipInfo(BoggledTerraformingProject.java:210) ~[?:?]
at boggled.campaign.econ.industries.BoggledCommonIndustry.addPostDemandSection(BoggledCommonIndustry.java:654) ~[?:?]
at boggled.campaign.econ.industries.BoggledBaseIndustry.addPostDemandSection(BoggledBaseIndustry.java:124) ~[?:?]
at com.fs.starfarer.api.impl.campaign.econ.impl.BaseIndustry.createTooltip(BaseIndustry.java:1265) ~[starfarer.api.jar:?]
at data.kaysaar.aotd.vok.ui.components.TechTreeResearchOptionPanel$2.createTooltip(TechTreeResearchOptionPanel.java:233) ~[?:?]
at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable$14.createImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.create(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.beforeShown(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.showTooltip(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.O0Oo.super.new(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.O0Oo.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.impl.StandardTooltipV2.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.impl.StandardTooltipV2.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.impl.StandardTooltipV2.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.g$Oo.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.g.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.E.I.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.O.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.newui.OOoO.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.O.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.newui.o0Oo.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.processInput(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.campaign.CampaignState.processInput(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:1575) [?:?]

6
General Discussion / Re: MesoTroniK Donation Drive
« on: March 05, 2024, 06:56:08 PM »
Finally got around to helping with what I could, late as it may be. Hang in there buddy!

7
Mods / Re: [0.96a] [WIP] Ashes of The Domain of Man
« on: May 29, 2023, 10:30:42 PM »
For some reason, I'm not allowed to upgrade my fishery to aquaculture: it says that it requires farmland, despite it being impossible for a water world to possess it.

8
General Discussion / Re: MesoTroniK Donation Drive
« on: February 06, 2021, 11:52:24 AM »
Donated a fiver, sorry I can't really spare more. Good luck man!

9
Hi! Have you tried using another browser? And/or checking what extensions you have? I'm using Chrome right now, and spoilers are working fine, so this very much seems like something specific to your setup.

It doesn't work with Microsoft Edge either, I just tried. Maybe it's something entirely different on my end causing this.



Taking a look here it seems as if the Status response (301) is that the URL has been permanently changed. This might mean that there was a change from the JQuery's host in where they are hosting the JQuery script.

The reason it may be working for you right now is because you have the JQuery saved in your cache, so it doesn't have to request the script from the URL. You could try deleting your cache and trying to open spoilers. If it fails, then it's not just something on my end.

10
Imagine my surprise (and annoyance) when I suddenly found that spoiler windows stopped working on the entire forum on my end. Something in Chrome must have updated or change and not for the better because when I load any topic on this site, I get the following problems.

Spoiler
[close]

First of all is this warning that shows me the address may be blocked due to poor connectivity. From my personal experience warnings don't really do much, so I don't think this is the main cause of the bug. On the other hand, trying to fetch JQuery from that source always fails now, and Chrome gives out this error:



Which promptly causes the script handling the spoilers to also collapse, because they call on JQuery:

Spoiler
[close]

Would it be possible to switch to a different source for the JQuery code or am I just forever doomed to look at spoilers through the inspect tab?


Pages: [1]