16
Mods / Re: [0.95.1a] Realistic Combat 1.8.0
« on: July 24, 2022, 11:45:52 AM »So I've run into a bit of a roadblock. I've been trying for the last few hours to get this mod to work alongside my other mods, even cutting them down to just what is necessary (such as magiclib and the like) but unless I run the game with only RC enabled, the game will fail to boot. It loads normally and there are minimal errors/warnings in the log until the bar fills and my mouse curser turns into a loading wheel and will load infinitely until closing the program. The final error message on the log when this happens is as follows:
350702 [Thread-3] ERROR ProxyTools - Throwable from method named 'getProjectileSpeed'
java.lang.invoke.WrongMethodTypeException: cannot convert MethodHandle(N,MutableShipStatsAPI,WeaponAPI)float to (WeaponSpecAPI)float
at java.lang.invoke.MethodHandle.asTypeUncached(MethodHandle.java:775)
at java.lang.invoke.MethodHandle.asType(MethodHandle.java:761)
at java.lang.invoke.Invokers.checkGenericType(Invokers.java:321)
at proxies.ProjectileWeaponSpecProxy.getProjectileSpeed(ProjectileWeaponSpecProxy.java:129)
at scripts.WeaponStats.modifyProjectileWeaponSpec(WeaponStats.java:132)
at scripts.WeaponStats.modifyWeaponSpec(WeaponStats.java:209)
at plugins.ModPlugin.modifyAllWeaponSpecs(ModPlugin.java:92)
at plugins.ModPlugin.modifySpecs(ModPlugin.java:109)
at plugins.ModPlugin.onApplicationLoad(ModPlugin.java:115)
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.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
Additionally, I went into the mods config file and disabled the total conversion tag but this didn't seem to make a difference outside of the mod loader itself.
I had this problem until this morning. I believe liral released an unannounced patch and it's fixed in the new version
Thanks for the tip, I'll try reinstalling the mod to see if that helps
UPADTE: after deleting and installing the new version of the mod, I got the following fatal message when trying to load the game:
Fatal: java.io.IOException: Unable to load: sounds/ISTL/istlweapons/istl_elctrogun_01.ogg
Cause:Unable to load: sounds/ISTL/istlweapons/istl_electrogun_01.ogg
Check starsector.log for more info.
Final error in the log:
250807 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain - java.lang.RuntimeException: java.io.IOException: Unable to load: sounds/ISTL/istlweapons/istl_electrogun_01.ogg
java.lang.RuntimeException: java.io.IOException: Unable to load: sounds/ISTL/istlweapons/istl_electrogun_01.ogg
at sound.Sound.<init>(Unknown Source)
at com.fs.starfarer.loading.super.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Unable to load: sounds/ISTL/istlweapons/istl_electrogun_01.ogg
at sound.OoOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOO.o00000(Unknown Source)
... 5 more
Caused by: java.lang.ClassCastException: java.util.HashMap$Node cannot be cast to java.util.HashMap$TreeNode
at java.util.HashMap$TreeNode.moveRootToFront(HashMap.java:1835)
at java.util.HashMap$TreeNode.treeify(HashMap.java:1951)
at java.util.HashMap.treeifyBin(HashMap.java:772)
at java.util.HashMap.putVal(HashMap.java:644)
at java.util.HashMap.put(HashMap.java:612)
... 6 more