Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Pages: 1 ... 128 129 [130] 131 132 ... 222

Author Topic: [0.97a] Terraforming and Station Construction (v9.0.8)  (Read 1099489 times)

Admiral_hipper112

  • Ensign
  • *
  • Posts: 12
  • Keep cool and stay cool that's my motto
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1935 on: July 19, 2022, 10:50:11 AM »

What's the gene lab for? Built one on a Terran world that's got a pollution debuff and it's been almost 2 game months not doing anything I thought the gene lab was for cleaning the pollution on the planet and adding the lobster buff I only have a farm industry on that planet and it's size is 4 what am I doing wrong? How can I make the gene lab work help me pls
Logged
Anime pics and starsector don't mix well but are hella funny

boggled

  • Admiral
  • *****
  • Posts: 1134
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1936 on: July 19, 2022, 10:59:24 AM »

What's the gene lab for? Built one on a Terran world that's got a pollution debuff and it's been almost 2 game months not doing anything I thought the gene lab was for cleaning the pollution on the planet and adding the lobster buff I only have a farm industry on that planet and it's size is 4 what am I doing wrong? How can I make the gene lab work help me pls

You can't add lobsters to a Terran world. Regarding the pollution condition, can you upload a screenshot of the colony management screen and the Genelab tooltip?
Logged

Admiral_hipper112

  • Ensign
  • *
  • Posts: 12
  • Keep cool and stay cool that's my motto
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1937 on: July 19, 2022, 11:09:27 AM »

What's the gene lab for? Built one on a Terran world that's got a pollution debuff and it's been almost 2 game months not doing anything I thought the gene lab was for cleaning the pollution on the planet and adding the lobster buff I only have a farm industry on that planet and it's size is 4 what am I doing wrong? How can I make the gene lab work help me pls

You can't add lobsters to a Terran world. Regarding the pollution condition, can you upload a screenshot of the colony management screen and the Genelab tooltip?

Ah so the lobster stuff is only for water world types aight regarding the Pollution debuff imma take a SS of the colony management screen
Logged
Anime pics and starsector don't mix well but are hella funny

TheGodUncle

  • Ensign
  • *
  • Posts: 11
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1938 on: July 19, 2022, 11:36:58 AM »

I installed the mod for version 095.1a but whenever I start the game I get the following error: "Fatal: Special item with id [boggled_euteck] not found while loading drop_groups.csv". Checking starsector.log gives me the following info.

"12493 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Special item with id [boggled_euteck] not found while loading drop_groups.csv
java.lang.RuntimeException: Special item with id [boggled_euteck] not found while loading drop_groups.csv
   at com.fs.starfarer.loading.SpecStore$14.Õ00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore$14.o00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.ø00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.public(Unknown Source)
   at com.fs.starfarer.loading.ResourceLoaderState.init(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.lang.Thread.run(Unknown Source)"

I already reinstalled the mod once but that didn't change anything. I don't know what to do now.
Logged

boggled

  • Admiral
  • *****
  • Posts: 1134
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1939 on: July 19, 2022, 12:33:20 PM »

I installed the mod for version 095.1a but whenever I start the game I get the following error: "Fatal: Special item with id [boggled_euteck] not found while loading drop_groups.csv". Checking starsector.log gives me the following info.

"12493 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Special item with id [boggled_euteck] not found while loading drop_groups.csv
java.lang.RuntimeException: Special item with id [boggled_euteck] not found while loading drop_groups.csv
   at com.fs.starfarer.loading.SpecStore$14.Õ00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore$14.o00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.ø00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.public(Unknown Source)
   at com.fs.starfarer.loading.ResourceLoaderState.init(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.lang.Thread.run(Unknown Source)"

I already reinstalled the mod once but that didn't change anything. I don't know what to do now.

Try deleting the entire TASC mod folder and redownloading it. If the same error still occurs let me know.
Logged

TheGodUncle

  • Ensign
  • *
  • Posts: 11
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1940 on: July 19, 2022, 12:51:39 PM »

Try deleting the entire TASC mod folder and redownloading it. If the same error still occurs let me know.

I did that and didn't get the error anymore but now I'm unable to load my save file.
Logged

boggled

  • Admiral
  • *****
  • Posts: 1134
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1941 on: July 19, 2022, 01:03:18 PM »

Try deleting the entire TASC mod folder and redownloading it. If the same error still occurs let me know.

I did that and didn't get the error anymore but now I'm unable to load my save file.

Is the save file missing, or there's a crash when you try to load it?

The latest version of TASC is not backwards compatible - you need to use the same version you were using previously to continue saves created with old versions.
Logged

TheGodUncle

  • Ensign
  • *
  • Posts: 11
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1942 on: July 19, 2022, 01:22:06 PM »

Is the save file missing, or there's a crash when you try to load it?
The latest version of TASC is not backwards compatible - you need to use the same version you were using previously to continue saves created with old versions.

The save file isn't missing and the game doesn't ctd but I get an error when loading the save file. Is there a way to download a previous version? It says I version 7.1.3 was the last one I used.
Logged

boggled

  • Admiral
  • *****
  • Posts: 1134
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1943 on: July 19, 2022, 01:46:54 PM »

Is the save file missing, or there's a crash when you try to load it?
The latest version of TASC is not backwards compatible - you need to use the same version you were using previously to continue saves created with old versions.

The save file isn't missing and the game doesn't ctd but I get an error when loading the save file. Is there a way to download a previous version? It says I version 7.1.3 was the last one I used.

https://github.com/boggled-starsector/boggled_modpack/tree/master/Old

You can find all the old versions at the link above. Be sure to download the correct version and all the files for it.
Logged

TheGodUncle

  • Ensign
  • *
  • Posts: 11
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1944 on: July 19, 2022, 03:20:23 PM »

https://github.com/boggled-starsector/boggled_modpack/tree/master/Old

You can find all the old versions at the link above. Be sure to download the correct version and all the files for it.

That fixed it, thanks for the help.
Logged

TheHZDev

  • Lieutenant
  • **
  • Posts: 60
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1945 on: July 21, 2022, 04:51:47 AM »

One player reported when he was outside the core sector trying to view the description of the ability, "Deploy Planet-Killer Device". His game crashed.
This's his error:
90468 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
        at data.campaign.econ.abilities.Deploy_Planet_Killer.isUsable(Deploy_Planet_Killer.java:37)
        at data.campaign.econ.abilities.Deploy_Planet_Killer.createTooltip(Deploy_Planet_Killer.java:80)
        at com.fs.starfarer.ui.newui.G$3.createImpl(Unknown Source)
        at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.create(Unknown Source)
        at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.beforeShown(Unknown Source)
        at com.fs.starfarer.ui.Q.showTooltip(Unknown Source)
        at com.fs.starfarer.ui.ooOo.super.new(Unknown Source)
        at com.fs.starfarer.ui.ooOo.processInput(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.N.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.newui.AbilityPickerDialog.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.campaign.CampaignState.processInput(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.lang.Thread.run(Thread.java:748)

The "Deploy_Planet_Killer.java:37" is "SectorEntityToken closestMarketEntity = closestMarket.getPrimaryEntity();", which is belong to the function "isUsable".
Logged

boggled

  • Admiral
  • *****
  • Posts: 1134
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1946 on: July 21, 2022, 05:28:48 AM »

One player reported when he was outside the core sector trying to view the description of the ability, "Deploy Planet-Killer Device". His game crashed.
This's his error:
90468 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
        at data.campaign.econ.abilities.Deploy_Planet_Killer.isUsable(Deploy_Planet_Killer.java:37)
        at data.campaign.econ.abilities.Deploy_Planet_Killer.createTooltip(Deploy_Planet_Killer.java:80)
        at com.fs.starfarer.ui.newui.G$3.createImpl(Unknown Source)
        at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.create(Unknown Source)
        at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.beforeShown(Unknown Source)
        at com.fs.starfarer.ui.Q.showTooltip(Unknown Source)
        at com.fs.starfarer.ui.ooOo.super.new(Unknown Source)
        at com.fs.starfarer.ui.ooOo.processInput(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.N.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.newui.AbilityPickerDialog.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.campaign.CampaignState.processInput(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.lang.Thread.run(Thread.java:748)

The "Deploy_Planet_Killer.java:37" is "SectorEntityToken closestMarketEntity = closestMarket.getPrimaryEntity();", which is belong to the function "isUsable".

Did this individual make changes to the source code of TASC? Unless I'm missing something, it doesn't appear that the line numbers in the stack trace match up with the default source code for 8.1.4. Line 37 from the 8.1.4 source file is actually "MarketAPI closestMarket = boggledTools.getClosestMarketToEntity(playerFleet);" and line 80 is "Color highlight = Misc.getHighlightColor();", which doesn't call isUsable.
Logged

TheHZDev

  • Lieutenant
  • **
  • Posts: 60
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1947 on: July 21, 2022, 08:13:16 AM »

One player reported when he was outside the core sector trying to view the description of the ability, "Deploy Planet-Killer Device". His game crashed.
This's his error:
90468 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
        at data.campaign.econ.abilities.Deploy_Planet_Killer.isUsable(Deploy_Planet_Killer.java:37)
        at data.campaign.econ.abilities.Deploy_Planet_Killer.createTooltip(Deploy_Planet_Killer.java:80)
        at com.fs.starfarer.ui.newui.G$3.createImpl(Unknown Source)
        at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.create(Unknown Source)
        at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.beforeShown(Unknown Source)
        at com.fs.starfarer.ui.Q.showTooltip(Unknown Source)
        at com.fs.starfarer.ui.ooOo.super.new(Unknown Source)
        at com.fs.starfarer.ui.ooOo.processInput(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.N.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.newui.AbilityPickerDialog.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.campaign.CampaignState.processInput(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.lang.Thread.run(Thread.java:748)

The "Deploy_Planet_Killer.java:37" is "SectorEntityToken closestMarketEntity = closestMarket.getPrimaryEntity();", which is belong to the function "isUsable".

Did this individual make changes to the source code of TASC? Unless I'm missing something, it doesn't appear that the line numbers in the stack trace match up with the default source code for 8.1.4. Line 37 from the 8.1.4 source file is actually "MarketAPI closestMarket = boggledTools.getClosestMarketToEntity(playerFleet);" and line 80 is "Color highlight = Misc.getHighlightColor();", which doesn't call isUsable.

Sir, this is some source code from file "Deploy_Planet_Killer.java". I have noted the error line.

    @Override
    public void createTooltip(TooltipMakerAPI tooltip, boolean expanded) {
        Color highlight = Misc.getHighlightColor();
        Color bad = Misc.getNegativeHighlightColor();

        LabelAPI title = tooltip.addTitle("Deploy Planet-Killer Device");
        float pad = 10.0F;
        tooltip.addPara("Use a planet-killer device to destroy a colony. This will severely damage relations with most major factions in the Sector.", pad, highlight, new String[]{});

        SectorEntityToken playerFleet = Global.getSector().getPlayerFleet();
        MarketAPI targetMarket = boggledTools.getClosestMarketToEntity(playerFleet);

        if (this.isUsable()) {      // Error Line : (Deploy_Planet_Killer.java:80)
            tooltip.addPara("Target colony: %s", pad, highlight, new String[]{targetMarket.getName()});
        }

        if (playerFleet.isInHyperspace() || Global.getSector().getPlayerFleet().isInHyperspaceTransition() || playerFleet.getStarSystem() == null) {
            tooltip.addPara("You cannot deploy a planet-killer device in hyperspace.", bad, pad);
        }
« Last Edit: July 21, 2022, 08:18:32 AM by TheHZDev »
Logged

boggled

  • Admiral
  • *****
  • Posts: 1134
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1948 on: July 21, 2022, 02:21:42 PM »

One player reported when he was outside the core sector trying to view the description of the ability, "Deploy Planet-Killer Device". His game crashed.
This's his error:
90468 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
        at data.campaign.econ.abilities.Deploy_Planet_Killer.isUsable(Deploy_Planet_Killer.java:37)
        at data.campaign.econ.abilities.Deploy_Planet_Killer.createTooltip(Deploy_Planet_Killer.java:80)
        at com.fs.starfarer.ui.newui.G$3.createImpl(Unknown Source)
        at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.create(Unknown Source)
        at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.beforeShown(Unknown Source)
        at com.fs.starfarer.ui.Q.showTooltip(Unknown Source)
        at com.fs.starfarer.ui.ooOo.super.new(Unknown Source)
        at com.fs.starfarer.ui.ooOo.processInput(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.N.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.newui.AbilityPickerDialog.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.campaign.CampaignState.processInput(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.lang.Thread.run(Thread.java:748)

The "Deploy_Planet_Killer.java:37" is "SectorEntityToken closestMarketEntity = closestMarket.getPrimaryEntity();", which is belong to the function "isUsable".

Did this individual make changes to the source code of TASC? Unless I'm missing something, it doesn't appear that the line numbers in the stack trace match up with the default source code for 8.1.4. Line 37 from the 8.1.4 source file is actually "MarketAPI closestMarket = boggledTools.getClosestMarketToEntity(playerFleet);" and line 80 is "Color highlight = Misc.getHighlightColor();", which doesn't call isUsable.

Sir, this is some source code from file "Deploy_Planet_Killer.java". I have noted the error line.

    @Override
    public void createTooltip(TooltipMakerAPI tooltip, boolean expanded) {
        Color highlight = Misc.getHighlightColor();
        Color bad = Misc.getNegativeHighlightColor();

        LabelAPI title = tooltip.addTitle("Deploy Planet-Killer Device");
        float pad = 10.0F;
        tooltip.addPara("Use a planet-killer device to destroy a colony. This will severely damage relations with most major factions in the Sector.", pad, highlight, new String[]{});

        SectorEntityToken playerFleet = Global.getSector().getPlayerFleet();
        MarketAPI targetMarket = boggledTools.getClosestMarketToEntity(playerFleet);

        if (this.isUsable()) {      // Error Line : (Deploy_Planet_Killer.java:80)
            tooltip.addPara("Target colony: %s", pad, highlight, new String[]{targetMarket.getName()});
        }

        if (playerFleet.isInHyperspace() || Global.getSector().getPlayerFleet().isInHyperspaceTransition() || playerFleet.getStarSystem() == null) {
            tooltip.addPara("You cannot deploy a planet-killer device in hyperspace.", bad, pad);
        }

Can you send me the file you're getting that code from?
Logged

TheHZDev

  • Lieutenant
  • **
  • Posts: 60
    • View Profile
Re: [0.95.1a] Terraforming and Station Construction (v8.1.4)
« Reply #1949 on: July 21, 2022, 09:51:57 PM »

One player reported when he was outside the core sector trying to view the description of the ability, "Deploy Planet-Killer Device". His game crashed.
This's his error:
90468 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
        at data.campaign.econ.abilities.Deploy_Planet_Killer.isUsable(Deploy_Planet_Killer.java:37)
        at data.campaign.econ.abilities.Deploy_Planet_Killer.createTooltip(Deploy_Planet_Killer.java:80)
        at com.fs.starfarer.ui.newui.G$3.createImpl(Unknown Source)
        at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.create(Unknown Source)
        at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.beforeShown(Unknown Source)
        at com.fs.starfarer.ui.Q.showTooltip(Unknown Source)
        at com.fs.starfarer.ui.ooOo.super.new(Unknown Source)
        at com.fs.starfarer.ui.ooOo.processInput(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.N.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.newui.AbilityPickerDialog.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
        at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
        at com.fs.starfarer.ui.Q.processInput(Unknown Source)
        at com.fs.starfarer.campaign.CampaignState.processInput(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.lang.Thread.run(Thread.java:748)

The "Deploy_Planet_Killer.java:37" is "SectorEntityToken closestMarketEntity = closestMarket.getPrimaryEntity();", which is belong to the function "isUsable".

Did this individual make changes to the source code of TASC? Unless I'm missing something, it doesn't appear that the line numbers in the stack trace match up with the default source code for 8.1.4. Line 37 from the 8.1.4 source file is actually "MarketAPI closestMarket = boggledTools.getClosestMarketToEntity(playerFleet);" and line 80 is "Color highlight = Misc.getHighlightColor();", which doesn't call isUsable.

Sir, this is some source code from file "Deploy_Planet_Killer.java". I have noted the error line.

    @Override
    public void createTooltip(TooltipMakerAPI tooltip, boolean expanded) {
        Color highlight = Misc.getHighlightColor();
        Color bad = Misc.getNegativeHighlightColor();

        LabelAPI title = tooltip.addTitle("Deploy Planet-Killer Device");
        float pad = 10.0F;
        tooltip.addPara("Use a planet-killer device to destroy a colony. This will severely damage relations with most major factions in the Sector.", pad, highlight, new String[]{});

        SectorEntityToken playerFleet = Global.getSector().getPlayerFleet();
        MarketAPI targetMarket = boggledTools.getClosestMarketToEntity(playerFleet);

        if (this.isUsable()) {      // Error Line : (Deploy_Planet_Killer.java:80)
            tooltip.addPara("Target colony: %s", pad, highlight, new String[]{targetMarket.getName()});
        }

        if (playerFleet.isInHyperspace() || Global.getSector().getPlayerFleet().isInHyperspaceTransition() || playerFleet.getStarSystem() == null) {
            tooltip.addPara("You cannot deploy a planet-killer device in hyperspace.", bad, pad);
        }

Can you send me the file you're getting that code from?

Sure.

[attachment deleted by admin]
Logged
Pages: 1 ... 128 129 [130] 131 132 ... 222