hi i keep having problems loading this mod i get:
Fatal Error loading [data.scripts.TTSC_modPlugin]
Cause:1 error while compiling unit
from log:
722906 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain - java.lang.RuntimeException: Error loading [data.scripts.TTSC_modPlugin]
java.lang.RuntimeException: Error loading [data.scripts.TTSC_modPlugin]
at com.fs.starfarer.loading.scripts.ScriptStore$3.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: 1 error(s) while compiling unit "data/scripts/TTSC_modPlugin.java"
at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:226)
at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:178)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 2 more
Caused by: org.codehaus.commons.compiler.CompileException: 1 error(s) while compiling unit "data/scripts/TTSC_modPlugin.java"
at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:326)
at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:224)
... 5 more
and data.scripts.ttsc_modPlugin is:
package data.scripts;
import com.fs.starfarer.api.BaseModPlugin;
import com.fs.starfarer.api.Global;
import com.fs.starfarer.api.PluginPick;
import com.fs.starfarer.api.campaign.CampaignPlugin;
import com.fs.starfarer.api.campaign.econ.MarketAPI;
import com.fs.starfarer.api.campaign.StarSystemAPI;
import com.fs.starfarer.api.characters.PersonAPI;
import com.fs.starfarer.api.impl.campaign.ids.Skills;
import data.scripts.world.TTSCGen;
import exerelin.campaign.SectorManager;
public class TTSC_modPlugin extends BaseModPlugin {
public void onApplicationLoad() {
{
boolean hasLazyLib = Global.getSettings().getModManager().isModEnabled("lw_lazylib");
if (!hasLazyLib) {
throw new RuntimeException("Tri-Tac Special Circumstances LazyLib!"
+ "\nGet it at
http://fractalsoftworks.com/forum/index.php?topic=5444");
}
boolean hasMagicLib = Global.getSettings().getModManager().isModEnabled("MagicLib");
if (!hasMagicLib) {
throw new RuntimeException("Tri-Tac Special Circumstances requires MagicLib!" + "\nGet it at
http://fractalsoftworks.com/forum/index.php?topic=13718");
}
}
}
}
i assume either public class TTSC_modPlugin extends BaseModPlugin {
or
import exerelin.campaign.SectorManager;
is the problem, does work with nexerelin , this is a problem a bunch of mods had and this mod also had an solved i think
so you could revert partly to an earlier version or try to use a solution from forums
https://fractalsoftworks.com/forum/index.php?topic=5061.4890 has it
maybe just add nex to the requirements? along with lazylib and magiclib, i mean it does in fact just not work wihout nex, maybe ask for help in the discord? i assume making your mod work wihout nex is common knowledge between modders since there are a bunch of mentions but no clear fix