Project Zomboid

Project Zomboid

Better lockpicking
anywhere.i.roam 2021 年 7 月 17 日 上午 2:47
Bug Report: RuntimeException attemtped index items of non-table: null
Build 41.50 IWBUMS

2368058459/mods/BetterLockpicking/media/lua/server/BetLockItemDistributions.lua
require 'Items/SuburbsDistributions' table.insert(SuburbsDistributions["zippeestore"]["shelvesmag"].items, "BetLock.AlarmMag");

Causes this error:

LOG : General , 1626514068365> ------------------------------------------------------------- attempted index: items of non-table: null LOG : General , 1626514068365> ----------------------------------------- STACK TRACE ----------------------------------------- function: BetLockItemDistributions.lua -- file: BetLockItemDistributions.lua line # 3 ERROR: General , 1626514068366> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: items of non-table: null at KahluaThread.tableget line:1689. ERROR: General , 1626514068366> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index: items 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.pcall(KahluaThread.java:1980) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1782) at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76) at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117) at zombie.Lua.LuaManager.RunLua(LuaManager.java:513) at zombie.Lua.LuaManager.RunLua(LuaManager.java:464) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:312) at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:239) at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:88) at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145) at zombie.GameWindow.logic(GameWindow.java:282) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:721) at zombie.GameWindow.run_ez(GameWindow.java:637) at zombie.GameWindow.mainThread(GameWindow.java:464) at java.lang.Thread.run(Thread.java:748) LOG : General , 1626514068366> ----------------------------------------- STACK TRACE

I think the code is incompatible to some Project Zomboid change, or some other mod is conflicting. I'm not which.
最后由 anywhere.i.roam 编辑于; 2021 年 7 月 17 日 上午 2:50
< >
正在显示第 1 - 1 条,共 1 条留言
cybersys.jmr 2024 年 5 月 19 日 下午 4:37 
+1
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50