Project Zomboid

Project Zomboid

Propane Generators
dtoxic 24 May, 2024 @ 2:25pm
Bugs
Your mod is conflicting with RV Interiors,entering any RV Car throws errors (not constantly) about 9 of them all are the same

STACK TRACE
-----------------------------------------
function: modNewGenerator -- file: PGGeneratorUtils.lua line # 174 | MOD: Propane Generators
function: ReplaceExistingObject -- file: MOGenerator.lua line # 29 | MOD: Propane Generators
function: NewGenerator -- file: MOGenerator.lua line # 48 | MOD: Propane Generators

ERROR: General , 1716581392169> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in modNewGenerator at KahluaUtil.fail line:82.
ERROR: General , 1716581392169> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: Object tried to call nil in modNewGenerator
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.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.MapObjects.newGridSquare(MapObjects.java:104)
at zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:3330)
at zombie.iso.IsoChunkMap.update(IsoChunkMap.java:199)
at zombie.iso.IsoCell.updateInternal(IsoCell.java:5735)
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 , 1716581392171> -----------------------------------------


https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2822286426
< >
Showing 1-6 of 6 comments
Warhammer98  [developer] 26 May, 2024 @ 7:10am 
Howdy @dtoxic, and thanks for the bug report! I've never used RV Interior, but I'll try to test it out and see if I can figure it out.
Propane Generators attempts to replace map object generators (so not generators which spawn randomly, those which would always be present in a map, and I presume the interior of RVs is implemented as a map or several maps) so that they have a chance to be propane or dual-fuel generators-- at first glance, it looks like the error you pasted is some kind of issue setting the sprite.
Warhammer98  [developer] 26 May, 2024 @ 7:13am 
Additionally, I see that beyond RV Interior itself you must install at least one additional mod to add vehicles which have an interior, or at least a mod to enable interiors for vanilla vehicles. Could you share which one(s) you're using so that I can attempt to recreate the issue exactly?
dtoxic 26 May, 2024 @ 7:17am 
it may be,since no visible generator is inside RV "it just has power" my thought is once you enter the RV the power generator is hidden from view somewhere of map (since i think RV interiors are just like tiny map or room) and RV's always have infinite power,probably modified generator code to run for ever and not need fuel just a guess thou,if i may suggest,if you can code wise exclude the whole RV mod from yours if it's possible it would solve the problem
dtoxic 26 May, 2024 @ 7:20am 
i don't use any add-ons for RV except Filibuster Rhymes' Used Cars but the RV mod accounts for that on it's own for 2 or 3 cars i think
dtoxic 26 May, 2024 @ 7:25am 
but i don't think RV mod is required for them,anyway that's all i have regarding RV's and interiors
< >
Showing 1-6 of 6 comments
Per page: 1530 50