Project Zomboid

Project Zomboid

[B41] Krabi's Vanilla Reloading
此主题已被锁定
Nyx2330 2023 年 9 月 20 日 上午 3:31
Bug report
When the melee weapon breaks errors start to show up from this mod.
Could you check this out please?


function: OnPlayerAttackFinished -- file: KVR_casings.lua line # 18 | MOD: Krabi's Vanilla Reloading

ERROR: General , 1695204303981> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getWeaponReloadType of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1695204303982> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: getWeaponReloadType 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:134)
at zombie.ai.states.SwipeStatePlayer.exit(SwipeStatePlayer.java:543)
at zombie.ai.StateMachine.stateExit(StateMachine.java:249)
at zombie.ai.StateMachine.removeSubstate(StateMachine.java:167)
at zombie.ai.StateMachine.lambda$changeState$2(StateMachine.java:62)
at zombie.util.lambda.Consumers$Params1$CallbackStackItem.accept(Consumers.java:39)
at zombie.util.list.PZArrayUtil.forEach(PZArrayUtil.java:904)
at zombie.util.Lambda.lambda$forEachFrom$2(Lambda.java:201)
at zombie.util.lambda.Stacks$Params4$CallbackStackItem.invoke(Stacks.java:286)
at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
at zombie.util.Lambda.capture(Lambda.java:136)
at zombie.util.Lambda.forEachFrom(Lambda.java:198)
at zombie.ai.StateMachine.changeState(StateMachine.java:58)
at zombie.ai.StateMachine.changeState(StateMachine.java:32)
at zombie.characters.IsoGameCharacter.actionStateChanged(IsoGameCharacter.java:13858)
at zombie.characters.IsoPlayer.actionStateChanged(IsoPlayer.java:8966)
at zombie.characters.action.ActionContext.invokeAnyStateChangedEvents(ActionContext.java:433)
at zombie.characters.action.ActionContext.updateInternal(ActionContext.java:83)
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.action.ActionContext.update(ActionContext.java:66)
at zombie.characters.IsoGameCharacter.postUpdateInternal(IsoGameCharacter.java:12084)
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.postupdate(IsoGameCharacter.java:12063)
at zombie.characters.IsoPlayer.postupdateInternal(IsoPlayer.java:3740)
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.postupdate(IsoPlayer.java:3733)
at zombie.MovingObjectUpdateSchedulerUpdateBucket.postupdate(MovingObjectUpdateSchedulerUpdateBucket.java:97)
at zombie.MovingObjectUpdateScheduler.postupdate(MovingObjectUpdateScheduler.java:168)
at zombie.CollisionManager.resolveContactsInternal(CollisionManager.java:411)
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.CollisionManager.ResolveContacts(CollisionManager.java:236)
at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3502)
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)
< >
正在显示第 1 - 3 条,共 3 条留言
krabi  [开发者] 2023 年 9 月 20 日 下午 9:29 
Should be fixed now.
Nyx2330 2023 年 9 月 23 日 上午 7:32 
Okay so I don't know if this is a bug or not but After I started a new game today and
I noticed that the casings weren't dropping from the guns. It's kinda weird since
everything worked fine yesterday. The casings do spawn if I use debug but they
somehow don't seem to spawn naturally I tried using this mod only but nothing changed.
最后由 Nyx2330 编辑于; 2023 年 9 月 23 日 上午 8:10
Nyx2330 2023 年 9 月 23 日 下午 6:47 
After today's update the casing problems seems to be gone now. Thanks a lot.
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50