Project Zomboid

Project Zomboid

add Sounds effects to Item Action [and more]
This topic has been locked
Rukio 27 Oct, 2023 @ 10:57pm
Stack Trace issue w/ Inventory Tetris
`attempted index: 2.0 of non-table: null function: _getOrCreateSearchSession -- file: ItemGrid.lua line # 618 | MOD: Inventory Tetris function: updateSearch -- file: ItemGrid.lua line # 636 | MOD: Inventory Tetris function: update -- file: SearchGridAction.lua line # 48 | MOD: Inventory Tetris function: update -- file: upperlayer_SearchGridAction_addSound.lua line # 74 | MOD: add transfer Item Sounds java.lang.RuntimeException: attempted index: 2.0 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.pcallvoid(KahluaThread.java:1827) at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38) at zombie.characters.CharacterTimedActions.LuaTimedActionNew.update(LuaTimedActionNew.java:70) at zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:9719) at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83) at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230) at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26) at zombie.util.Lambda.capture(Lambda.java:130) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81) at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:9464) at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:1943) at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83) at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230) at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26) at zombie.util.Lambda.capture(Lambda.java:130) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81) at zombie.characters.IsoPlayer.update(IsoPlayer.java:1924) at zombie.MovingObjectUpdateSchedulerUpdateBucket.update(MovingObjectUpdateSchedulerUpdateBucket.java:79) at zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:145) at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:2955) at zombie.iso.IsoCell.updateInternal(IsoCell.java:5750) at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83) at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230) at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26) at zombie.util.Lambda.capture(Lambda.java:130) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81) at zombie.iso.IsoCell.update(IsoCell.java:5696) at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3499) at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83) at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230) at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26) at zombie.util.Lambda.capture(Lambda.java:130) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81) at zombie.iso.IsoWorld.update(IsoWorld.java:3427) at zombie.gameStates.IngameState.updateInternal(IngameState.java:1617) 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) `
< >
Showing 1-11 of 11 comments
AuD  [developer] 28 Oct, 2023 @ 1:17am 
i need more information:

MP or SP?
when error apear?
with other tetris patch addon or just transfer items sounds mod and inventory tetris?
other stuff ?
Last edited by AuD; 28 Oct, 2023 @ 1:18am
Rukio 28 Oct, 2023 @ 1:45pm 
Originally posted by AuD:
i need more information:

MP or SP?
when error apear?
with other tetris patch addon or just transfer items sounds mod and inventory tetris?
other stuff ?

Unstable Build 41.78.16
Multiplayer
The error is a Stack Trace error that pops up
I have Inventory Tetris and Inventory Tetris - ALL THE MODS:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2982070344
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3044609444 (Using Mod ID: IT_all the mods)
Inventory Tetris setting 'Search Mode' was on.

Basically, searching through cabinets or in this case a Hiking Bag would have things not searchable (Clicking on a slot and then eventually clearing and showing what was in that area). It would continue on forever and throw 1000s of error pop ups.
Last edited by Rukio; 28 Oct, 2023 @ 1:46pm
Lonely Knightess 19 Dec, 2023 @ 1:02am 
+1 to this
AuD  [developer] 19 Dec, 2023 @ 2:16am 
I still don't know where this error can come from, if it's because of my mod, or, of all the superimposed mods related to tetris, or, tetris, knowing that tetris itself contains bugs....
I was having the same issue, fixed it by following the 'infinite search error fix' listed at the top of Inventory Tetris - All the Mods. Seems to pop up on containers with a large amount of spaces to search. Most often noticed it with the fridge in particular.
AuD  [developer] 16 Mar, 2024 @ 12:56am 
I didn't understand how you resolved the error, could you explain more plz?
AuD  [developer] 4 Apr, 2024 @ 10:14am 
STACK TRACE
-----------------------------------------
function: _getOrCreateSearchSession -- file: ItemGrid.lua line # 618 | MOD: Inventory Tetris
function: updateSearch -- file: ItemGrid.lua line # 636 | MOD: Inventory Tetris
function: update -- file: SearchGridAction.lua line # 48 | MOD: Inventory Tetris
function: update -- file: upperlayer_SearchGridAction_addSound.lua line # 74 | MOD: add transfer Item Sounds.
[04-04-24 23:06:28.875] LOG : General , 1712243188875> -------------------------------------------------------------
attempted index: 11.0 of non-table: null.
[04-04-24 23:06:28.875] LOG : General , 1712243188875> -----------------------------------------
AuD  [developer] 5 Apr, 2024 @ 1:27pm 
Last edited by AuD; 5 Apr, 2024 @ 1:28pm
Pseudo 21 May, 2024 @ 7:21am 
same issue
AuD  [developer] 21 May, 2024 @ 10:09am 
@Pseudo

I can't understand this bug internally... I don't see the error stack trace, everything works fine for me.

I need more information, exactly the circumstance and actions.
AuD  [developer] 3 Jun, 2024 @ 2:36pm 
this bug comes from the tetris mod, not from my mod, this will be resolved in beta 6 of tetris mod.

read this >>

https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/2982070344/4353366316810359997/?tscn=1717448654
< >
Showing 1-11 of 11 comments
Per page: 1530 50