Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.9.1a is out! (05/10/19); Blog post: Skills and Story Points (07/08/19)

Pages: 1 2 [3]

Author Topic: [0.7.2a] TwigLib TWIG™ 0.6.11 [Superseded in 0.8]  (Read 44570 times)

Debido

  • Admiral
  • *****
  • Posts: 1183
    • View Profile
Re: TwigLib TWIG™ for Interim 0.7.1-RC5 patch.
« Reply #30 on: March 01, 2016, 10:35:52 PM »

0.7.2



Needs a little bit of spit and polish, working on it.
« Last Edit: March 01, 2016, 11:39:04 PM by Debido »
Logged

Debido

  • Admiral
  • *****
  • Posts: 1183
    • View Profile
Re: TwigLib TWIG™ 0.6.9 [for 0.7.2a]
« Reply #31 on: March 02, 2016, 04:21:17 PM »

Download 0.6.9

  • Added/implemented remaining methods for 0.7.2a
  • Now suppresses spawning of parts notifications
  • Allied ship parts are now spawned as allied rather than player parts.
« Last Edit: March 02, 2016, 04:25:29 PM by Debido »
Logged

Debido

  • Admiral
  • *****
  • Posts: 1183
    • View Profile
Re: TwigLib TWIG™ 0.6.9 [for 0.7.2a]
« Reply #32 on: March 02, 2016, 04:43:21 PM »

Apparently had some of the version numbers incorrectly stated, updated them in the files. I've replaced the 0.6.9 download with an update one correcting that.
Logged

Debido

  • Admiral
  • *****
  • Posts: 1183
    • View Profile
Re: [0.7.2a] TwigLib TWIG™ 0.6.10
« Reply #33 on: March 09, 2016, 07:53:41 PM »

Download 0.6.10

Modified the default behavior of getRoot(ShipAPI ship) to not return the root if the multiship part is detached from the parent to cause less headaches to modders.
« Last Edit: March 09, 2016, 08:08:36 PM by Debido »
Logged

Weltall

  • Admiral
  • *****
  • Posts: 768
    • View Profile
Re: [0.7.2a] TwigLib TWIG™ 0.6.10
« Reply #34 on: March 10, 2016, 05:02:43 AM »

Out of curiosity; Why 0.6.8a is not offered anymore? Was it giving problems? I am playing again SS, and I am going around collecting mods for 0.7.1a. I realized I have 0.6.8a, but it is taken down. Was it problematic?
Logged
Ignorance is bliss..

Tartiflette

  • Admiral
  • *****
  • Posts: 2662
  • Kickstarter is NOT a magic spring of free money!
    • View Profile
    • Email
Re: [0.7.2a] TwigLib TWIG™ 0.6.10
« Reply #35 on: March 10, 2016, 06:38:13 AM »

Out of curiosity; Why 0.6.8a is not offered anymore? Was it giving problems? I am playing again SS, and I am going around collecting mods for 0.7.1a. I realized I have 0.6.8a, but it is taken down. Was it problematic?
Allied TWIG ships were spawning armor bit that were part of your player fleet. Also some mod scripted weapons that were check if they hit a Twig part to apply their effect to the parent ship still did that when hitting an already destroyed Twig part floating around.
Logged
 

Weltall

  • Admiral
  • *****
  • Posts: 768
    • View Profile
Re: [0.7.2a] TwigLib TWIG™ 0.6.10
« Reply #36 on: March 10, 2016, 09:20:56 AM »

Allied TWIG ships were spawning armor bit that were part of your player fleet. Also some mod scripted weapons that were check if they hit a Twig part to apply their effect to the parent ship still did that when hitting an already destroyed Twig part floating around.

That definitely sounds problematic XD Thanks for the answer Tartiflette. I am sure the main reason I am using TwigLib is SCY. That means I should use 0.6.7a instead of the 0.6.8a that I have?
Logged
Ignorance is bliss..

Tartiflette

  • Admiral
  • *****
  • Posts: 2662
  • Kickstarter is NOT a magic spring of free money!
    • View Profile
    • Email
Re: [0.7.2a] TwigLib TWIG™ 0.6.10
« Reply #37 on: March 10, 2016, 09:41:46 AM »

That definitely sounds problematic XD Thanks for the answer Tartiflette. I am sure the main reason I am using TwigLib is SCY. That means I should use 0.6.7a instead of the 0.6.8a that I have?
Those problems were standing issues in 0.7.1. If you want to play with that version of the game, you should dig the "fix" I put up in the Scy thread.
Logged
 

Weltall

  • Admiral
  • *****
  • Posts: 768
    • View Profile
Re: [0.7.2a] TwigLib TWIG™ 0.6.10
« Reply #38 on: March 10, 2016, 09:49:35 AM »

Those problems were standing issues in 0.7.1. If you want to play with that version of the game, you should dig the "fix" I put up in the Scy thread.

Thank you for the heads up! Got it as you suggested and will use that :) I hope you are having a nice and hopefully relaxing day :)
Logged
Ignorance is bliss..

Argonic82

  • Ensign
  • *
  • Posts: 6
    • View Profile
    • Email
Re: [0.7.2a] TwigLib TWIG™ 0.6.10
« Reply #39 on: March 17, 2016, 09:52:42 AM »

Hi, I've been having crashes with the latest version of TwigLib. It happens when I fight Scy ships. Before you ask I have all my mods updated and they are all compatible with each other. Here is the tail end of one of the crash logs:

Code
11192384 [Thread-10] INFO  sound.O  - Creating streaming player for music with id [Spacer15Seconds.ogg]
11192385 [Thread-10] INFO  sound.H  - Playing music with id [Spacer15Seconds.ogg]
11193161 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.ClassCastException: db.twiglib.core.SubNode cannot be cast to db.twiglib.core.RootShipAPI
java.lang.ClassCastException: db.twiglib.core.SubNode cannot be cast to db.twiglib.core.RootShipAPI
at db.twiglib.TwigUtils.getChildNodesAsShips(TwigUtils.java:58)
at data.scripts.util.SSP_Twig.empTargetTwig(SSP_Twig.java:27)
at data.scripts.weapons.SSP_TachyonLanceEffect.advance(SSP_TachyonLanceEffect.java:47)
at com.fs.starfarer.combat.entities.ship.A.G.advance(Unknown Source)
at com.fs.starfarer.combat.systems.void.advanceLinked(Unknown Source)
at com.fs.starfarer.combat.systems.void.advance(Unknown Source)
at com.fs.starfarer.combat.entities.Ship.fire(Unknown Source)
at com.fs.starfarer.combat.entities.Ship.advance(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
at com.fs.starfarer.combat.CombatState.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$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Logged

Debido

  • Admiral
  • *****
  • Posts: 1183
    • View Profile
Re: [0.7.2a] TwigLib TWIG™ 0.6.10
« Reply #40 on: March 17, 2016, 06:09:19 PM »

Hi, I've been having crashes with the latest version of TwigLib. It happens when I fight Scy ships. Before you ask I have all my mods updated and they are all compatible with each other. Here is the tail end of one of the crash logs:

Code
11192384 [Thread-10] INFO  sound.O  - Creating streaming player for music with id [Spacer15Seconds.ogg]
11192385 [Thread-10] INFO  sound.H  - Playing music with id [Spacer15Seconds.ogg]
11193161 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.ClassCastException: db.twiglib.core.SubNode cannot be cast to db.twiglib.core.RootShipAPI
java.lang.ClassCastException: db.twiglib.core.SubNode cannot be cast to db.twiglib.core.RootShipAPI
at db.twiglib.TwigUtils.getChildNodesAsShips(TwigUtils.java:58)
at data.scripts.util.SSP_Twig.empTargetTwig(SSP_Twig.java:27)
at data.scripts.weapons.SSP_TachyonLanceEffect.advance(SSP_TachyonLanceEffect.java:47)
at com.fs.starfarer.combat.entities.ship.A.G.advance(Unknown Source)
at com.fs.starfarer.combat.systems.void.advanceLinked(Unknown Source)
at com.fs.starfarer.combat.systems.void.advance(Unknown Source)
at com.fs.starfarer.combat.entities.Ship.fire(Unknown Source)
at com.fs.starfarer.combat.entities.Ship.advance(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
at com.fs.starfarer.combat.CombatState.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$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Thanks! I'll look into it.
Logged

NightKev

  • Commander
  • ***
  • Posts: 104
    • View Profile
Re: [0.7.2a] TwigLib TWIG™ 0.6.10
« Reply #41 on: March 20, 2016, 03:34:55 AM »

I just encountered that too, though I'd fought many SCY fleets prior to the crash so it was rather surprising. The only difference I know of is that the fleet that crashed had a "Nemean Lion Battle Fortress" and none of the others I fought did (though plenty had twiglib-enabled armored ships); my fleet loadout (ships/weapons) was pretty static. I'm using 0.6.10 of TwigLib and 0.99c of SCY.

Spoiler
15487948 [Thread-4] INFO  com.fs.starfarer.combat.CombatEngine  - FP1: 336, FP2: 286, maxFP1: 160, maxFP2: 140
15488233 [Thread-4] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Chatter plugin initialized
15488233 [Thread-4] INFO  org.tc.autonomous.AutonomousCommandsPlugin  - Autonomous commands plugin initialized
15653761 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.ClassCastException: db.twiglib.core.SubNode cannot be cast to db.twiglib.core.RootShipAPI
java.lang.ClassCastException: db.twiglib.core.SubNode cannot be cast to db.twiglib.core.RootShipAPI
   at db.twiglib.TwigUtils.getChildNodesAsShips(TwigUtils.java:58)
   at data.scripts.util.SSP_Twig.empTargetTwig(SSP_Twig.java:27)
   at data.scripts.weapons.SSP_IonBeamEffect.advance(SSP_IonBeamEffect.java:48)
   at com.fs.starfarer.combat.entities.ship.oOOO.oOoOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.advance(Unknown Source)
   at com.fs.starfarer.combat.systems.oOoO.o00000(Unknown Source)
   at com.fs.starfarer.combat.systems.oOoO.advance(Unknown Source)
   at com.fs.starfarer.combat.entities.Ship.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatState.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$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
[close]
Logged

Debido

  • Admiral
  • *****
  • Posts: 1183
    • View Profile
Re: [0.7.2a] TwigLib TWIG™ 0.6.10
« Reply #42 on: March 23, 2016, 10:13:33 PM »

Thanks! I'll have it updated real soon!
Logged

Debido

  • Admiral
  • *****
  • Posts: 1183
    • View Profile
Re: [0.7.2a] TwigLib TWIG™ 0.6.10
« Reply #43 on: March 24, 2016, 12:54:18 AM »

Download 0.6.11

Modified the default behavior of isMultiShip to not return true if it is a detached node if it is dead.
Logged

Debido

  • Admiral
  • *****
  • Posts: 1183
    • View Profile
Re: [0.7.2a] TwigLib TWIG™ 0.6.11 [Depreceted as of 0.8]
« Reply #44 on: April 27, 2017, 03:27:37 AM »

TwigLib has been superseded by the built in space station functionality that also allows multi-part ships. Migrating from TwigLib to the built in function to the new system is straight forward as it uses the same weapon slot based modularity but without the need for additional JSON files beyond variant files.
Logged
Pages: 1 2 [3]