Project Zomboid

Project Zomboid

Out of Gas?
dtoxic 25 May, 2023 @ 9:55am
Bug?
In the sand box options the default settings are stated as minimum/maximum for endurance 0.00 and 0.01 and the number by default is 20-4E so could you check that if you would be so kind :)

VERSION = 1,

option OOG.EnduranceMalus
{
type = double,
min = 0,
max = 0.01,
default = 0.0002,
page = OOG,
translation = OOG_EnduranceMalus,
}
Last edited by dtoxic; 25 May, 2023 @ 9:56am
< >
Showing 1-6 of 6 comments
Pao  [developer] 1 Jun, 2023 @ 5:40am 
I'm not sure what the issue is, could you explain it again? Sorry
dtoxic 1 Jun, 2023 @ 6:23am 
so in the sandbox options where you input endurance drain there is no "valid" number it;s 20-4E by default witch i think equals to 0.0002 problem is nothing else can be inputted there at least nothing like a normal number witch would define how much or little endurance you loose while pushing the car,i managed to manually edit the default but just wanting to let you know....check those sandbox settings txt
Pao  [developer] 1 Jun, 2023 @ 6:34am 
Originally posted by dtoxic:
so in the sandbox options where you input endurance drain there is no "valid" number it;s 20-4E by default witch i think equals to 0.0002 problem is nothing else can be inputted there at least nothing like a normal number witch would define how much or little endurance you loose while pushing the car,i managed to manually edit the default but just wanting to let you know....check those sandbox settings txt
Gotcha, fix coming soon :)
dtoxic 1 Jun, 2023 @ 6:56am 
awesome
Wesch 22 Dec, 2023 @ 6:51am 
getting this error when pushing

STACK TRACE
-----------------------------------------
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@c1536f41
function: ExecImpulse -- file: OOG_Handler.lua line # 68 | MOD: Out Of Gas
function: UpdateVehiclePosition -- file: OOG_Handler.lua line # 157 | MOD: Out Of Gas

ERROR: General , 1703256605630> ExceptionLogger.logException> Exception thrown java.lang.IllegalArgumentException at GeneratedMethodAccessor823.invoke.
ERROR: General , 1703256605630> DebugLogStream.printException> Stack trace:
java.lang.IllegalArgumentException
at jdk.internal.reflect.GeneratedMethodAccessor823.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.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:97)
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.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.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:92)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1624)
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)
LOG : General , 1703256605631> -------------------------------------------------------------
attempted index: add of non-table: null

LOG : General , 1703256605631> -----------------------------------------
STACK TRACE
separat.mn 9 Aug, 2024 @ 1:48pm 
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@8c287481
function: ExecImpulse -- file: OOG_Handler.lua line # 68 | MOD: Out Of Gas
function: UpdateVehiclePosition -- file: OOG_Handler.lua line # 157 | MOD: Out Of Gas.
[09-08-24 22:44:20.778] ERROR: General , 1723236260778> ExceptionLogger.logException> Exception thrown java.lang.IllegalArgumentException at GeneratedMethodAccessor1937.invoke..
[09-08-24 22:44:20.778] ERROR: General , 1723236260778> DebugLogStream.printException> Stack trace:.
[09-08-24 22:44:20.779] LOG : General , 1723236260779> -------------------------------------------------------------
attempted index: add of non-table: null.
[09-08-24 22:44:20.779] LOG : General , 1723236260779> -----------------------------------------
STACK TRACE

I dont know why, because this mod work great for now.
< >
Showing 1-6 of 6 comments
Per page: 1530 50