Project Zomboid

Project Zomboid

Respawn in Car [MP/SP]
KodeMan 2022 年 7 月 1 日 上午 4:11
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.
< >
正在显示第 1 - 15 条,共 25 条留言
AuD  [开发者] 2022 年 7 月 1 日 上午 10:01 
i know i think!
Starkz 2022 年 7 月 11 日 下午 7:39 
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
最后由 Starkz 编辑于; 2022 年 7 月 11 日 下午 7:41
AuD  [开发者] 2022 年 7 月 12 日 上午 2:16 
i have attempted to fix this, can you test again and tell me please.
Starkz 2022 年 7 月 12 日 下午 12:11 
Working great now, thanks
AuD  [开发者] 2022 年 7 月 12 日 下午 1:32 
!!!!!!!!!!!!!!
bcz 2022 年 7 月 18 日 上午 2:03 
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  [开发者] 2022 年 7 月 18 日 上午 2:09 
You can't use this in solo because is a multiplayer script, why do you use this mod in solo please?
最后由 AuD 编辑于; 2022 年 7 月 18 日 上午 2:15
UnsetLay 2022 年 8 月 30 日 上午 1:59 
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  [开发者] 2022 年 8 月 30 日 上午 5:30 
ok i will check this ;)
AuD  [开发者] 2022 年 8 月 30 日 上午 5:58 
@UnsetLay the black screen come on player login?
AuD  [开发者] 2022 年 8 月 30 日 上午 6:01 
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 2022 年 8 月 30 日 下午 5:39 
@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.
最后由 UnsetLay 编辑于; 2022 年 8 月 31 日 上午 6:57
UnsetLay 2022 年 8 月 30 日 下午 5:47 
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  [开发者] 2022 年 8 月 30 日 下午 6:40 
tank you for your report
AuD  [开发者] 2022 年 8 月 31 日 上午 4:51 
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
< >
正在显示第 1 - 15 条,共 25 条留言
每页显示数: 1530 50