Project Zomboid

Project Zomboid

Respawn in Car [MP/SP]
KodeMan 1 Jul, 2022 @ 4:11am
Bug Reports
Getting this error just by logging in. Freshly wiped test server

STACK TRACE
-----------------------------------------
function: ForceRespawnInVehicle_OnClientCommand -- file: respawnCarServer.lua line # 76.
[01-07-22 06:07:31.156] ERROR: General , 1656673651156> 2,552,782> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: KodeMan of non-table: null at KahluaThread.tableget line:1689..
[01-07-22 06:07:31.156] ERROR: General , 1656673651156> 2,552,782> DebugLogStream.printException> Stack trace:.
[01-07-22 06:07:31.157] LOG : General , 1656673651157> 2,552,783> -----------------------------------------
STACK TRACE
-----------------------------------------
function: ForceRespawnInVehicle_OnClientCommand -- file: respawnCarServer.lua line # 76.
< >
Showing 1-15 of 25 comments
AuD  [developer] 1 Jul, 2022 @ 10:01am 
i know i think!
Starkz 11 Jul, 2022 @ 7:39pm 
Hi, i'm running a dedicated server and since the last update of this mod the server starts spamming an exception whenever a player connects.

If you need a modlist just let me know, but i'm using the most "well known" vehicles mod, including rv interiors and boats.

ERROR: General , 1657592995669> 718.028.553> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: Starkz of non-table: null at KahluaThread.tableget line:1689. ERROR: General , 1657592995669> 718.028.554> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index: Starkz 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:214) at zombie.network.GameServer.receiveClientCommand(GameServer.java:4157) at zombie.network.PacketTypes$PacketType.onServerPacket(PacketTypes.java:1012) at zombie.network.GameServer.mainLoopDealWithNetData(GameServer.java:1541) at zombie.network.GameServer.main(GameServer.java:816) LOG : General , 1657592995673> 718.028.558> ----------------------------------------- STACK TRACE ----------------------------------------- function: ForceRespawnInVehicle_OnClientCommand -- file: respawnCarServer.lua line # 125
Last edited by Starkz; 11 Jul, 2022 @ 7:41pm
AuD  [developer] 12 Jul, 2022 @ 2:16am 
i have attempted to fix this, can you test again and tell me please.
Starkz 12 Jul, 2022 @ 12:11pm 
Working great now, thanks
AuD  [developer] 12 Jul, 2022 @ 1:32pm 
!!!!!!!!!!!!!!
bcz 18 Jul, 2022 @ 2:03am 
this mod now makes my screen black when i join a singleplayer game. also the background is black on the main menu. only started happening a little bit ago
AuD  [developer] 18 Jul, 2022 @ 2:09am 
You can't use this in solo because is a multiplayer script, why do you use this mod in solo please?
Last edited by AuD; 18 Jul, 2022 @ 2:15am
UnsetLay 30 Aug, 2022 @ 1:59am 
One of players on my server just happened to stuck in black screen just after he entered the RV interior, black screen with the words says to contact AUD, stuck even tried re-login.
AuD  [developer] 30 Aug, 2022 @ 5:30am 
ok i will check this ;)
AuD  [developer] 30 Aug, 2022 @ 5:58am 
@UnsetLay the black screen come on player login?
AuD  [developer] 30 Aug, 2022 @ 6:01am 
because if it's withing game start since some minutes, my code no effect after 10/15 secondes.

because you tell me, "after player entered the RV interior"
UnsetLay 30 Aug, 2022 @ 5:39pm 
@AuD

EDIT: After test, this Issue is on RV Interior mod, this mod is working fine.



We tested as we can last night:

3 players included me were log out from RV interior last game, then,

My char ( not admin) logged in, game crashed for 3 times, disable anti-cheat 24, almost get stuck but managed to work after few seconds. ( My admin char was not log out from RV and works fine )

Player One logged in, leaved the RV and back, entered the interior again, stuck in black screen after few seconds, tried re-connect several times with no luck, I teleport him out, enter the RV interior again, same issues.

Player Two logged in, stuck in black screen, teleport out, enter the RV interior again, get stuck again, player tried to drop item to the ground, actions will be defer to when player got teleport outside, if we drive the RV to another position, no black screen but theres an invisible wall in RV interior, player stuck in a room with a lot of barrels if keep trying to walk into the invisible wall.

They can get on the other vehicle without problems.

What we tried:

Use every option in Debug context menu, no luck.
Drive the RV away, no luck.
Reset RV, no luck.

What we did to temporarily corrected:
Re-spawn another new RV vehicle.

I got screen-shots, recording and player two's logs, will send to you for inspection.

Thank you.
Last edited by UnsetLay; 31 Aug, 2022 @ 6:57am
UnsetLay 30 Aug, 2022 @ 5:47pm 
And even with the vehicle not RV ( for example KI5's commando ), one player disconnected from the vehicle will get error after he re-connect to the vehicle, just error but everything works like no problem.
These issues were not happened before this mod installed.

Besides, still a great and useful mod, thank you for all your works.
AuD  [developer] 30 Aug, 2022 @ 6:40pm 
tank you for your report
AuD  [developer] 31 Aug, 2022 @ 4:51am 
i believe is Rv interior the problem; because after look your video and log file, you are telepported in other area if you glitch wall
< >
Showing 1-15 of 25 comments
Per page: 1530 50