Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95a is out! (03/26/21); Blog post: A Tale of Two Tech Levels (05/28/21)

Pages: 1 ... 3 4 [5] 6

Author Topic: [0.95a] MagicLib v0.34rc2 (2021/04/29)  (Read 222658 times)

Professor Pinkie

  • Ensign
  • *
  • Posts: 23
  • Best cupcakes in a sector!
    • View Profile
Re: [0.9.1] MagicLib v0.29 (2020/04/26)
« Reply #60 on: July 04, 2020, 12:31:54 PM »

Can anyone tell me any mod using MagicIncompatibleHullmod?

I want to see how it should work.
Logged

Cabbs

  • Ensign
  • *
  • Posts: 24
    • View Profile
Re: [0.9.1] MagicLib v0.29 (2020/04/26)
« Reply #61 on: July 05, 2020, 01:45:34 PM »

Can anyone tell me any mod using MagicIncompatibleHullmod?

I want to see how it should work.

Don't have a clean example to refer you too, but its super-easy to implement. 

You add code to your applyEffectsBeforeShipCreation like this:

Quote
if(stats.getVariant().getHullMods().contains("swp_shieldbypass")){

 MagicIncompatibleHullmods.removeHullmodWithWarning(stats.getVariant(), "swp_shieldbypass", "CBCC_shieldscaling");

 }

In my example:

1.  applyEffectsBeforeShipCreation runs every time you add a hullmod to a ship, so this check occurs whenever you change something
2.  If the mod with ID "swp_shieldbypass" is present, the IF triggers
3.  'MagicIncompatibleHullmods.removeHullmodWithWarning' removes "swp_shieldbypass" and replaces it with a dummy warning mod that specifies "CBCC_shieldscaling" as the reason, so these two mods can never be present together.


This is how it works as far as I know.
Logged

Professor Pinkie

  • Ensign
  • *
  • Posts: 23
  • Best cupcakes in a sector!
    • View Profile
Re: [0.9.1] MagicLib v0.29 (2020/04/26)
« Reply #62 on: July 05, 2020, 10:11:11 PM »

Silly me.

This is exactly what I was trying to do. My problem was: "eficiency_overhaul" instead of "efficiency_overhaul" in MagicIncompatibleHullmods.removeHullmodWithWarning(stats.getVariant(), "eficiency_overhaul", "my_hullmod");

In the future, I should read the log before asking people questions.

I apologize most deeply.
Logged

SafariJohn

  • Admiral
  • *****
  • Posts: 2035
    • View Profile
Re: [0.9.1] MagicLib v0.29 (2020/04/26)
« Reply #63 on: July 06, 2020, 07:14:28 PM »

Don't feel too bad, I thought a typo might be the problem and still missed that.
Logged

Morrokain

  • Admiral
  • *****
  • Posts: 1774
  • Megalith Dreadnought - Archean Order
    • View Profile
Re: [0.9.1] MagicLib v0.29 (2020/04/26)
« Reply #64 on: July 07, 2020, 01:44:41 PM »

I did as well.  :P
Logged

Titann

  • Commander
  • ***
  • Posts: 109
    • View Profile
    • Email
Re: [0.9.1] MagicLib v0.29 (2020/04/26)
« Reply #65 on: July 11, 2020, 01:56:43 AM »

first download link doesnt work and nexusmod requires login to download. First link says ERR_SSL_PROTOCOL_ERROR and its not safe, not sure why

edit: nvm i cant see download pictures with links on them because imgur is not allowed in our country for some reason lol
« Last Edit: July 11, 2020, 01:58:56 AM by tokmak333 »
Logged

jn_xyp

  • Ensign
  • *
  • Posts: 27
  • Ordinary Player, Java / Python Beginner.
    • View Profile
    • Jn_xyp's Blog (In Chinese)
    • Email
Re: [0.9.1] MagicLib v0.29 (2020/04/26)
« Reply #66 on: July 19, 2020, 07:50:33 AM »

Hi,

In order to facilitate Chinese players to download this essential mod, I would like to ask permission to repost this mod on the Starsector Chinese Forum.

I will keep all the description and author information, and follow further update of this post.
Logged
Ordinary Player, maintainer and customer support of fossic.org.

Tartiflette

  • Admiral
  • *****
  • Posts: 3277
  • Toss a coin to your Modder, O' valley of plenty
    • View Profile
Re: [0.9.1] MagicLib v0.29 (2020/04/26)
« Reply #67 on: July 19, 2020, 09:20:33 AM »

Wait, it wasn't there already? Of course you can, and you should!
Logged
 

jn_xyp

  • Ensign
  • *
  • Posts: 27
  • Ordinary Player, Java / Python Beginner.
    • View Profile
    • Jn_xyp's Blog (In Chinese)
    • Email
Re: [0.9.1] MagicLib v0.29 (2020/04/26)
« Reply #68 on: July 19, 2020, 09:59:39 AM »

Wait, it wasn't there already? Of course you can, and you should!

Actually it was there already, but we are now going through every reposts to check if there's proper authorization for reposting, and make sure the lib mod like this get updated in time  :D
Logged
Ordinary Player, maintainer and customer support of fossic.org.

Neitronus

  • Ensign
  • *
  • Posts: 31
    • View Profile
Re: [0.9.1] MagicLib v0.29 (2020/04/26)
« Reply #69 on: September 23, 2020, 08:41:03 AM »

Is it possible to update to fix version checker issue? There's an issue with version file being unreacheble on bitbucket after recent bitbucket change AFAIK.
Logged

Stealthlake2305

  • Ensign
  • *
  • Posts: 1
    • View Profile
Re: [0.9.1] MagicLib v0.29 (2020/04/26)
« Reply #70 on: October 01, 2020, 09:36:34 PM »

Tried to run it but it didn't work. The mods I have running are autosave 1.1bm, common radar 2.5b, lazylib 2.4f, Nexerelin 0.9.7b and they all work fine. Did I install it wrong?
Logged

Tartiflette

  • Admiral
  • *****
  • Posts: 3277
  • Toss a coin to your Modder, O' valley of plenty
    • View Profile
Re: [0.9.1] MagicLib v0.29 (2020/04/26)
« Reply #71 on: October 02, 2020, 12:39:48 AM »

MagicLib doesn't do anything by itself. It's a toolbox to make other mods easier to code.
Logged
 

Tartiflette

  • Admiral
  • *****
  • Posts: 3277
  • Toss a coin to your Modder, O' valley of plenty
    • View Profile
Re: [0.9.1] MagicLib v0.30 (2021/02/11)
« Reply #72 on: February 11, 2021, 01:26:53 AM »


The main new feature of this update are the new MagicSettings classes that allow mods to very easily externalize settings and whitelists/blacklists into a shared modSettings.json file, facilitating coss-mods integration and inter-compatibility. See the wiki pages for more info on the new functions as well as some implementation use cases.

I would also like to direct the attention of modders toward this thread where I explain the intention behind these new functions.

 This update also fixes a few minor issues and add new "flickering" and "jittering" parameters to MagicRender.

This won't break any saves or mods.

Download available here
Logged
 

Drew Dubious

  • Ensign
  • *
  • Posts: 3
    • View Profile
    • Email
Re: [0.9.1] MagicLib v0.30 (2021/02/11)
« Reply #73 on: March 09, 2021, 06:08:15 AM »

Hello, I recently started trying out mods and I run into this message when I load up a game.

There is 1 mod that failed its update check

-Magiclib (v0.3.0rc4, failed to load master version file from URL"https://bitbucket.org/CodingTartifette/mag-iclib/downloads/magiclib.version")

Failed to retrieve latest Starsector version (SLLHandshakeException): -Current: Starsector 0.9.1a-RCB


Im hoping someone here can help me out or point me in the right direction. Thanks in advance!
Logged

Wispborne

  • Commander
  • ***
  • Posts: 159
  • Discord: Wisp#0302
    • View Profile
Re: [0.9.1] MagicLib v0.30 (2021/02/11)
« Reply #74 on: March 09, 2021, 07:20:47 AM »

Hello, I recently started trying out mods and I run into this message when I load up a game.

There is 1 mod that failed its update check

-Magiclib (v0.3.0rc4, failed to load master version file from URL"https://bitbucket.org/CodingTartifette/mag-iclib/downloads/magiclib.version")

Failed to retrieve latest Starsector version (SLLHandshakeException): -Current: Starsector 0.9.1a-RCB


Im hoping someone here can help me out or point me in the right direction. Thanks in advance!

You can ignore that. It's simply saying that it was unable to automatically check to see if there was an update.
Assuming you downloaded the latest version, you're on the latest version and can ignore that message.
Pages: 1 ... 3 4 [5] 6