Project Zomboid

Project Zomboid

Rick's MLC Pay & Pump
FuelAPI + Tread's Fuel Type Framework + SOTO, Issues and Troubleshooting
(Reposting my original comment so context doesn't get lost in here, I'll keep all talk related to this issue in this discussion for easy access)
----------
I'm currently trying to get this mod to work with FuelAPI + Treads Fuel Types + SOTO.

I'm able to use credit cards and money to get gasoline, but I'm not able to pump Diesel into Diesel cans at all and my character gets stuck until I can switch to a two handed weapon.

I'm currently using the load order as described here to try and pump the Diesel, but every time I can't get it to pump and I'm stuck with just Gasoline.

FuelAPI ID 2688538916
Tread's Fuel Types Framework [41.65+] ID 2765042813
Fuel API + Tread Fuel Type Framework Patch 2940765818
FuelTypes & FuelAPI & SOTO 2914176958
Pumps Have Propane 2739570406
RicksMLC_PayAtThePump (this mod)
RicksMLC_PayAtThePump3rdPartyPatch (this mod's patch)

Is there a specific load order I need to use to be able to pump diesel from FuelAPI using pumps, or are certain patches incompatible/ not needed with this?
< >
Showing 1-3 of 3 comments
ArsonBoy5996 8 Jul, 2024 @ 1:10am 
I've adjusted my load order a bit to not include the separate FuelAPI + Tread's Fueltype Framework patch that I mentioned in the load order above since according to the comments apparently it doesn't work? (Not sure and I have no idea how to verify it.)

I've opted to instead just use the regular FuelAPI patch that comes with the original Tread's mod, and will keep it that way for now unless someone points out otherwise.

New Load Order is as follows:
FuelAPI ID 2688538916
Tread's Fuel Types Framework [41.65+] ID 2765042813
Tread's Fuel Types Framework + FuelAPI patch (included in same mod above)
FuelTypes & FuelAPI & SOTO 2914176958
Pumps Have Propane 2739570406
RicksMLC_PayAtThePump (this mod)
RicksMLC_PayAtThePump3rdPartyPatch (this mod's patch)

I'm still not able to pump Diesel from a pump into any of the Diesel cans included from FuelAPI. My character will try to pump the Diesel, get to about 99.9999% progress when trying to start the pumping, and then they'll get stuck on the green bar forever until I switch to a two handed weapon.

I'll get about 1800+ errors as the bar fills up, and then it stops when I get stuck at 99%. The errors appear to be some variation of this repeated about 1800 times, with a final bugged action ending it:


LOG : General , 1720425386295> -----------------------------------------
STACK TRACE
-----------------------------------------
function: update -- file: ISTakeFuel.lua line # 26 | Vanilla
function: update -- file: RicksMLC_PayAtThePump.lua line # 360 | MOD: Rick's MLC Pay & Pump

LOG : General , 1720425386295> -----------------------------------------
STACK TRACE
-----------------------------------------
function: perform -- file: ISTakeFuel.lua line # 67 | MOD: Tread's Fuel Types Framework and Fuel API Compatibility

ERROR: General , 1720425386295> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in perform at KahluaUtil.fail line:82.
ERROR: General , 1720425386295> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: Object tried to call nil in perform
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:973)
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)
LOG : General , 1720425386297> -----------------------------------------
STACK TRACE
-----------------------------------------
function: perform -- file: ISTakeFuel.lua line # 67 | MOD: Tread's Fuel Types Framework and Fuel API Compatibility

LOG : General , 1720425386297> bugged action, cleared queue ISTakeFuel
Last edited by ArsonBoy5996; 8 Jul, 2024 @ 1:12am
RicksMLC  [developer] 8 Jul, 2024 @ 3:07am 
Yah - that's a tricky one. It looks like a recursive error, but I have not reproduced it. The "Object tried to call nil in perform may be the stack is consistent with that as the line of code should have worked (line 67 in the treads patch mod) but if it ran out of memory it might crash out like that. As to the initial cause I don't think I can reproduce it.
ArsonBoy5996 8 Jul, 2024 @ 4:06pm 
Yeah upon further investigation it might be an error unrelated to this mod, since I've disabled Pay and Pump + the patch to try and see how the cans behave and the behavior is still persisting.

I'll keep this discussion open in case anyone else goes down the same rabbit hole, but I'll keep messing with my load order to try and see what's causing the issue and leave my findings here and in the other mod threads as well.
----------------------------------------------
Update: So far removing SOTO was the only way I've been able to get the Diesel Cans working at all. Shame I'll miss out on the low sweat trait, but I've never really interacted with the occupations a lot anyway, so it'll have to go for now.
Last edited by ArsonBoy5996; 8 Jul, 2024 @ 5:10pm
< >
Showing 1-3 of 3 comments
Per page: 1530 50