Project Zomboid

Project Zomboid

[b42]The Shortcut
 This topic has been pinned, so it's probably important
Rocco  [developer] 26 Apr @ 2:56am
Bug Report
Here you can give me feedback on the bugs you encounter.

Know issue:

1.The input and output items shown in the tooltip are not prioritized based on the available input items.

2.If you set the hotkey to a mouse button, it will throw an error, but you can still assign it to a mouse button. This is a bug in B42 and currently can only be fixed by TIS.

3.Items in the shortcut bar cannot be dragged and placed into slots like the hotbar or the liquid transfer interface.



Almost no impact:

1.After swapping slots, the recipe item requirements don't update until the tooltip respawn. This may not be fixed, as caching the data improves performance with minimal user impact.
Last edited by Rocco; 27 Apr @ 11:43pm
< >
Showing 1-9 of 9 comments
karimoff 26 Apr @ 5:43am 
Hi nice work, small bug - Tooltips showing only EN names of recipes. In my experience, you need to use recipe:getTranslationName()
Rocco  [developer] 26 Apr @ 5:53am 
Originally posted by karimoff:
Hi nice work, small bug - Tooltips showing only EN names of recipes. In my experience, you need to use recipe:getTranslationName()
Thank you! During debugging, I used both two way to get the name to handle different cases, but I forgot to clean up and fix that part.
karimoff 26 Apr @ 6:08am 
Another problem was found, if I change the order of the recipes on the panel, then the tooltip is shown for the recipes that were originally in their place.
Quilava 28 Apr @ 9:11am 
I got this error, when i put the "cut belt" action to the hot bar but still using the craft menu instead of the short cut, then it give this error until im stop, doesnt break anything tho, still i think you may want to look into it

`attempted index: getJobDelta of non-table: null
function: getJobDelta -- file: ISBaseTimedAction.lua line # 37 | Vanilla
function: getRecipeCraftingInfo -- file: Shortcut_RecipeSlot.lua line # 488 | MOD: TheShortcut
function: renderRecipe -- file: Shortcut_RecipeSlot.lua line # 87 | MOD: TheShortcut
function: render -- file: Shortcut_RecipeSlot.lua line # 72 | MOD: TheShortcut
java.lang.RuntimeException: attempted index: getJobDelta of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1805)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38)
at zombie.ui.UIElement.render(UIElement.java:2004)
at zombie.ui.UIElement.render(UIElement.java:1995)
at zombie.ui.UIManager.render(UIManager.java:404)
at zombie.gameStates.IngameState.renderFrameUI(IngameState.java:1371)
at zombie.gameStates.IngameState.renderframeui(IngameState.java:1358)
at zombie.gameStates.IngameState.renderInternal(IngameState.java:1500)
at zombie.gameStates.IngameState.render(IngameState.java:1447)
at zombie.gameStates.GameStateMachine.render(GameStateMachine.java:37)
at zombie.GameWindow.renderInternal(GameWindow.java:473)
at zombie.GameWindow.frameStep(GameWindow.java:952)
at zombie.GameWindow.run_ez(GameWindow.java:821)
at zombie.GameWindow.mainThread(GameWindow.java:619)
at java.base/java.lang.Thread.run(Unknown Source)
`

Also at some random point, the quick menu just disappear, then pop back up randomly again, i have no idea if i press wrong button or something, do we even have quick button to enable the hot bar?
Rocco  [developer] 28 Apr @ 9:16pm 
Originally posted by Quilava:
I got this error, when i put the "cut belt" action to the hot bar but still using the craft menu instead of the short cut, then it give this error until im stop, doesnt break anything tho, still i think you may want to look into it
I couldn't successfully reproduce this bug, but I will add more safeguards in the next update to prevent any errors. This issue only affects the display of progress, so it won't cause any damage to your game.
`function: onMouseMove -- file: Shortcut_ItemSlot.lua line # 142 | MOD: TheShortcut
`
Cosmo 15 Jul @ 12:46pm 
Hey @Rocco get this error message today
`attempted index: recipesPanel of non-table: null
function: onRightMouseUp -- file: Shortcut_RecipeSlot.lua line # 416 | MOD: TheShortcut
java.lang.RuntimeException: attempted index: recipesPanel of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:479)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1902)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1927)
at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1885)
at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1699)
at zombie.ui.UIManager.updateMouseButtons(UIManager.java:857)
at zombie.ui.UIManager.update(UIManager.java:716)
at zombie.GameWindow.logic(GameWindow.java:326)
at zombie.GameWindow.frameStep(GameWindow.java:916)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
`
Cosmo 19 Jul @ 4:50am 
Hey @Rocco found a bug today, mb its related to another mod "Auto chop trees"
`attempted index: getX of non-table: null
function: start -- file: WalkToTimedAction.lua line # 45 | Vanilla
Callframe at: StartAction
function: begin -- file: ISBaseTimedAction.lua line # 85 | Vanilla
function: onCompleted -- file: ISTimedActionQueue.lua line # 87 | Vanilla
function: onCompleted -- file: ShortcutItem.lua line # 42 | MOD: TheShortcut
function: perform -- file: ISBaseTimedAction.lua line # 66 | Vanilla
function: perform -- file: ISGrabItemAction.lua line # 117 | Vanilla
java.lang.RuntimeException: attempted index: getX of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1760)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85)
at zombie.characters.CharacterTimedActions.LuaTimedActionNew.start(LuaTimedActionNew.java:119)
at zombie.characters.CharacterTimedActions.BaseAction.waitToStart(BaseAction.java:114)
at zombie.characters.CharacterTimedActions.LuaTimedActionNew.waitToStart(LuaTimedActionNew.java:82)
at zombie.characters.IsoGameCharacter.StartAction(IsoGameCharacter.java:6154)
at jdk.internal.reflect.GeneratedMethodAccessor1184.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:211)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:201)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1760)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85)
at zombie.characters.CharacterTimedActions.LuaTimedActionNew.perform(LuaTimedActionNew.java:143)
at zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:10617)
at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:10255)
at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:2287)
at zombie.characters.IsoPlayer.update(IsoPlayer.java:2266)
at zombie.MovingObjectUpdateSchedulerUpdateBucket.update(MovingObjectUpdateSchedulerUpdateBucket.java:71)
at zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:158)
at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:3054)
at zombie.iso.IsoCell.updateInternal(IsoCell.java:5959)
at zombie.iso.IsoCell.update(IsoCell.java:5892)
at zombie.iso.IsoWorld.updateWorld(IsoWorld.java:4197)
at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:4317)
at zombie.iso.IsoWorld.update(IsoWorld.java:4231)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1699)
at zombie.gameStates.IngameState.update(IngameState.java:1464)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:87)
at zombie.GameWindow.logic(GameWindow.java:382)
at zombie.GameWindow.frameStep(GameWindow.java:916)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
`
Distance 2 Aug @ 10:57pm 
Neat Building cannot add recipes to columns
< >
Showing 1-9 of 9 comments
Per page: 1530 50