Project Zomboid

Project Zomboid

Yes' Improved Stealth v2 [B42/B41]
Ortus 5 Nov, 2023 @ 7:06am
Errors
For some reason i have these errors on every new character creation

`attempted index: getLightLevel of non-table: null
function: StealthMoodleUpdate -- file: improvedsneak.lua line # 17 | MOD: Improved Stealth
java.lang.RuntimeException: attempted index: getLightLevel 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:65)
at zombie.GameTime.update(GameTime.java:680)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:566)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1623)
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-13 of 13 comments
yes  [developer] 9 Nov, 2023 @ 5:11am 
Oh, that is because your character spawned but the tile where he is supposed to be standing on hasn't loaded yet. So it tries to get the lightning level of that tile but it technically doesn't exist during that particular frame. That error is harmless since that code executes again after one minute in-game usually at that point the tile is loaded so nothing happens. Still, it is annoying to see so I'll fix it today if I can.
Ortus 9 Nov, 2023 @ 7:56am 
thanks!
yes  [developer] 9 Nov, 2023 @ 3:27pm 
Fixed!
Aang741 13 Nov, 2023 @ 12:48pm 
I don't know why when I turn on the washing machine it gives me multiple errors.

STACK TRACE
-----------------------------------------
function: OnWorldSound -- file: improvedsneak.lua line # 626 | MOD: Improved Stealth

LOG : General , 1699907888106> -------------------------------------------------------------
attempted index: isCharacter of non-table: zombie.iso.objects.ClothingWasherLogic@964714c

LOG : General , 1699907888106> -----------------------------------------
STACK TRACE
-----------------------------------------
function: OnWorldSound -- file: improvedsneak.lua line # 626 | MOD: Improved Stealth

ERROR: General , 1699907888107> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: isCharacter of non-table: zombie.iso.objects.ClothingWasherLogic@964714c at KahluaThread.tableget line:1689.
ERROR: General , 1699907888107> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: isCharacter of non-table: zombie.iso.objects.ClothingWasherLogic@964714c
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:299)
at zombie.WorldSoundManager$WorldSound.init(WorldSoundManager.java:468)
at zombie.WorldSoundManager.addSound(WorldSoundManager.java:66)
at zombie.WorldSoundManager.addSound(WorldSoundManager.java:52)
at zombie.WorldSoundManager.addSoundRepeating(WorldSoundManager.java:112)
at zombie.iso.objects.ClothingWasherLogic.updateSound(ClothingWasherLogic.java:232)
at zombie.iso.objects.ClothingWasherLogic.update(ClothingWasherLogic.java:75)
at zombie.iso.objects.IsoClothingWasher.update(IsoClothingWasher.java:53)
at zombie.iso.IsoCell.ProcessIsoObject(IsoCell.java:2944)
at zombie.iso.IsoCell.updateInternal(IsoCell.java:5746)
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:2635)
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:2568)
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:667)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1699907888110> -----------------------------------------
yes  [developer] 14 Nov, 2023 @ 5:50am 
Yeah, that one is quite tricky to solve because the devs themselves forgot about the washing machine's existance so the isCharacter() function does not know what to do for the very especific case of a washing machine, even though it should be "false" just like it does in the case of TVs and radios. The washing machine has its very own class and lacks a lot of methods. I'll try to fix it this weekend so my apologies. Just know that the error is totally harmless and does not break anything.
yes  [developer] 18 Nov, 2023 @ 1:52pm 
@Aang741 Should be fixed now! If you find any other error please let me know
Great_Puffer 23 Apr, 2024 @ 4:37pm 
im not getting to moodle, guessing its an mod issue like it usually is,
also, does having a clothing mod that isnt supported break anything?
im also not getting any errors
EDIT: i am but im not sure what it is yet
also the time is bugged out, im gonna try removing Surviving thru seasons
heres the log after i removed that mod

`attempted index: setInventoryItem of non-table: null
function: silentPartInstall -- file: KI5_commands.lua line # 57 | MOD: '70 Plymouth Barracuda
function: Add -- file: KI5_commands.lua line # 79 | MOD: '70 Plymouth Barracuda
java.lang.RuntimeException: attempted index: setInventoryItem 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:214)
at zombie.spnetwork.SinglePlayerServer.receiveClientCommand(SinglePlayerServer.java:229)
at zombie.spnetwork.SinglePlayerServer.mainLoopDealWithNetData(SinglePlayerServer.java:183)
at zombie.spnetwork.SinglePlayerServer.update(SinglePlayerServer.java:171)
at zombie.GameWindow.logic(GameWindow.java:239)
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)
`
im also gonna try another mod

`attempted index: setInventoryItem of non-table: null
function: silentPartInstall -- file: KI5_commands.lua line # 56 | MOD: '92 Ford Crown Victoria Police Interceptor
function: Add -- file: KI5_commands.lua line # 78 | MOD: '92 Ford Crown Victoria Police Interceptor
java.lang.RuntimeException: attempted index: setInventoryItem 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:214)
at zombie.spnetwork.SinglePlayerServer.receiveClientCommand(SinglePlayerServer.java:229)
at zombie.spnetwork.SinglePlayerServer.mainLoopDealWithNetData(SinglePlayerServer.java:183)
at zombie.spnetwork.SinglePlayerServer.update(SinglePlayerServer.java:171)
at zombie.GameWindow.logic(GameWindow.java:239)
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)
`
it seems the issue isnt KI5's cars?
Last edited by Great_Puffer; 23 Apr, 2024 @ 6:47pm
Great_Puffer 23 Apr, 2024 @ 6:56pm 
the errors arent happening but the issues persist
i dont know what it could be causing issues with
i forgot to say what the issue is but the date is glitched to 88/88
Last edited by Great_Puffer; 23 Apr, 2024 @ 8:40pm
Wesch 21 Jan @ 11:38am 
This is back again
yes  [developer] 21 Jan @ 11:52am 
mb it is fixed now. It was the new icon not loading into a new player
Quilava 27 Apr @ 11:46pm 
This mod somehow conflict with Airdrop mod, every time the drop going down, an error pop up, but it not game breaking or anything tho, still hope you can patch it up for a clean gameplay
This mod is lagging my game and spamming errors when using a washing machine:

function: OnWorldSound -- file: b42Sneak.lua line # 312 | MOD: Improved Stealth v2

ERROR: General f:51732, t:1749935677656> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: attempted index: isCharacter of non-table: zombie.iso.objects.ClothingWasherLogic@29344025 at KahluaThread.tableget(KahluaThread.java:1667).
Stack trace:
se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1790)
se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
zombie.Lua.Event.trigger(Event.java:72)
zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:557)
zombie.WorldSoundManager$WorldSound.init(WorldSoundManager.java:576)
zombie.WorldSoundManager.addSound(WorldSoundManager.java:90)
zombie.WorldSoundManager.addSoundRepeating(WorldSoundManager.java:70)
zombie.WorldSoundManager.addSoundRepeating(WorldSoundManager.java:141)
zombie.iso.objects.ClothingWasherLogic.updateSound(ClothingWasherLogic.java:268)
zombie.iso.objects.ClothingWasherLogic.update(ClothingWasherLogic.java:81)
zombie.iso.objects.IsoCombinationWasherDryer.update(IsoCombinationWasherDryer.java:59)
zombie.iso.IsoCell.ProcessIsoObject(IsoCell.java:3043)
zombie.iso.IsoCell.updateInternal(IsoCell.java:5953)
zombie.iso.IsoCell.update(IsoCell.java:5892)
zombie.iso.IsoWorld.updateWorld(IsoWorld.java:4192)
zombie.iso.IsoWorld.updateInternal(IsoWorld.java:4312)
zombie.iso.IsoWorld.update(IsoWorld.java:4226)
zombie.gameStates.IngameState.updateInternal(IngameState.java:1699)
zombie.gameStates.IngameState.update(IngameState.java:1464)
zombie.gameStates.GameStateMachine.update(GameStateMachine.java:87)
zombie.GameWindow.logic(GameWindow.java:381)
zombie.GameWindow.frameStep(GameWindow.java:914)
zombie.GameWindow.mainThreadStep(GameWindow.java:640)
zombie.MainThread.mainLoop(MainThread.java:76)
java.base/java.lang.Thread.run(Unknown Source)
LOG : General f:51732, t:1749935677656> -----------------------------------------
STACK TRACE
-----------------------------------------
function: OnWorldSound -- file: b42Sneak.lua line # 312 | MOD: Improved Stealth v2

LOG : General f:51733, t:1749935677702> -------------------------------------------------------------
attempted index: isCharacter of non-table: zombie.iso.objects.ClothingWasherLogic@29344025

LOG : General f:51733, t:1749935677702> -----------------------------------------
STACK TRACE
I wanted to report the same issues with the washing machines spamming errors in line 312 from b42sneak.lua
< >
Showing 1-13 of 13 comments
Per page: 1530 50