Open lugiy6969 opened 3 years ago
🐵
Make sure to turn Discord RPC on. SalHack will not start if it is not enabled. My client used to crash like this.
at me.ionar.salhack.managers.DiscordManager.disable(DiscordManager.java:51) ^ My rouge Java knowledge tells me this is the issue Turn it on without logging into the game by going into your
.minecraft\SalHack\Presets\<your current preset>\Modules\DiscordRPC.json
and changeenabled
totrue
.
next time your salhack does monkey like this delete config folder
Describe the bug salhack used to work. now it dont work. i use forge impact and forge wurst.
To Reproduce Steps to reproduce the behavior: i removed it from mods folder and put it back now it dont work
Expected behavior it to still work Screenshots If applicable, add screenshots to help explain your problem.
Additional context ---- Minecraft Crash Report ----
WARNING: coremods are present: WCoreMod (ForgeWurst-0.11-MC1.12.2.jar) MixinLoaderForge (salhack-github-2.05-release (1).jar) Contact their authors BEFORE contacting forge
// Why did you do that?
Time: 4/13/21 3:58 PM Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from SalHack (salhack) Caused by: java.lang.NullPointerException at me.ionar.salhack.managers.DiscordManager.disable(DiscordManager.java:51) at me.ionar.salhack.module.misc.DiscordRPCModule.onDisable(DiscordRPCModule.java:53) at me.ionar.salhack.module.Module.toggle(Module.java:109) at me.ionar.salhack.preset.Preset.initValuesForMod(Preset.java:219) at me.ionar.salhack.managers.ModuleManager.lambda$Init$1(ModuleManager.java:195) at me.ionar.salhack.managers.ModuleManager$$Lambda$424/61575226.accept(Unknown Source) at java.util.ArrayList.forEach(ArrayList.java:1249) at me.ionar.salhack.managers.ModuleManager.Init(ModuleManager.java:193) at me.ionar.salhack.main.SalHack.Init(SalHack.java:46) at me.ionar.salhack.SalHackMod.init(SalHackMod.java:30) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:749) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:535) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378) at net.minecraft.client.main.Main.main(SourceFile:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 430657768 bytes (410 MB) / 1140850688 bytes (1088 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.42 Powered by Forge 14.23.5.2854 8 mods loaded, 8 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
WCoreMod (ForgeWurst-0.11-MC1.12.2.jar) net.wurstclient.forge.asm.WClassTransformer MixinLoaderForge (salhack-github-2.05-release (1).jar)