Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Command [Es_ShipLevelDialog] not found in packages  (Read 1135 times)

Kessler

  • Ensign
  • *
  • Posts: 2
    • View Profile
Command [Es_ShipLevelDialog] not found in packages
« on: February 20, 2020, 11:10:28 AM »

Can someone please help me with the problem I'm facing? I'm new to the modding, so I started with something as easy as just editing an existing mod. I picked ExtraSystemReloaded, followed some guides on how to set everything up, did a little bit of changes in src/data/scripts (nothing too serious) but for some reason, when I compile everything in a jar and replace the existing jar I suddenly get this error during Starsector launch:
---
"33876 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - com.fs.starfarer.api.util.RuleException: java.lang.RuntimeException: Command [Es_ShipLevelDialog] not found in packages:
com.fs.starfarer.api.impl.campaign.rulecmd
com.fs.starfarer.api.impl.campaign.rulecmd.salvage
com.fs.starfarer.api.impl.campaign.rulecmd.newgame
com.fs.starfarer.api.impl.campaign.rulecmd.missions
data.scripts.campaign.rulecmd
org.lazywizard.console.rulecmd
org.wisp.gatesawakened
data.scripts.campaign.rulecmd
starship_legends.campaign.rulecmd"
---
I didn't change anything that could affect these rules or packages (I merely changed one UI text just to test it out), so I guess I'm compiling it wrong, but how? I've set up SDK, added all needed libraries as described here on the forums, but I just dont get how to fix this  :(
« Last Edit: February 20, 2020, 11:56:47 AM by Kessler »
Logged

SafariJohn

  • Admiral
  • *****
  • Posts: 3026
    • View Profile
Re: Command [Es_ShipLevelDialog] not found in packages
« Reply #1 on: February 21, 2020, 10:07:28 AM »

You probably compiled for Java 1.8 instead of 1.7
Logged

Kessler

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: Command [Es_ShipLevelDialog] not found in packages
« Reply #2 on: February 22, 2020, 07:07:52 PM »

This is my setup:

Is there some other settings I could check to make sure i'm compiling for the right Java?
« Last Edit: February 22, 2020, 07:10:21 PM by Kessler »
Logged

Sundog

  • Admiral
  • *****
  • Posts: 1727
    • View Profile
Re: Command [Es_ShipLevelDialog] not found in packages
« Reply #3 on: February 23, 2020, 07:13:14 AM »

Does data.scripts.campaign.rulecmd.Es_ShipLevelDialog actually exist? My best guess is that the source is out of date.