Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Pages: 1 ... 6 7 [8] 9 10 ... 12

Author Topic: [OUTDATED] MagicLib  (Read 536875 times)

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.95a] MagicLib v0.40rc3 (2021/12/15)
« Reply #106 on: December 22, 2021, 10:25:56 AM »

Wait, I see the issue, you have not set a fleet name for your bounty.
Logged
 

Yunru

  • Admiral
  • *****
  • Posts: 1560
    • View Profile
Re: [0.95a] MagicLib v0.40rc3 (2021/12/15)
« Reply #107 on: December 22, 2021, 11:33:31 AM »

I could of swore it said it defaulted to something?

Edit: Ah, it says it defaults to no name. I took that to mean we could have nameless fleets.

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.95.1a] MagicLib v0.41rc1 (2021/12/27)
« Reply #108 on: December 27, 2021, 11:00:42 AM »



This update introduces a new functionality (fix?) thanks to Wyvern: AI colonies will now replace their industry items if they are sold better ones, for example when selling a pristine nanoforge on a market that already has a corrupted one installed. This system work with both vanilla and modded items and industries. Modders just have to add their item rating to the appropriate section of modSettings.json to enable the functionality.

Furthermore, this update includes a large polish and bug-fixing pass to MagicBounties, with a few new functionalities like forcing the auto-fitter on the flagship or the escort ships, or posting bounties on existing fleets.

ATTENTION TO MODDERS MAKING BOUNTIES: bounties no longer have to be registered in modSettings.json, all of them will be loaded directly from the MagicBounty_data.json file. However that means mod requirements are now defined via a new parameter in the bounty data itself. My apologies for the inconvenience, I believe the simplicity it worth the change while the system isn't yet widely used.

I also wrote a detailed breakdown on how to write bounties on the wiki.

changelog
0.41

Added MagicIndustryItemWrangler:
   - Courtesy of Wyvern.
   - Allows mods to define "rating" for their items that can be mounted in the same industries as other items.
   - When an item with higher priority is sold at a public market, the AI will replace the existing one in its industry.
   - Works on both vanilla and modded industries.
   - Items priority is defined in modSettings.json

MagicBounties:
   - MagicBounties no longer requires a modSettings.json entry.
   - WARNING: HOW BOUNTIES DEFINE MOD REQUIREMENTS HAS BEEN CHANGED!
 PLEASE REFER TO THE EMPTY BOUNTY FILES IN THE MOD TO ADD THE NEW MOD REQUIREMENT PARAMETER.
   - Removed Bounties Expanded hvb check.
   - Added parameters to magicBounty_data to force the autofitter on the flagship/preset ships.
   - Variables should now properly get replaced in the conclusion intel.
   - Fixed another source of crashes from HVB conversions.
   - Accepted bounties are now placed in the "MISSION" intel tab rather than bounties.
   - Added another blacklist tag to prevent having bounties in Blackhole or Pulsar systems.

MagicCampaign:
   - Fixed an issue with the quality setting that was modifying the Flagship and Preset ships loadouts to fit its value,
   - Flagship and escort ships now keep their original variants unless the autofitter is specifically allowed to alter them.

[close]


This update is save compatible.

If you are using it, please also update the Locked and Loaded bounty pack.


Always DELETE the old version before extracting the new one
Requires LazyLib
« Last Edit: December 27, 2021, 11:03:21 AM by Tartiflette »
Logged
 

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.95.1a] MagicLib v0.41rc1 (2021/12/27)
« Reply #110 on: December 27, 2021, 01:14:56 PM »

The modSetting section is now unused and not even read anymore. You can delete it whenever.
Logged
 

Yunru

  • Admiral
  • *****
  • Posts: 1560
    • View Profile
Re: [0.95.1a] MagicLib v0.41rc1 (2021/12/27)
« Reply #111 on: December 27, 2021, 01:19:43 PM »

Ah, right. Bounty hotfix it is!

If there's an invalid field in the json, it'll just skip it right?
Trying to figure out if I need to swap completely, or can maintain support for both.

Edit: Answered my own question. No, it doesn't skip. It'll just not load the bounty when you click on it.

Wyvern

  • Admiral
  • *****
  • Posts: 3786
    • View Profile
Re: [0.95.1a] MagicLib v0.41rc1 (2021/12/27)
« Reply #112 on: December 27, 2021, 01:56:22 PM »

For reference, vanilla Starsector can upgrade a corrupted nanoforge if you sell off a pristine one - that specific upgrade path (from corrupted to pristine) is hard-coded into the heavy industry implementation. Anything else, and the first item sold will stick.
Logged
Wyvern is 100% correct about the math.

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.95.1a] MagicLib v0.41rc2 (2021/12/30)
« Reply #113 on: December 30, 2021, 12:21:31 AM »



HOTFIX TIME! There was a few issues left in there, weren't there?

changelog
[RC2]
MagicBounties:
   - Further work on properly converting HVBs.
   - Fixed overzealous "invalid" bounty checker.
   - Improved difficulty rating.
   - Fixed some errors related to incorrect fleet and reward scaling.
   - More informative logs in dev mode to see what is going on while writing bounties.
MagicCampaign:
   - Fixed the fleet quality thing that I broke when I tried to make it toggleable on the flagship/escort, that I repaired in 0.40 but was messing up the Flagship/escort loadouts, that never worked before... It's been a journey.
[close]

This update is save compatible.
If you are using it, please also update the Locked and Loaded bounty pack.


Always DELETE the old version before extracting the new one
Requires LazyLib
Logged
 

Godvana

  • Ensign
  • *
  • Posts: 33
    • View Profile
Re: [0.95.1a] MagicLib v0.41rc2 (2021/12/30)
« Reply #114 on: January 04, 2022, 08:49:45 PM »

Having a lot of issues getting the higher end HVBs to show up. I'm level 12 and have a very large fleet and it seems live I've checked every single core world but they aren't showing up. Any ideas?
Logged

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.95.1a] MagicLib v0.41rc2 (2021/12/30)
« Reply #115 on: January 05, 2022, 12:20:53 AM »

Can you send me a list of the bounties you have left available? You can use console command MagicLib_ListBounties to do that. I suspect the last HVBs have relationship requirements such as being hostile or allied to various factions.

I may look into adding a console command to check what are the requirements for all available bounties, for the completionists out there.
Logged
 

Godvana

  • Ensign
  • *
  • Posts: 33
    • View Profile
Re: [0.95.1a] MagicLib v0.41rc2 (2021/12/30)
« Reply #116 on: January 05, 2022, 03:36:18 AM »

Logged

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.95.1a] MagicLib v0.41rc2 (2021/12/30)
« Reply #117 on: January 05, 2022, 04:24:37 AM »

HA! The explanation is quite simple: most of these bounties were made before the skill rework of 0.95 and require a level 30 character!
Logged
 

Godvana

  • Ensign
  • *
  • Posts: 33
    • View Profile
Re: [0.95.1a] MagicLib v0.41rc2 (2021/12/30)
« Reply #118 on: January 05, 2022, 04:50:54 AM »

That sure might explain it. That said, as I temporary solution I could edit the bounties to drop down the level requirements.

Would it be possible for MagicBounty to ignore the level requirement when converting HVBs to MagicBounties?
Logged

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: [0.95.1a] MagicLib v0.41rc2 (2021/12/30)
« Reply #119 on: January 05, 2022, 07:16:39 AM »

It's not really an option since then you would get flooded with bounties that have ludicrous threat levels. I can setup the conversion so that it caps the required level to the max vanilla level though.
Logged
 
Pages: 1 ... 6 7 [8] 9 10 ... 12