Project Zomboid

Project Zomboid

Item Stories [beta]
Champy  [ontwikkelaar] 23 sep 2023 om 8:27
Bug reports
Report you bugs and errors here, and I'll look into it
< >
1-15 van 48 reacties weergegeven
Hi. I get these errors from time to time when loading new locations.

`function: PickRandomItemFromLootTable -- file: StoryItemSpawnerManager.lua line # 93 | MOD: Item Stories Framework (CORE)
function: RollStory -- file: StoryItemSpawnerManager.lua line # 335 | MOD: Item Stories Framework (CORE)
function: CheckRoom -- file: StoryItemSpawnerManager.lua line # 496 | MOD: Item Stories Framework (CORE)
function: TriggerClosestRoomInList -- file: StoryItemSpawnerManager.lua line # 814 | MOD: Item Stories Framework (CORE)
java.lang.RuntimeException: __add not defined for operands in PickRandomItemFromLootTable
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:676)
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:92)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1624)
at zombie.gameStates.IngameState.update(IngameState.java:1333)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:298)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:667)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
`
Champy  [ontwikkelaar] 29 sep 2023 om 11:15 
Looks like the author of one of the mods you're using made a mistake in their loot distributions. Instead of inserting a number for their item's spawn chance, he inserted something else that cannot be added to another number.

I guess I should add more failsafes for that. Will update tomorrow probably.
Laatst bewerkt door Champy; 29 sep 2023 om 11:19
Champy  [ontwikkelaar] 30 sep 2023 om 7:15 
New patch is released, it should fix that error.
It really worked - the errors stopped appearing. Thanks a lot!
Any idea what is causing this error?

LOG : General , 1696176830681> -----------------------------------------
STACK TRACE
-----------------------------------------
function: StoryItemDefinitions_Example.lua -- file: StoryItemDefinitions_Example.lua line # 50 | MOD: Item Stories Framework (CORE)

ERROR: General , 1696176830687> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: crate of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1696176830687> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: crate 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.RunLuaInternal(LuaManager.java:564)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:510)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:496)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:342)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:264)
at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:97)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:298)
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 , 1696176830688> -----------------------------------------
STACK TRACE
-----------------------------------------
function: StoryItemDefinitions_Example.lua -- file: StoryItemDefinitions_Example.lua line # 50 | MOD: Item Stories Framework (CORE)

Oct 01, 2023 12:13:50 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException
Oct 01, 2023 12:13:50 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException:
Oct 01, 2023 12:13:50 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: at StoryItemDefinitions_Example.lua:50

LOG : Lua , 1696176830696> Loading: C:/Games/Steam Library/steamapps/workshop/content/108600/3037990730/mods/StoryItemSpawner - PillowsOnBeds/media/lua/server/StoryItemDefinitions_PillowsOnBeds.lua
WARN : Lua , 1696176830702> LuaManager$GlobalObject.require> require("StoryItemManager.lua") failed
LOG : Lua , 1696176830702> Loading: C:/Games/Steam Library/steamapps/workshop/content/108600/3043616998/mods/StoryItemSpawner - Pool balls & cues on billiard table/media/lua/server/StoryItemDefinitions_PoolTable.lua
LOG : Lua , 1696176830707> Loading: C:/Games/Steam Library/steamapps/workshop/content/108600/3038100079/mods/StoryItemSpawner - PropaneTanksInGarages/media/lua/server/StoryItemDefinitions_PropaneTanksInGarages.lua
WARN : Lua , 1696176830713> LuaManager$GlobalObject.require> require("StoryItemManager.lua") failed
LOG : Lua , 1696176830713> Loading: C:/Games/Steam Library/steamapps/workshop/content/108600/3037988451/mods/StoryItemSpawner - RoomLoot/media/lua/server/StoryItemDefinitions_RoomLoot.lua
WARN : Lua , 1696176830718> LuaManager$GlobalObject.require> require("StoryItemManager.lua") failed
LOG : Lua , 1696176830718> Loading: C:/Games/Steam Library/steamapps/workshop/content/108600/3038108150/mods/StoryItemSpawner - Zupercart/media/lua/server/StoryItemDefinitions_ZuperCarts.lua
WARN : Lua , 1696176830723> LuaManager$GlobalObject.require> require("StoryItemManager.lua") failed
Champy  [ontwikkelaar] 1 okt 2023 om 11:12 
@GarageToad Weird, that comes from an example story that I had set up for modders who wanted to make their own. Shouldn't impact the mod.

Anyway, I released a quick patch that deletes that example story, so the error doesn't show up anymore.
Errormagnifier doesn't toss up anything now, thanks!
Two for two, great job.
Got one of my own:

`function: TweakItem -- file: StoryItemSpawnerManager.lua line # 249 | MOD: Item Stories Framework (CORE)
function: RollStory -- file: StoryItemSpawnerManager.lua line # 349 | MOD: Item Stories Framework (CORE)
function: CheckRoom -- file: StoryItemSpawnerManager.lua line # 505 | MOD: Item Stories Framework (CORE)
function: TriggerClosestRoomInList -- file: StoryItemSpawnerManager.lua line # 850 | MOD: Item Stories Framework (CORE)
java.lang.RuntimeException: attempted index: get 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:92)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1624)
at zombie.gameStates.IngameState.update(IngameState.java:1333)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:298)
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)
`

And:

`Callframe at: getAllMediaForCategory
function: TweakItem -- file: StoryItemSpawnerManager.lua line # 248 | MOD: Item Stories Framework (CORE)
function: RollStory -- file: StoryItemSpawnerManager.lua line # 349 | MOD: Item Stories Framework (CORE)
function: CheckRoom -- file: StoryItemSpawnerManager.lua line # 505 | MOD: Item Stories Framework (CORE)
function: TriggerClosestRoomInList -- file: StoryItemSpawnerManager.lua line # 850 | MOD: Item Stories Framework (CORE)
`
Champy  [ontwikkelaar] 15 okt 2023 om 3:04 
@rain Do you use mods that mess with VHSs or CDs ? From this error it seems like the game failed to find the list of recorded media assignable to a VHS. Which is weird. I haven't managed to reproduce this bug. It should be easy to patch though.
Indeed I am! I'm using Video Meister by PePePePePeil. Thanks a bunch for looking into it so quickly!
Blank CDs and VHS cause error after being picked up with PePePePePeil's "Has Been Read" mod active.
Laatst bewerkt door Marcus; 23 okt 2023 om 9:10
Champy  [ontwikkelaar] 24 okt 2023 om 4:29 
Origineel geplaatst door hudsonaux:
Blank CDs and VHS cause error after being picked up with PePePePePeil's "Has Been Read" mod active.
can you copy pasta the error ?
Hi, can you tell me where the sawmill is located?
Champy  [ontwikkelaar] 18 nov 2023 om 5:26 
Origineel geplaatst door Furc <3:
Hi, can you tell me where the sawmill is located?
What sawmill ?
< >
1-15 van 48 reacties weergegeven
Per pagina: 1530 50