Project Zomboid

Project Zomboid

Functional Appliances 2
Vico 5. jan. 2024 kl. 18:13
Compatibility with Item Tweaker API
Is this compatible with DarkSlayerEX's Item Tweaker API?

I've installed that dependency to use Satchel With Bags and Satchel Item Reduction, but after activating that i noticied that when i try to right click a soda fountain i got a weird error "4". Strangely i was able to make hot dogs on the hot dog machines, though.
< >
Viser 1-6 af 6 kommentarer
norby007  [udvikler] 5. jan. 2024 kl. 21:52 
That's interesting. I don't think I have used that mod but I will take a look.
norby007  [udvikler] 5. jan. 2024 kl. 22:07 
I loaded up function appliances and item tweaker api and was unable to reproduce it. I used all the machines and no errors. Can you send me the error in the console.txt file?
Vico 6. jan. 2024 kl. 14:15 
Oprindeligt skrevet af norby007:
I loaded up function appliances and item tweaker api and was unable to reproduce it. I used all the machines and no errors. Can you send me the error in the console.txt file?

Here's an excerpt of the mentioned file where the error happen:

LOG : General , 1704506438286> ----------------------------------------- STACK TRACE ----------------------------------------- function: doBuildMenu -- file: UseSodaFountainMenu.lua line # 118 | MOD: Unnamed Mod Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@ee11c9b function: createMenu -- file: ISWorldObjectContextMenu.lua line # 489 | Vanilla function: createMenu -- file: ISMenuContextWorld.lua line # 50 | Vanilla function: createWorldMenu -- file: ISContextManager.lua line # 28 | Vanilla function: doRClick -- file: ISObjectClickHandler.lua line # 60 | Vanilla function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 379 | Vanilla LOG : General , 1704506438294> Dropping and rolling not valid: not on fire LOG : General , 1704506439992> KeyRing LOG : General , 1704506439992> Wound_LUArm_Scratch_Male LOG : General , 1704506439992> PaperNapkins LOG : General , 1704506439994> ------------------------------------------------------------- attempted index: size of non-table: null LOG : General , 1704506439994> ----------------------------------------- STACK TRACE ----------------------------------------- function: doBuildMenu -- file: UseSodaFountainMenu.lua line # 118 | MOD: Unnamed Mod Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@ee11c9b function: createMenu -- file: ISWorldObjectContextMenu.lua line # 489 | Vanilla function: createMenu -- file: ISMenuContextWorld.lua line # 50 | Vanilla function: createWorldMenu -- file: ISContextManager.lua line # 28 | Vanilla function: doRClick -- file: ISObjectClickHandler.lua line # 60 | Vanilla function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 379 | Vanilla ERROR: General , 1704506439996> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: size of non-table: null at KahluaThread.tableget line:1689. ERROR: General , 1704506439996> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index: size of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641) 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.pcallvoid(KahluaThread.java:1812) at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66) at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139) at zombie.Lua.Event.trigger(Event.java:64) at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:214) at zombie.Lua.LuaEventManager.triggerEventGarbage(LuaEventManager.java:228) at zombie.Lua.LuaManager$GlobalObject.triggerEvent(LuaManager.java:3086) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62) at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198) at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:79) at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007) 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.pcallvoid(KahluaThread.java:1812) at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66) at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139) at zombie.Lua.Event.trigger(Event.java:64) at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:173) at zombie.ui.UIManager.update(UIManager.java:938) 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 , 1704506440002> ----------------------------------------- STACK TRACE ----------------------------------------- function: doBuildMenu -- file: UseSodaFountainMenu.lua line # 118 | MOD: Unnamed Mod Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@ee11c9b function: createMenu -- file: ISWorldObjectContextMenu.lua line # 489 | Vanilla function: createMenu -- file: ISMenuContextWorld.lua line # 50 | Vanilla function: createWorldMenu -- file: ISContextManager.lua line # 28 | Vanilla function: doRClick -- file: ISObjectClickHandler.lua line # 60 | Vanilla function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 379 | Vanilla
norby007  [udvikler] 6. jan. 2024 kl. 17:56 
Thank you for this! I don't have anything on that line in the new version. Have you tried unsubscribing and resubscribing just in case it has part of the old version still loaded? I suspect it might be getting into trouble with an inventory items call on the old lua file before this version launched. The new version has this segment completely rewritten.
Vico 9. jan. 2024 kl. 19:06 
Thanks to let me know!
norby007  [udvikler] 9. jan. 2024 kl. 20:25 
Oprindeligt skrevet af Vico:
Thanks to let me know!

I have virtually rewritten the code this past week and it may make a difference. I will be launching it on friday. Hopefully this helps. fingers crossed
< >
Viser 1-6 af 6 kommentarer
Per side: 1530 50