LunaPixelStudios / Medieval-MC

https://lunapixel.studio/discord
https://lunapixel.studio/discord
15 stars 9 forks source link

Error with Stereowalker Survive #253

Closed pavog closed 2 years ago

pavog commented 2 years ago

Describe the Bug

I see some error messages from the Survive mod in my server logs.

A stracktrace java.lang.ClassNotFoundException: com.stereowalker.survive.json.ConsummableJsonHolder at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?] at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] at net.minecraftforge.eventbus.EventSubclassTransformer.buildEvents(EventSubclassTransformer.java:62) ~[eventbus-5.0.3.jar%232!/:?] at net.minecraftforge.eventbus.EventSubclassTransformer.transform(EventSubclassTransformer.java:44) ~[eventbus-5.0.3.jar%232!/:?] at net.minecraftforge.eventbus.EventBusEngine.processClass(EventBusEngine.java:21) ~[eventbus-5.0.3.jar%232!/:?] at net.minecraftforge.eventbus.service.ModLauncherService.processClassWithFlags(ModLauncherService.java:20) ~[eventbus-5.0.3.jar%232!/:5.0.3+70+master.d7d405b] at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-9.1.3.jar%235!/:?] at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-9.1.3.jar%235!/:?] at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-9.1.3.jar%235!/:?] at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:110) ~[securejarhandler-1.0.3.jar:?] at cpw.mods.cl.ModuleClassLoader.lambda$findClass$16(ModuleClassLoader.java:216) ~[securejarhandler-1.0.3.jar:?] at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:226) ~[securejarhandler-1.0.3.jar:?] at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:216) ~[securejarhandler-1.0.3.jar:?] at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:132) ~[securejarhandler-1.0.3.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] at com.stereowalker.survive.resource.PotionDrinkDataManager.lambda$load$1(PotionDrinkDataManager.java:45) ~[?:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) [?:?] at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) [?:?] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?] at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?] at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]

From this gist

I think this is because Medieval MC uses Survive-1.18.2-7.0.3 that had a bug. The developers fixed it in newer versions like Survive-1.18.2-7.0.7.

Changelog [7.0.7] - Fix inability for clients to connect to servers [7.0.6] - Merlings regain air when drinking from a canteen - Fixed drinking from purified water source still causing the thirst effect - Converted the Purified Water Bottle into a potion - Fix purified water fluid not using the correct color everywhere else but the block - The canteen can now store any potion [7.0.5] - Reduced the amount of resistance gained per point from C.O.M.B.A.T Stats - Re-enabled Origins compatibility and added a Cold Blooded power to the Merling Origin [7.0.4] - Updated C.O.M.B.A.T Spells and Stats - Changed the default textures for the temperature bars - Fix drinking unclean water not triggering the wellbeing debuffs - Added the Survival Guide (Use Patchouli to see the book) [7.0.3] - Used newer JEI methods - Updated ruru.json (Credits to jolopapina) - Corrected the comment on "Idle Thirst Exhaustion" - Added animal fat to the "minecraft:animalfat" tag and used it in soap crafting - Animal fat drops from animals can be disabled in the server config [7.0.2] - Fixed inability to collect/drink from water block - Added a purified water fluid tag - Canteen fill is now handled by the empty canteen item code and not packets - Hyp(o/er)thermia consumes 10x more stamina and stops consuming stamina at 30% energy

So I think you can just upgrade Survive 1.18.2 from 7.0.3 to the latest 7.0.7.

Reproduction Steps

  1. Create a fresh new server with Medieval MC [FORGE] v12.5
  2. Start it (I had to restart it once)
  3. Scroll through your server log

Screenshots and Videos

No response

Crash Report or Log

https://gist.github.com/pavog/26d1c0c28d3f35d33247e342651c6f14

Operating System

Debian

Minecraft Version

1.18

Modloader

Forge

Modpack Version

12.5

Optifine

No

Other Mods

No response

SHXRKIEgg commented 2 years ago

yeah have not updated the Modpack, thansks for the report