Project Zomboid

Project Zomboid

Another Vehicle Claim System
このトピックはロックされています
RuntimeException
We got another error when someone tried to enter their claimed vehicle. They claimed it, were able to enter it and use it but after logging off, the next time they played they can no longer enter the vehicle and an error shows up. Upon checking in the admin vehicles manager, their claimed vehicle no longer shows up.

This is my console.txt log when trying to enter the vehicle.

LOG : General , 1682131376246> 153,384,143> REJOIN SAFELY - Protection removed. LOG : General , 1682131391926> 153,399,824> Warning, root node parent is always null. LOG : General , 1682131391927> 153,399,824> -- EHE: IsoPlayers adding:Mamba Ashbluff LOG : General , 1682131391942> 153,399,839> FirstNAME:lorddy DEBUG: Vehicle , 1682131423617> 153,431,514> CarController.<init> > Vehicle vid=222 type=Base.SmallCar02 has been added at (3597.149658;11795.583984;0.194636) auth=vid:Base.SmallCar02(222) pid:(-1) auth=Server static=false active=false DEBUG: Vehicle , 1682131429147> 153,437,045> CarController.<init> > Vehicle vid=222 type=Base.SmallCar02 has been added at (3597.149658;11795.583984;0.194636) auth=vid:Base.SmallCar02(222) pid:(-1) auth=Server static=false active=false LOG : General , 1682131445098> 153,452,995> Received timeout for player Mamba Ashbluff id 4 LOG : General , 1682131522317> 153,530,214> You leaved admin chat DEBUG: Vehicle , 1682131525176> 153,533,074> CarController.<init> > Vehicle vid=222 type=Base.SmallCar02 has been added at (3597.149658;11795.583984;0.194636) auth=vid:Base.SmallCar02(222) pid:(-1) auth=Server static=false active=false LOG : General , 1682131526446> 153,534,344> ------------------------------------------------------------- attempted index: LastKnownLogonTime of non-table: null LOG : General , 1682131526447> 153,534,345> ----------------------------------------- STACK TRACE ----------------------------------------- function: checkPermission -- file: AVCSShared.lua line # 180 | MOD: Another Vehicle Claim System function: new -- file: AVCSOverrideVanilla.lua line # 142 | MOD: Another Vehicle Claim System function: onEnterAux -- file: ISVehicleMenu.lua line # 1206 | Vanilla function: processEnter -- file: ISVehicleMenu.lua line # 1179 | Vanilla function: onEnter -- file: ISVehicleMenu.lua line # 1142 | Vanilla function: Door -- file: Vehicles.lua line # 768 | Vanilla function: OnUseVehicle -- file: Vehicles.lua line # 1234 | Vanilla ERROR: General , 1682131526447> 153,534,345> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: LastKnownLogonTime of non-table: null at KahluaThread.tableget line:1689. ERROR: General , 1682131526447> 153,534,345> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index: LastKnownLogonTime of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492) 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:173) at zombie.characters.IsoPlayer.enterExitVehicle(IsoPlayer.java:5349) at zombie.characters.IsoPlayer.updateInternal2(IsoPlayer.java:2204) at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:1935) 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 , 1682131526450> 153,534,347> ----------------------------------------- STACK TRACE ----------------------------------------- function: checkPermission -- file: AVCSShared.lua line # 180 | MOD: Another Vehicle Claim System function: new -- file: AVCSOverrideVanilla.lua line # 142 | MOD: Another Vehicle Claim System function: onEnterAux -- file: ISVehicleMenu.lua line # 1206 | Vanilla function: processEnter -- file: ISVehicleMenu.lua line # 1179 | Vanilla function: onEnter -- file: ISVehicleMenu.lua line # 1142 | Vanilla function: Door -- file: Vehicles.lua line # 768 | Vanilla function: OnUseVehicle -- file: Vehicles.lua line # 1234 | Vanilla LOG : General , 1682131526725> 153,534,623> Zombie: removing stale zombie 5000 id=11193 LOG : General , 1682131529824> 153,537,722> ------------------------------------------------------------- attempted index: LastKnownLogonTime of non-table: null LOG : General , 1682131529825> 153,537,723> ----------------------------------------- STACK TRACE ----------------------------------------- function: checkPermission -- file: AVCSShared.lua line # 180 | MOD: Another Vehicle Claim System function: new -- file: AVCSOverrideVanilla.lua line # 142 | MOD: Another Vehicle Claim System function: onEnterAux -- file: ISVehicleMenu.lua line # 1206 | Vanilla function: processEnter -- file: ISVehicleMenu.lua line # 1179 | Vanilla function: onEnter -- file: ISVehicleMenu.lua line # 1142 | Vanilla function: Door -- file: Vehicles.lua line # 768 | Vanilla function: OnUseVehicle -- file: Vehicles.lua line # 1234 | Vanilla ERROR: General , 1682131529825> 153,537,723> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: LastKnownLogonTime of non-table: null at KahluaThread.tableget line:1689. ERROR: General , 1682131529825> 153,537,723> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index: LastKnownLogonTime of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492) 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:173) at zombie.characters.IsoPlayer.enterExitVehicle(IsoPlayer.java:5349) at zombie.characters.IsoPlayer.updateInternal2(IsoPlayer.java:2204) at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:1935) 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 , 1682131529827> 153,537,726> ----------------------------------------- STACK TRACE ----------------------------------------- function: checkPermission -- file: AVCSShared.lua line # 180 | MOD: Another Vehicle Claim System function: new -- file: AVCSOverrideVanilla.lua line # 142 | MOD: Another Vehicle Claim System function: onEnterAux -- file: ISVehicleMenu.lua line # 1206 | Vanilla function: processEnter -- file: ISVehicleMenu.lua line # 1179 | Vanilla function: onEnter -- file: ISVehicleMenu.lua line # 1142 | Vanilla function: Door -- file: Vehicles.lua line # 768 | Vanilla function: OnUseVehicle -- file: Vehicles.lua line # 1234 | Vanilla LOG : General , 1682131530411> 153,538,309> Zombie: removing stale zombie 5000 id=11196 DEBUG: Vehicle , 1682131534119> 153,542,017> CarController.<init> > Vehicle vid=222 type=Base.SmallCar02 has been added at (3597.149658;11795.583984;0.194636) auth=vid:Base.SmallCar02(222) pid:(-1) auth=Server static=false active=false
< >
1-5 / 5 のコメントを表示
Lu5ck  [開発者] 2023年4月22日 0時06分 
did your server crashed or hang at any point of time?
Lu5ck  [開発者] 2023年4月22日 2時44分 
There was a potential bug when you claim and unclaim the only vehicle you have in a short timeframe, leading to logon time not registered properly which then create a chain of errors for other features.

I have fixed the bug but you might need to rebuild the DB via the new sandbox option I have added.
最近の変更はLu5ckが行いました; 2023年4月22日 2時45分
Lu5ck の投稿を引用:
There was a potential bug when you claim and unclaim the only vehicle you have in a short timeframe, leading to logon time not registered properly which then create a chain of errors for other features.

I have fixed the bug but you might need to rebuild the DB via the new sandbox option I have added.
Alright I'll try this out thank you!

AFAIK the server hasn't crashed during that time.
lorddy 2023年4月22日 16時28分 
Lu5ck の投稿を引用:
There was a potential bug when you claim and unclaim the only vehicle you have in a short timeframe, leading to logon time not registered properly which then create a chain of errors for other features.

I have fixed the bug but you might need to rebuild the DB via the new sandbox option I have added.


How do I use the rebuild option properly? I tried checking it then applying changes but nothing seem to have changed. I tried accessing the same vehicle that was bugging out but it gave the same error. Is a server restart required?
Lu5ck  [開発者] 2023年4月22日 19時10分 
lorddy の投稿を引用:
Lu5ck の投稿を引用:
There was a potential bug when you claim and unclaim the only vehicle you have in a short timeframe, leading to logon time not registered properly which then create a chain of errors for other features.

I have fixed the bug but you might need to rebuild the DB via the new sandbox option I have added.


How do I use the rebuild option properly? I tried checking it then applying changes but nothing seem to have changed. I tried accessing the same vehicle that was bugging out but it gave the same error. Is a server restart required?

Yes, a server restart is required. Rebuilding DB shouldn't be done when there's players online.
最近の変更はLu5ckが行いました; 2023年4月22日 19時10分
< >
1-5 / 5 のコメントを表示
ページ毎: 1530 50