Project Zomboid

Project Zomboid

Plumbing Expanded
Filling Containers Causes Error
Just looking for some help with this error code, since I dont speak code. Started popping up after the B42.3 patch. Tried moving it around in my load order to no avail. A second pair of eyes on this would be appreciated.



`function: complete -- file: sharedplumbingfix.lua line # 93 | MOD: B42 Plumbing Fix
java.lang.RuntimeException: __sub not defined for operands in complete
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:659)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1760)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85)
at zombie.characters.CharacterTimedActions.LuaTimedActionNew.complete(LuaTimedActionNew.java:153)
at zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:10443)
at zombie.core.profiling.PerformanceProbes$Invokable$Params1$Probe_Cached.invoke(PerformanceProbes.java:144)
at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:10078)
at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:2203)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:102)
at zombie.characters.IsoPlayer.update(IsoPlayer.java:2183)
at zombie.MovingObjectUpdateSchedulerUpdateBucket.update(MovingObjectUpdateSchedulerUpdateBucket.java:71)
at zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:155)
at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:3058)
at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:195)
at zombie.iso.IsoCell.updateInternal(IsoCell.java:5942)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:102)
at zombie.iso.IsoCell.update(IsoCell.java:5884)
at zombie.iso.IsoWorld.updateWorld(IsoWorld.java:3955)
at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:4055)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:102)
at zombie.iso.IsoWorld.update(IsoWorld.java:3979)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1799)
at zombie.gameStates.IngameState.update(IngameState.java:1492)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:377)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
at zombie.GameWindow.frameStep(GameWindow.java:909)
at zombie.GameWindow.run_ez(GameWindow.java:802)
at zombie.GameWindow.mainThread(GameWindow.java:600)
at java.base/java.lang.Thread.run(Unknown Source)
`
< >
Showing 1-2 of 2 comments
Lightja  [developer] 14 Feb @ 2:11pm 
this error says its for line 93 of sharedplumbingfix.lua

The error states that it's trying to subtract a type that cant be subtracted (something like 100 - "yes" would trigger this)

line 93 on sharedplumbingfix.lua:

if self.item:getFluidContainer() then

there's nothing in the current version that would trigger that error at this line, which means you must be on an old version. I would unsubscribe and resubscribe to the mod to try to force it to update. To verify, you can check that the author field of the mod page says "42.3.0a"

this was a bug when 42.3 hit but I patched it a couple days later, so I'm guessing you just didn't get that update.
I unsubbed from everything and resubbed just in case. That seems to have fixed the issue.

Thanks! ♥
< >
Showing 1-2 of 2 comments
Per page: 1530 50