robotex140 / Hydrocraft

28 stars 41 forks source link

Crafting menu bug #110

Open SheilaMoon opened 1 year ago

SheilaMoon commented 1 year ago

Crafting menu stops working altogether- recipe errors being generated

Besides the crafting menu not working, certain menu/keys (shortcuts to shout, vehicle menu,etc-) stop working as well.

Steps to reproduce the behavior:

  1. Start playing with HC (41 Continued)
  2. after 20-ish in game playing days the crafting menu stops working and bunch of errors show up (recipe errors mentioned below).

Expected behavior Crafting menu working, all other menus/actions working, no recipe errors.

Desktop (please complete the following information): LOG : General , 1689008265510> ===== System specs ===== LOG : General , 1689008265514> OS: Windows 10, version: 10.0, arch: amd64 LOG : General , 1689008265515> Processor: AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD LOG : General , 1689008265516> Processor cores: 8 LOG : General , 1689008265518> Available processors (cores): 8 LOG : General , 1689008265522> Memory free: 85.28671 MB LOG : General , 1689008265523> Memory max: 8192.0 MB LOG : General , 1689008265523> Memory total available to JVM: 96.0 MB LOG : General , 1689008265533> C:\, Total: 475.72266 GB, Free: 121.83193 GB LOG : General , 1689008265826> Mobo = [Product=85EA] LOG : General , 1689008266015> CPU = [Manufacturer=AuthenticAMD,MaxClockSpeed=2100,Name=AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx] LOG : General , 1689008266218> Graphics = [AdapterRAM=2147483648,DriverVersion=27.20.21034.37,Name=AMD Radeon(TM) Vega 8 Graphics] LOG : General , 1689008266413> VideoMode = [VideoModeDescription=1366 x 768 x 4294967296 cores] LOG : General , 1689008266609> Sound = { [Manufacturer=Realtek,Name=Realtek High Definition Audio], [Manufacturer=Advanced Micro Devices,Name=AMD High Definition Audio Device], [Manufacturer=Valve Corporation Audio DDK,Name=Steam Streaming Microphone], [Manufacturer=Valve Corporation Audio DDK,Name=Steam Streaming Speakers] } LOG : General , 1689008266802> Memory RAM = { [Capacity=4294967296,Manufacturer=Micron Technology], [Capacity=4294967296,Manufacturer=Micron Technology] }

Additional context

Warnings on recipes

WARN : Script , 1689008335920> ScriptManager.debugItems> Hydrocraft.HCGlasswaterbottle ReplaceOnUse instead of ReplaceOnDeplete WARN : Recipe , 1689008335938> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "CannedFruitBeverage" in recipe "Open Canned Fruit Beverage" WARN : Recipe , 1689008335939> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "CannedFruitBeverageOpen" in recipe "Open Canned Fruit Beverage" WARN : Recipe , 1689008335939> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "CannedMilk" in recipe "Open Condensed Milk" WARN : Recipe , 1689008335939> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "CannedMilkOpen" in recipe "Open Condensed Milk" WARN : Recipe , 1689008335940> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "Lard" in recipe "Make Pie Dough" WARN : Recipe , 1689008335940> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "Margarine" in recipe "Make Pie Dough" WARN : Recipe , 1689008335941> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "PizzaRecipe" in recipe "Make Pizza" WARN : Recipe , 1689008335941> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "BaguetteDough" in recipe "Make Bread Dough" WARN : Recipe , 1689008335942> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "Muffintray_Biscuit" in recipe "Make Biscuits" WARN : Recipe , 1689008335942> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "Muffintray_Biscuit" in recipe "Get 6 Biscuits" WARN : Recipe , 1689008335942> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "PieWholeRawSweet" in recipe "Slice Pie" WARN : Recipe , 1689008335943> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "WildGarlic2" in recipe "Make Wild Garlic Poultice" WARN : Recipe , 1689008335944> RecipeManager.resolveItemModuleDotType> WARNING: module "Base" may have forgot to import module Base WARN : Recipe , 1689008335945> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "WinePetrol" in recipe "Make Molotov Cocktail" WARN : Recipe , 1689008335945> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "WhiskeyPetrol" in recipe "Make Molotov Cocktail" WARN : Recipe , 1689008335946> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "Muffintray_Biscuit" in recipe "Clean Tray" WARN : Recipe , 1689008335947> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "BaloneySlice" in recipe "Slice Baloney" WARN : Recipe , 1689008335947> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "SalamiSlice" in recipe "Slice Salami" WARN : Recipe , 1689008335948> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "PizzaWhole" in recipe "Slice Pizza" WARN : Recipe , 1689008335948> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "PizzaRecipe" in recipe "Slice Pizza" WARN : Recipe , 1689008335949> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "CookiesChocolateDough" in recipe "Make Chocolate Cookie Dough" WARN : Recipe , 1689008335949> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "CookiesChocolateDough" in recipe "Get 6 Cookies" WARN : Recipe , 1689008335949> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "CookieChocolateChipDough" in recipe "Make Chocolate Chip Cookie Dough" WARN : Recipe , 1689008335950> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "CookieChocolateChipDough" in recipe "Get 6 Cookies" WARN : Recipe , 1689008335950> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "CookiesOatmealDough" in recipe "Make Oatmeal Cookie Dough" WARN : Recipe , 1689008335950> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "CookiesOatmealDough" in recipe "Get 6 Cookies" WARN : Recipe , 1689008335951> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "CookiesSugarDough" in recipe "Make Sugar Cookie Dough" WARN : Recipe , 1689008335951> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "CookiesSugarDough" in recipe "Get 6 Cookies" WARN : Recipe , 1689008335951> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "CookiesSugar" in recipe "Get 6 Cookies" WARN : Recipe , 1689008335952> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "CookiesShortbreadDough" in recipe "Make Shortbread Cookie Dough" WARN : Recipe , 1689008335952> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "CookiesShortbreadDough" in recipe "Get 6 Cookies" WARN : Recipe , 1689008335953> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "CookiesChocolateDough" in recipe "Empty Baking Tray" WARN : Recipe , 1689008335953> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "CookieChocolateChipDough" in recipe "Empty Baking Tray" WARN : Recipe , 1689008335954> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "CookiesOatmealDough" in recipe "Empty Baking Tray" WARN : Recipe , 1689008335954> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "CookiesSugarDough" in recipe "Empty Baking Tray" WARN : Recipe , 1689008335954> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "CookiesShortbreadDough" in recipe "Empty Baking Tray" WARN : Recipe , 1689008335969> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "HCSquashsummer" in recipe "Make Stuffed Squash" WARN : Recipe , 1689008335970> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "HCChilibowl" in recipe "Fill Chili into Bowls" WARN : Recipe , 1689008335981> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe source "HCDrumsticks" in recipe "Play Music" WARN : Recipe , 1689008335982> RecipeManager.resolveItemModuleDotType> ERROR: can't find recipe result "HCDrumsticks" in recipe "Play Music"

Crafting menu error

LOG : General , 1689008516265> ----------------------------------------- STACK TRACE

function: @stdlib.lua -- file: null line # 10 function: setVisible -- file: ISCraftingUI.lua line # 30 | Vanilla function: toggleCraftingUI -- file: ISCraftingUI.lua line # 1368 | Vanilla function: onOptionMouseDown -- file: ISEquippedItem.lua line # 403 | Vanilla function: onMouseUp -- file: ISButton.lua line # 56 | Vanilla

ERROR: General , 1689008516266> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: 1.0 of non-table: null at KahluaThread.tableget line:1689. ERROR: General , 1689008516267> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index: 1.0 of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1243) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980) at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onMouseUp(UIElement.java:1228) at zombie.ui.UIElement.onMouseUp(UIElement.java:1183) at zombie.ui.UIManager.update(UIManager.java:816) at zombie.GameWindow.logic(GameWindow.java:262) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:765) at zombie.GameWindow.run_ez(GameWindow.java:681) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source) LOG : General , 1689008516271> ----------------------------------------- STACK TRACE

function: @stdlib.lua -- file: null line # 10 function: setVisible -- file: ISCraftingUI.lua line # 30 | Vanilla function: toggleCraftingUI -- file: ISCraftingUI.lua line # 1368 | Vanilla function: onOptionMouseDown -- file: ISEquippedItem.lua line # 403 | Vanilla function: onMouseUp -- file: ISButton.lua line # 56 | Vanilla

ERROR: General , 1689008516273> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: at KahluaUtil.fail line:82. ERROR: General , 1689008516273> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1336) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1243) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980) at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1924) at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104) at zombie.ui.UIElement.onMouseUp(UIElement.java:1228) at zombie.ui.UIElement.onMouseUp(UIElement.java:1183) at zombie.ui.UIManager.update(UIManager.java:816) at zombie.GameWindow.logic(GameWindow.java:262) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:765) at zombie.GameWindow.run_ez(GameWindow.java:681) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source) LOG : General , 1689008516277> ----------------------------------------- STACK TRACE

function: @stdlib.lua -- file: null line # 10 function: setVisible -- file: ISCraftingUI.lua line # 30 | Vanilla function: toggleCraftingUI -- file: ISCraftingUI.lua line # 1368 | Vanilla function: onOptionMouseDown -- file: ISEquippedItem.lua line # 403 | Vanilla function: onMouseUp -- file: ISButton.lua line # 56 | Vanilla