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: Personal Contacts (08/13/20)

Pages: 1 ... 11 12 [13]

Author Topic: [0.9.1a] LazyLib v2.4f (released 2020-01-31)  (Read 418404 times)

Dwarden

  • Commander
  • ***
  • Posts: 148
    • 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: 1320
    • 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: 1320
    • 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: 1320
    • 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: 1320
    • 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
    • Email
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: 25
  • Ordinary Player, Java / Python Beginner.
    • View Profile
    • Jn_xyp's Blog (In Chinese)
    • Email
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, Java / Python Beginner.
Github: https://github.com/jnxyp/

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1320
    • 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
Pages: 1 ... 11 12 [13]