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

Author Topic: [0.9.1a] LazyLib v2.4e (released 2019-04-21)  (Read 305767 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: 1278
    • View Profile
    • Bitbucket 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: 1278
    • View Profile
    • Bitbucket 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: 1278
    • View Profile
    • Bitbucket 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
Pages: 1 ... 11 12 [13]