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

Author Topic: [0.97a] LazyLib v2.8b (released 2024-02-02)  (Read 979263 times)

Dwarden

  • Commander
  • ***
  • Posts: 196
    • View Profile
Re: [0.9.1a] LazyLib v2.4e (released 2019-04-21)
« Reply #180 on: November 08, 2019, 06:14:00 PM »

just for reference: got all of sudden crash on Starsector startup load

Spoiler
236946 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NoSuchMethodError: kotlin.text.StringsKt.trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
java.lang.NoSuchMethodError: kotlin.text.StringsKt.trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
   at org.lazywizard.console.ConsoleModPlugin.migrateSettings(ConsolePlugins.kt:22)
   at org.lazywizard.console.ConsoleModPlugin.onApplicationLoad(ConsolePlugins.kt:37)
   at com.fs.starfarer.loading.ResourceLoaderState.init(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]

Spoiler
the only `kotlin.text` reference i found is in LazyLib
the only `StringsKt.trim` reference i found are in LazyLib and [0.9.1a] Kiith Nabaal Shipyard 1.2 - Vaygr Destroyer )

thanks for any tips what could be the issue

crossposted into KNS too : https://fractalsoftworks.com/forum/index.php?topic=16360.msg271226#msg271226
note: the crash is triggered by KNS mod as disabling it allows StarSector to load w/o issue
[close]


fixed
« Last Edit: November 08, 2019, 10:55:50 PM by Dwarden »
Logged

Ethanrainbows

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: [0.9.1a] LazyLib v2.4e (released 2019-04-21)
« Reply #181 on: November 19, 2019, 03:42:00 AM »

I'm not sure how to get it it to work, but v2.4e is not functioning with the game version 0.9.1a for me. I have made sure all my mod files are in the right place, made sure I don't have old versions of mods in the Starsector/mods folder. It tells me I may need to adjust MOD_ID through org.lazywizard.lazylib.LazyLib, but following that directory brings me to a google chrome link to a site with a bunch of classes and information. I'm not sure what to do, what sort of troubleshooting I may need to do. Help a poor vanilla player out.
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.9.1a] LazyLib v2.4e (released 2019-04-21)
« Reply #182 on: November 19, 2019, 03:52:14 AM »

In mod_info.json in the LazyLib Mod folder, id should be "lw_lazylib".
Logged

Ethanrainbows

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: [0.9.1a] LazyLib v2.4e (released 2019-04-21)
« Reply #183 on: November 19, 2019, 03:57:04 AM »

file ID is "lw_lazylib" , file name is LazyLib, not sure what I'm doing wrong
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.9.1a] LazyLib v2.4e (released 2019-04-21)
« Reply #184 on: November 19, 2019, 03:58:26 AM »

What's the exact error you're getting? Could you paste the end of starsector-core/starfarer.log after a crash?
Logged

Ethanrainbows

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: [0.9.1a] LazyLib v2.4e (released 2019-04-21)
« Reply #185 on: November 19, 2019, 04:00:50 AM »

java.lang.RuntimeException: Error compiling [org.lazywizard.lazylib.LazyLib]
   at com.fs.starfarer.loading.scripts.ScriptStore$3.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.lazywizard.lazylib.LazyLib
   at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:179)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   ... 2 more
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.9.1a] LazyLib v2.4e (released 2019-04-21)
« Reply #186 on: November 19, 2019, 04:01:57 AM »

The file structure is <install directory>/mods/LazyLib/mod_info.json? And you tagged LazyLib in the launcher?
Logged

Ethanrainbows

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: [0.9.1a] LazyLib v2.4e (released 2019-04-21)
« Reply #187 on: November 19, 2019, 04:05:26 AM »

Never mind, I've figured it out. I had extracted the files into a new folder in the /mods/ folder, and moved only the .json file into the /LazyLib/. Moving everything into /LazyLib/ has fixed my crash on startup issue
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.9.1a] LazyLib v2.4f (released 2020-01-31)
« Reply #188 on: January 31, 2020, 12:03:27 AM »

Version 2.4f is up, get it here.

This update adds no new features, and is purely a housekeeping release due to the upcoming deletion of the repository on Bitbucket. Hosting has been switched to GitHub, which as a bonus means the Javadoc is available online again.

Changelog:
Quote
2.4f (January 31, 2020)
=========================
Updated bundled Kotlin runtime library to v1.3.61
Javadoc is now available online at https://lazywizard.github.io/lazylib
Moved .version file hosting to GitHub
Logged

DonW427

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: [0.9.1a] LazyLib v2.4f (released 2020-01-31)
« Reply #189 on: February 08, 2020, 05:22:32 PM »

It still says 2.4e in the Mods screen
Logged

jn_xyp

  • Ensign
  • *
  • Posts: 28
  • Ordinary Player, Fossic.org customer support
    • View Profile
    • Jn_xyp's Blog (In Chinese)
Re: [0.9.1a] LazyLib v2.4f (released 2020-01-31)
« Reply #190 on: July 19, 2020, 07:51:11 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.

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.9.1a] LazyLib v2.4f (released 2020-01-31)
« Reply #191 on: July 19, 2020, 11:15:38 AM »

Of course you can, that's not a problem. :)
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.9.1a] LazyLib v2.4g (released 2021-01-18)
« Reply #192 on: January 18, 2021, 02:00:55 PM »

Version 2.4g is up, get it here (mirror).

This update fixes a bug with DrawableString that caused text to become corrupted when rendering in the campaign. It also updates the bundled Kotlin libraries to their latest versions.

Changelog:
Quote
Updated bundled libraries:
 - kotlin-stdlib: v1.3.61 -> v1.4.21
 - kotlinx-coroutines: v1.2.0 -> v1.4.2
 - jetbrains-annotations: v13.0 -> v20.1.0
 - removed kotlinx-atomicfu (this was an erroneous dependency added by
   an earlier version of kotlinx-coroutines and wasn't used for anything)
Changes to LazyFont:
 - Rewrote DrawableString to use vertex buffers instead of display lists.
   This should fix a bug that caused text corruption and visual glitches
   when DrawableStrings were rendered in the campaign layer
Deprecated in LazyFont:
 - Deprecated drawText(String text, float x, float y, float fontSize,
   float maxWidth, float maxHeight), use createText() instead
Logged

ddbb07

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.9.1a] LazyLib v2.4g (released 2021-01-18)
« Reply #193 on: January 18, 2021, 02:22:43 PM »

Thanks for the update
Logged

LazyWizard

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

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

This update fixes a rare crash bug when a lengthy word in a DrawableString was word-wrapped with a hyphen. I've also retroactively renamed the previous release, 2.4g, to 2.5.

Full changelog:
Quote
2.5b (January 20, 2021)
=========================
Retroactively renamed v2.4g to v2.5
Changes to LazyFont:
 - Added getFontName()
Changes to LazyFont.DrawableString:
 - Fixed a crash with word-wrapped text that includes a hyphenated line break
 - Added setRenderDebugBounds(), which draws a box showing the text's width,
   height, and position
« Last Edit: January 20, 2021, 03:54:15 PM by LazyWizard »
Logged
Pages: 1 ... 11 12 [13] 14 15 16