Project Zomboid

Project Zomboid

Yes' Improved Stealth v2 [B42/B41]
Ortus 2023 年 11 月 5 日 上午 7:06
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)
`
< >
正在显示第 1 - 15 条,共 15 条留言
yes  [开发者] 2023 年 11 月 9 日 上午 5:11 
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 2023 年 11 月 9 日 上午 7:56 
thanks!
yes  [开发者] 2023 年 11 月 9 日 下午 3:27 
Fixed!
Aang741 2023 年 11 月 13 日 下午 12:48 
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  [开发者] 2023 年 11 月 14 日 上午 5:50 
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  [开发者] 2023 年 11 月 18 日 下午 1:52 
@Aang741 Should be fixed now! If you find any other error please let me know
Great_Puffer 2024 年 4 月 23 日 下午 4:37 
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?
最后由 Great_Puffer 编辑于; 2024 年 4 月 23 日 下午 6:47
Great_Puffer 2024 年 4 月 23 日 下午 6:56 
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
最后由 Great_Puffer 编辑于; 2024 年 4 月 23 日 下午 8:40
Wesch 1 月 21 日 上午 11:38 
This is back again
yes  [开发者] 1 月 21 日 上午 11:52 
mb it is fixed now. It was the new icon not loading into a new player
Quilava 4 月 27 日 下午 11:46 
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
Machpella 6 月 14 日 下午 2:18 
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
Hans-Landa 6 月 16 日 下午 3:37 
I wanted to report the same issues with the washing machines spamming errors in line 312 from b42sneak.lua
Cyrisa 8 月 30 日 上午 1:51 
seeing this error pop up sometimes.

`attempted index: image of non-table: null
function: iconManager -- file: b42Sneak.lua line # 68 | MOD: Improved Stealth v2
function: NewZombieDetection -- file: b42Sneak.lua line # 112 | MOD: Improved Stealth v2
function: updateAllZombies -- file: b42Sneak.lua line # 255 | MOD: Improved Stealth v2
java.lang.RuntimeException: attempted index: image of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1530)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:403)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:174)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1826)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1653)
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:72)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:315)
at zombie.gameStates.IngameState.onTick(IngameState.java:1847)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1729)
at zombie.gameStates.IngameState.update(IngameState.java:1464)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:87)
at zombie.GameWindow.logic(GameWindow.java:382)
at zombie.GameWindow.frameStep(GameWindow.java:916)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
`
acottonsock 9 月 22 日 下午 4:47 
Just got this error. I use random airdrops mod, as well. Any plans to implement compatiblity?

`function: OnWorldSound -- file: b42Sneak.lua line # 312 | MOD: Improved Stealth v2
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@be7c3655
function: SpawnAirdrop -- file: airdrop_server.lua line # 626 | MOD: Random Airdrops
function: SpawnAirdropDelay -- file: airdrop_server.lua line # 591 | MOD: Random Airdrops
java.lang.RuntimeException: Object tried to call nil in OnWorldSound
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:101)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:817)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:174)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1826)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1653)
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:72)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:557)
at zombie.WorldSoundManager$WorldSound.init(WorldSoundManager.java:576)
at zombie.WorldSoundManager.addSound(WorldSoundManager.java:90)
at zombie.WorldSoundManager.addSound(WorldSoundManager.java:65)
at zombie.WorldSoundManager.addSound(WorldSoundManager.java:56)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:211)
at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:94)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:191)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:851)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:174)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1826)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1653)
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:72)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:281)
at zombie.GameTime.update(GameTime.java:751)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:596)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1725)
at zombie.gameStates.IngameState.update(IngameState.java:1464)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:87)
at zombie.GameWindow.logic(GameWindow.java:382)
at zombie.GameWindow.frameStep(GameWindow.java:916)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
`
< >
正在显示第 1 - 15 条,共 15 条留言
每页显示数: 1530 50