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 ... 12 13 [14]

Author Topic: [0.95a] LazyLib v2.6 (released 2021-03-26)  (Read 521623 times)

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1349
    • View Profile
    • GitHub Profile
Re: [0.9.1a] LazyLib v2.5b (released 2021-01-20)
« Reply #195 on: January 20, 2021, 03:56:35 PM »

There have been a few reports of text corruption with the console mod using the latest LazyLib. Unfortunately this seems to be sporadic and only one person has reported it happening more than once. If anyone is affected, could they please use the BugReport console command and send me the results? That command copies its results to the clipboard, so even if the console is illegible you should be able to paste the output elsewhere.
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1349
    • View Profile
    • GitHub Profile
Re: [0.9.1a] LazyLib v2.5c (released 2021-01-23)
« Reply #196 on: January 22, 2021, 10:50:30 PM »

Version 2.5c is out, get it here (mirror).

This update adds colored substring support to DrawableString, and also should fix the text rendering issues some users were experiencing since v2.5's release. My thanks to Dream from the Discord server for reporting this and helping test the fix.

Full changelog:
Quote
2.5c (January 23, 2021)
=========================
Changes to LazyFont.DrawableString:
 - Fixed rendering issues on some computers (thanks to Dream from the
   Discord server for reporting the bug and testing the fix)
 - Added colored substring support
 - Added appendText(String text, Color color)
 - Added appendText(String text, Color color, int indent)
 - Appending colored text only colors that substring, and all subsequent
   text will return to the base color chosen at DrawableString creation.
   To change the base color, call DrawableString.setColor()
« Last Edit: January 22, 2021, 11:09:04 PM by LazyWizard »
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1349
    • View Profile
    • GitHub Profile
Re: [0.95a] LazyLib v2.6 (released 2021-03-26)
« Reply #197 on: March 26, 2021, 11:25:23 AM »

Version 2.6 is out, get it here!

Changelog:
Quote
2.6 (March 26, 2021)
======================
Updated to be compatible with Starsector 0.95a
Updated bundled libraries:
 - kotlin-stdlib: v1.4.21 -> v1.4.31
 - kotlinx-coroutines: v1.4.2 -> v1.4.3
The Javadoc's index is now one single page
Added org.lazywizard.lazylib.IOUtils:
 - Contains methods to help with reading/writing files using the API
 - byte[] readAllBytes(String filePath), an API-safe port of
   java.nio.Files.readAllBytes()
Changes to LazyFont.DrawableString:
 - Added tab support (2x the base vertical height of the text)
 - Added append(String text)
 - Added append(String text, Color color)
 - Added appendIndented(String text, int indent)
 - Added appendIndented(String text, Color color, int indent)
 - Added getBlendSrc(), setBlendSrc(int blendSrc), getBlendDest(), and
   setBlendDest(int blendDest) to control color blending
Deprecated in LazyFont.DrawableString:
 - Deprecated all appendText() methods in favor of new append() equivalents.
   The append() variants take any object and return the DrawableString so that
   calls can be chained together
Logged

Harmful Mechanic

  • Admiral
  • *****
  • Posts: 1247
  • Ur-Quan Bastard
    • View Profile
Re: [0.95a] LazyLib v2.6 (released 2021-03-26)
« Reply #198 on: March 26, 2021, 02:05:10 PM »

Thank you for getting this out so fast. It's a big help to getting everything updated and running again in 0.95.
Logged
People need societies, but they don't necessarily need nations.

Fenrrisyyan

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.95a] LazyLib v2.6 (released 2021-03-26)
« Reply #199 on: April 17, 2021, 04:05:41 AM »

Hi !
I'm a huge fan of you're work but, I would like play with a mod (Ship_and_Weapon Pack_1.12.4) but, it is in version 0.9.1a of Starsector, and the mod required LazyLib 2.5c and Graphics Lib 1.4.5

I also would like to play with Dassault-Mikoyan-Engineering v.1.18a mod, and he also need MagicLib in [0.9.1a]

If someone have those mods in there version, can he send me in e-mail at this adress ? :

[email protected]

thanks you very much !
Logged

Gravemind1

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: [0.95a] LazyLib v2.6 (released 2021-03-26)
« Reply #200 on: April 24, 2021, 08:07:36 PM »

Seem to be getting an error with this and the MagicLib mods, always getting a CTD on launch, I look in the Starsector log and I see this wayyyyy at the bottom

-20003 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NoSuchMethodError: com.fs.starfarer.api.combat.CombatEngineAPI.addLayeredRenderingPlugin(Lcom/fs/starfarer/api/combat/CombatLayeredRenderingPlugin;)Lcom/fs/starfarer/api/combat/CombatEntityAPI;
java.lang.NoSuchMethodError: com.fs.starfarer.api.combat.CombatEngineAPI.addLayeredRenderingPlugin(Lcom/fs/starfarer/api/combat/CombatLayeredRenderingPlugin;)Lcom/fs/starfarer/api/combat/CombatEntityAPI;
   at data.scripts.plugins.MagicTrailPlugin.init(MagicTrailPlugin.java:1321)
   at com.fs.starfarer.title.Object.float$Oo.o00000(Unknown Source)
   at com.fs.starfarer.combat.oOOO.B.รต00000(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.init(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.prepare(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$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


Also found 2 errors with this:
11330 [Thread-4] ERROR com.fs.starfarer.loading.ShipHullSpreadsheetLoader  - Ship hull spec [flare] not found in ship_data.csv
11330 [Thread-4] ERROR com.fs.starfarer.loading.ShipHullSpreadsheetLoader  - Ship hull spec [module_hightech_decor] not found in ship_data.csv
Sorry if this looks like spam

I may be an idiot, ignore this post for now lol
« Last Edit: April 24, 2021, 08:12:22 PM by Gravemind1 »
Logged

HySOqvs0sB8

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.95a] LazyLib v2.6 (released 2021-03-26)
« Reply #201 on: May 08, 2021, 08:33:47 AM »

I was searching for the root of a memory leak, when I noticed that I'm getting exceptions from Lazyfont.DrawableString.finalize() / stack trace attached

The issue seems to be that the ContextCapabilities objects are stored in ThreadLocals, so code from the finalizer thread won't find anything there, and no cleanup will be performed.



Logged
Pages: 1 ... 12 13 [14]