Project Zomboid

Project Zomboid

add Mechanic Sounds - Lite Version
Thorium 13 May, 2024 @ 11:49am
Error When Refueling via Gas Pumps
I'm reproducing this issue on my server whenever I refuel my chevalier d6. The refueling sound effect fails to play. I'm reproducing every time I refuel.

It does not appear to affect the actual action of refueling. That still functions.

Granted I have a lot of mods active, but nothing affecting vehicle sound effects besides this mod. I would be happy to try to isolate it further if this isn't enough.

Stack trace:
java.lang.IllegalArgumentException 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:667) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source)

Callframe at: stopOrTriggerSound function: perform -- file: ISRefuelFromGasPump.lua line # 71 | Vanilla
< >
Showing 1-7 of 7 comments
AuD  [developer] 13 May, 2024 @ 12:39pm 
in admin or player mode? because admin mode removes the sound you know? I don't know why this generates an error
Thorium 13 May, 2024 @ 12:45pm 
Good question, I can check later!
Thorium 13 May, 2024 @ 5:20pm 
Originally posted by AuD:
in admin or player mode? because admin mode removes the sound you know? I don't know why this generates an error
Alright so I just went and checked with both a modded vehicle (cadillac gage commando) and a vanilla one (chevalier d6). Two other players online were able to reproduce as well.

The error consistently gets thrown at the beginning and end of refueling.

I checked in admin and player mode, in both modes the error is thrown.

In player mode, no refueling noise is played.

I do have 200+ mods installed in these tests, but the only ones affecting sounds being: quieter head stomps, and quieter vehicle tuning sounds.

This error appears to be harmless as far as gameplay. Refueling still functions for the four vehicles tested.

I can further test and see if I can repro on a fresh save and/or in an isolated test but that will take time, cheers
Thorium 13 May, 2024 @ 7:09pm 
also just wanted to say, amazing mods. thanks for taking a look at this and thanks for the great contributions to the game!!
Last edited by Thorium; 13 May, 2024 @ 7:09pm
AuD  [developer] 16 May, 2024 @ 11:38am 
ok, can you share me your collection of your mods, because it's a conflict i think. ty for your reply
Thorium 4 Aug, 2024 @ 6:27am 
So sorry for such a late reply.

Still reproducing this error on a fresh multiplayer server. Modlist here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails?id=3301003730
AuD  [developer] 29 Nov, 2024 @ 10:08am 
I would like to know if the error still occurs when interacting with the fuel pumps to the tank of a vehicle? Thanks
< >
Showing 1-7 of 7 comments
Per page: 1530 50