Fractal Softworks Forum
April 18, 2019, 03:31:41 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Starsector 0.9a is out! (11/16/18); In-dev patch notes for 0.9.1a (01/31/19)
 
   Home   Help Search Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: [0.7.2a] TwigLib TWIG™ 0.6.11 [Superseded in 0.8]  (Read 43502 times)
Debido
Admiral
*****
Posts: 1183



View Profile
« Reply #30 on: March 02, 2016, 06:35:52 AM »

0.7.2



Needs a little bit of spit and polish, working on it.
« Last Edit: March 02, 2016, 07:39:04 AM by Debido » Logged
Debido
Admiral
*****
Posts: 1183



View Profile
« Reply #31 on: March 03, 2016, 12:21:17 AM »

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 03, 2016, 12:25:29 AM by Debido » Logged
Debido
Admiral
*****
Posts: 1183



View Profile
« Reply #32 on: March 03, 2016, 12:43:21 AM »

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
« Reply #33 on: March 10, 2016, 03:53:41 AM »

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 10, 2016, 04:08:36 AM by Debido » Logged
Weltall
Admiral
*****
Posts: 768



View Profile
« Reply #34 on: March 10, 2016, 01:02:43 PM »

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: 2612


Kickstarter is NOT a magic spring of free money!


View Profile Email
« Reply #35 on: March 10, 2016, 02:38:13 PM »

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
« Reply #36 on: March 10, 2016, 05:20:56 PM »

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: 2612


Kickstarter is NOT a magic spring of free money!


View Profile Email
« Reply #37 on: March 10, 2016, 05:41:46 PM »

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
« Reply #38 on: March 10, 2016, 05:49:35 PM »

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 Smiley I hope you are having a nice and hopefully relaxing day Smiley
Logged

Ignorance is bliss..
Argonic82
Ensign
*
Posts: 6


View Profile Email
« Reply #39 on: March 17, 2016, 04:52:42 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)
Logged
Debido
Admiral
*****
Posts: 1183



View Profile
« Reply #40 on: March 18, 2016, 01:09:19 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)

Thanks! I'll look into it.
Logged
NightKev
Commander
***
Posts: 104


View Profile
« Reply #41 on: March 20, 2016, 10: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.

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)
Logged
Debido
Admiral
*****
Posts: 1183



View Profile
« Reply #42 on: March 24, 2016, 05:13:33 AM »

Thanks! I'll have it updated real soon!
Logged
Debido
Admiral
*****
Posts: 1183



View Profile
« Reply #43 on: March 24, 2016, 07: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
« Reply #44 on: April 27, 2017, 10: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]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2011, Simple Machines
Simple Audio Video Embedder
Valid XHTML 1.0! Valid CSS!