Jump to content
  • 0

Crafting UI Not Working at All


Furente7

Question

Not sure whether to put this as a bug report or not, but...

Started playing again after going on a break between build 29 and 32, noticed Craft Helper is broken but realizing there should be a new crafting UI in the game now, as of a few months ago?
Well it doesn't work at all. Clicking it, pressing B, does nothing.
It does however produce error messages in java's native language, bullshit. (I don't hate java... Most of the time.)
Seems like I'm the only one getting this problem, from what I've googled. Great.
Is also happening after a total uninstall, reinstall so that's out of the question
Log: -----------------------------------------
STACK TRACE
-----------------------------------------
function: refresh -- file: ISCraftingUI.lua line # 48
function: setVisible -- file: ISCraftingUI.lua line # 32
function: toggleCraftingUI -- file: ISCraftingUI.lua line # 1027
function: onPressKey -- file: ISCraftingUI.lua line # 1034
-------------------------------------------------------------
attempted index: 1.0 of non-table: null
-----------------------------------------
STACK TRACE
-----------------------------------------
function: @stdlib.lua -- file: null line # 10
function: setVisible -- file: ISCraftingUI.lua line # 24
function: onPressKey -- file: ISCraftingUI.lua line # 1039
java.lang.RuntimeException: attempted index: 1.0 of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1549)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:473)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1195)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1727)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1672)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:53)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:81)
at zombie.Lua.Event.trigger(Event.java:37)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:82)
at zombie.input.GameKeyboard.update(GameKeyboard.java:51)
at zombie.GameWindow.logic(GameWindow.java:572)
at zombie.GameWindow.run(GameWindow.java:1187)
at zombie.GameWindow.maina(GameWindow.java:991)
at zombie.gameStates.MainScreenState.main(MainScreenState.java:168)
-----------------------------------------
STACK TRACE
-----------------------------------------
function: @stdlib.lua -- file: null line # 10
function: setVisible -- file: ISCraftingUI.lua line # 24
function: onPressKey -- file: ISCraftingUI.lua line # 1039
java.lang.RuntimeException: 
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:91)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1285)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1195)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1727)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1672)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:53)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:81)
at zombie.Lua.Event.trigger(Event.java:37)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:82)
at zombie.input.GameKeyboard.update(GameKeyboard.java:51)
at zombie.GameWindow.logic(GameWindow.java:572)
at zombie.GameWindow.run(GameWindow.java:1187)
at zombie.GameWindow.maina(GameWindow.java:991)
at zombie.gameStates.MainScreenState.main(MainScreenState.java:168)
-----------------------------------------
STACK TRACE
-----------------------------------------
function: @stdlib.lua -- file: null line # 10
function: setVisible -- file: ISCraftingUI.lua line # 24
function: onPressKey -- file: ISCraftingUI.lua line # 1039

Edit: I realize my tone is kind of, maybe, could be taken as asshole-ish. Just want to say I adore the devs for this game and all the time they've put in, the community they've listened to and the constant updates they've published. But once I realized I was missing a pretty darn key feature, you can kind of guess why I was a bit annoyed
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

Just to double check, when you uninstalled the game, did you also clear out the Zomboid folder (doesn't go away with a Steam uninstall)? It's located at C:/Users/YourUserName/Zomboid and is often the cause of lua errors like these, especially when it's been modded in the past. If you don't mind losing your old saves, you can just trash the entire thing. When Zomboid launches again it'll put all the necessary files back, hopefully without the error!

 

If you want to save your saves you can just drag the folder to the desktop. If that doesn't work let me know and I'll get you sorted from there. Cheers dude.

Link to comment
Share on other sites

Just to double check, when you uninstalled the game, did you also clear out the Zomboid folder (doesn't go away with a Steam uninstall)? It's located at C:/Users/YourUserName/Zomboid and is often the cause of lua errors like these, especially when it's been modded in the past. If you don't mind losing your old saves, you can just trash the entire thing. When Zomboid launches again it'll put all the necessary files back, hopefully without the error!

 

If you want to save your saves you can just drag the folder to the desktop. If that doesn't work let me know and I'll get you sorted from there. Cheers dude.

Yeah I cleared out the Zomboid folder in C/Users/Zomboid and the steam installation, then reinstalled, then re-added the saves after. Perhaps the script is somehow embedded in the save, Skyrim-style (I've had alot of experience with that...)

Other than that, I am using mods, quite a lot actually (I think, might be relative), but I'm assuming they're all standalone in the mods folder rather than replacing files like in the old days

Thanks for the fast responses btw!

Looking at the code it seems to be related to the visibility of the crafting ui in ISCraftingUI.lua

Link to comment
Share on other sites

If you're using mods that's the problem 99.99% of the time. Your best bet is to try a new, vanilla install and see if it shows up. If it does, try adding the mods back one at a time until you find the one that breaks it.

You were right! I guess I was just tired and frustrated, I should have applied my skyrim-modding knowledge to this. I just assumed because of java and lua that, as well as the problem lying in a vanilla file that it was a vanilla problem. Turns out is was a mod which I (eventually) singled out.

Sorry for this post which admittedly shouldn't exist, sorry for the trouble and thankyou for your help friendly HelpCat!

 

How I feel: 

So embarrassed now. Don't look at me  :-|

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...