Just post the mod.
Also search the log for data.hullmods.BaseScienceHullMod, it may be writing an error when it fails to load.
Is the zip deliberately incomplete? The mod_info.json references a LogisticsOverhaul.jar but no jar file exists in the zip; also there's no hull_mods.csv.
BaseScienceHullMod itself looks fine.
You're already on the Discord server so see if you can get someone to help you in real time; I'd do it but I'm tired.
Both those files exist, I just didn't include them. The jar intentionally, since it's essentially just a zip of the source folder.
java.lang.NoClassDefFoundError: data.hullmods.BaseScienceHullModis a result of the game looking for a compiled version of your class in the jar file and not finding it.
Both those files exist, I just didn't include them. The jar intentionally, since it's essentially just a zip of the source folder.
Whilst jars are just zips, they do not just contain .java source files. They include .class files, which are compiled versions of your .java files. I haven't checked properly yet, but probablyQuotejava.lang.NoClassDefFoundError: data.hullmods.BaseScienceHullModis a result of the game looking for a compiled version of your class in the jar file and not finding it.
public static int MAX_MODS = Global.getSettings().getInt("maxScienceHullmods");
{
"maxScienceHullmods":2,
}
Tried running the mod, figured out the problem:
BaseScienceHullMod has a static fieldCode: javaThere is no settings.json file containing maxScienceHullmods, so trying to get the value throws an exceptionpublic static int MAX_MODS = Global.getSettings().getInt("maxScienceHullmods");
causing BaseScienceHullMod to silently fail to load
which broke the hullmods whose Java classes derived from BaseScienceHullMod
Fixed by adding a file data/config/settings.json to the mod with the required value.Code: json{
"maxScienceHullmods":2,
}