Project Zomboid

Project Zomboid

FunctionalChainsaw
FatherSarge 23 Jan, 2023 @ 12:46pm
Bug Report #2
Sorry y'all, snagged another one. errorMagnifier printout below.

This might (probably) be incompatibility with Skill Recovery Journal. I can hit chuck up if it's on his end somehow.

Produced when you right click and do "Check Fuel Amount". Weird behavior if you do this while the chainsaw is on the ground. You will pick up the chainsaw and can use it but it actually remains on the ground. If you unequip it and it will disappear.

Seems like the chainsaw has unlimited fuel as well.

I do appreciate the buff to tree cutting. Feels really good and useful now.

`attempted index: setDrawDirty of non-table: null
function: FtoolCheckFuel -- file: ftool_recipe.lua line # 59 | MOD: FunctionalChainsaw
Callframe at: PerformMakeItem
function: perform -- file: ISCraftAction.lua line # 58 | Vanilla
function: perform -- file: Skill Recovery Journal Write.lua line # 7 | MOD: Skill Recovery Journal
java.lang.RuntimeException: attempted index: setDrawDirty 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.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.inventory.RecipeManager.PerformMakeItem(RecipeManager.java:1374)
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:198)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:188)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
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:85)
at zombie.characters.CharacterTimedActions.LuaTimedActionNew.perform(LuaTimedActionNew.java:104)
at zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:9726)
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-5 of 5 comments
Glytch3r  [developer] 23 Jan, 2023 @ 7:02pm 
bugs squashed
thank you
FatherSarge 23 Jan, 2023 @ 7:27pm 
When squashing one bug, 1000 more take its place xD I can once again check the fuel but when the chainsaw is equipped 100s of errors cascade out while the condition of the chainsaw falls rapidly until broken (a few seconds). Pastebin before.

https://pastebin.com/zpdpKDpt
FatherSarge 24 Jan, 2023 @ 8:17am 
Hey Glytch, got a new error for ya, when I equip the chainsaw, same deal, 100s/1000s of errors cascading out. errorMagnifyer printout in the pastebin

https://pastebin.com/qSyive5g

I'm still seeing the line 199 error I previously posted as well.
FatherSarge 24 Jan, 2023 @ 10:33am 
Have a new error, pops when you left click (attack) with the chainsaw.

https://pastebin.com/xg40pWsK

It seems the fuel stuff works a little... strangely. It seems to start with whatever condition and 999 fuel. Then decreases fuel RAPIDLY while equipped. When it reaches 0 fuel it loses 1 condition. Once it gets down to 0 condition the chainsaw is broken and needs repairs. Once repaired it will operate at essentially infinite fuel (fuel goes into the negative and keeps going) and infinite condition I think.

Attempting to refill the chainsaw does nothing except deleting the gas can (no fuel added)

Just some more info, I've attempted to see if this is a mod conflict, it is not. All of these are reproducible with no mods enabled (I'll use cheatmenu to make it easier to get a chainsaw to test this but that will not cause issues)
Glytch3r  [developer] 27 Jan, 2023 @ 10:57pm 
PLEASE TEST AGAIN>> PATCH UPLOADED
< >
Showing 1-5 of 5 comments
Per page: 1530 50