Project Zomboid

Project Zomboid

Another Vehicle Claim System
This topic has been locked
Segaside 10 Jul, 2023 @ 3:52am
Keep getting this error by simply driving foward.
`function: Tire -- file: Vehicles.lua line # 712 | Vanilla
java.lang.RuntimeException: __div not defined for operands in Tire
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:676)
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:1861)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:135)
at zombie.vehicles.BaseVehicle.callLuaVoid(BaseVehicle.java:9001)
at zombie.vehicles.BaseVehicle.updatePart(BaseVehicle.java:8297)
at zombie.vehicles.BaseVehicle.updateParts(BaseVehicle.java:8322)
at zombie.vehicles.BaseVehicle.update(BaseVehicle.java:3853)
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)
`
function: Tire -- file: Vehicles.lua line # 712 | Vanilla
< >
Showing 1-13 of 13 comments
Lu5ck  [developer] 10 Jul, 2023 @ 7:21am 
Do you have other vehicle related mods?
Segaside 10 Jul, 2023 @ 3:23pm 
Originally posted by Lu5ck:
Do you have other vehicle related mods?

This is tested solely with only your mod, Cheat menu, Modoptions and Error finder. Nothing else.

I will test if my other vehicle mods are causing it, even when disabled. But that really shouldn't be the case.
Lu5ck  [developer] 10 Jul, 2023 @ 11:39pm 
Cheat menu?
Error finder?

Link?
Lu5ck  [developer] 11 Jul, 2023 @ 11:30am 
Try running without the cheat mod.
Segaside 11 Jul, 2023 @ 10:13pm 
Originally posted by Lu5ck:
Try running without the cheat mod.

No other mods but yours.

This was in debug mode and still happens. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3003016361
Lu5ck  [developer] 12 Jul, 2023 @ 12:04am 
Erm, the thing is, I didn't encounter such error or my dozens of users on my server encounter such. I also didn't do anything related to "tire".

Try verify your game?
Last edited by Lu5ck; 12 Jul, 2023 @ 12:18am
Segaside 12 Jul, 2023 @ 12:15am 
Originally posted by Lu5ck:
Erm, the thing is, I didn't encounter such error or my dozens of users on my server encounter such. I also didn't do anything related to "tire".

Try verify your game?

Already done that. Going to literally reinstall to see if that helps.
Lu5ck  [developer] 12 Jul, 2023 @ 12:18am 
It could also because you doing it offline.
Segaside 12 Jul, 2023 @ 12:40am 
Originally posted by Lu5ck:
It could also because you doing it offline.

It's not that. I assure you.
Lu5ck  [developer] 12 Jul, 2023 @ 1:29am 
I found out the potential cause, will update the fix for it. Thanks.
Segaside 12 Jul, 2023 @ 2:00am 
Originally posted by Lu5ck:
I found out the potential cause, will update the fix for it. Thanks.

Magical :cozybethesda:
Segaside 12 Jul, 2023 @ 4:52am 
Seems to be solved now. Good stuff dude! Appreciate your dedication and patience!
< >
Showing 1-13 of 13 comments
Per page: 1530 50