Project Zomboid

Project Zomboid

Even More Traits
Vhegar 5 MAR 2024 a las 9:32
Bug Report/ Compatability issue
This mod and any of the minimal or maximum displays bars are not compatible specifically line #3421 on the lua of the display bars. I have tested it with alot of other mods but anytime I put both of these together I get the same issue. I have coop-splitscreen off and still get the issue.

LOG : General , 1709659759442> 0> SERVER: process-status@terminated
LOG : General , 1709659759471> 0> -------------------------------------------------------------
attempted index: isLocalPlayer of non-table: null

LOG : General , 1709659759478> 0> -----------------------------------------
STACK TRACE
-----------------------------------------
function: OnLocalPlayerDisconnect -- file: Minimal Display Bars (A).lua line # 3421 | MOD: Maximum Display Bars

ERROR: General , 1709659759481> 0> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: isLocalPlayer of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1709659759482> 0> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: isLocalPlayer of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
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:65)
at zombie.network.GameClient.update(GameClient.java:355)
at zombie.GameWindow.logic(GameWindow.java:232)
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 , 1709659759487> 0> -----------------------------------------
STACK TRACE
-----------------------------------------
function: OnLocalPlayerDisconnect -- file: Minimal Display Bars (A).lua line # 3421 | MOD: Maximum Display Bars

LOG : General , 1709659759492> 0> LuaEventManager: adding unknown event "OnPreUIDraw"
LOG : General , 1709659759492> 0> LuaEventManager: adding unknown event "OnPostUIDraw"
LOG : General , 1709659759784> 0> loading 100034 zones from map_zone.bin
LOG : General , 1709659760661> 0> Max #ZONES on one chunk is 31
LOG : General , 1709659760662> 0> LuaEventManager: adding unknown event "OnLoadedMapZones"
LOG : General , 1709659760711> 0> Requested 529 chunks from the server
LOG : General , 1709659761715> 0> Received 0 / 529 chunks
LOG : General , 1709659762719> 0> Received 0 / 529 chunks
LOG : General , 1709659763527> 0> EXITDEBUG: Core.quit 1
LOG : General , 1709659763527> 0> EXITDEBUG: Core.quit 3
LOG : General , 1709659763529> 0> waiting for UdpEngine thread termination
LOG : Network , 1709659763541> 0> [05-03-24 12:29:23.541] > ZNet: [-> CZombienet: RakNetPeerInterface_Shutdown
LOG : Network , 1709659763541> 0> [05-03-24 12:29:23.541] > ZNet: CZombienet -> CZombienet: shutdown
LOG : Network , 1709659763541> 0> [05-03-24 12:29:23.541] > ZNet: CZombienet -> CZombienet: CancelAuth
LOG : Network , 1709659763541> 0> [05-03-24 12:29:23.541] > ZNet: Shutdown: CloseP2PSessionWithServer
LOG : Network , 1709659763542> 0> [05-03-24 12:29:23.542] > ZNet: CZombienet -> CZombienet: CloseConnection
LOG : Network , 1709659763542> 0> [05-03-24 12:29:23.542] > ZNet: CloseConnection: Shutdown (1204)
LOG : Network , 1709659763542> 0> [05-03-24 12:29:23.542] > ZNet: CZombienet -> CZombienet: CancelAuth
LOG : General , 1709659763736> 0> Received 0 / 529 chunks
LOG : General , 1709659764617> 0> EXITDEBUG: Core.quit 4
< >
Mostrando 1-4 de 4 comentarios
Dr. Lalaoz  [desarrollador] 5 MAR 2024 a las 14:45 
i'll look into this more in depth later but after a quick look at the code i'm kind of surprised by that error.
i use display bars and my trait mod during all my testing so i can see stats easier.
the variable thats erroring out is coming straight from the OnDisconnect() event. which should only ever return a player object. so the fact that its nil is concerning.

my initial thoughts are that all of the survivor npc mods accomplish their setups by essentially running split screen characters. which could be triggering the OnDisconnect event when they despawn but since they're not actually players its just nil.

as far as functionality goes that error can pop up as much as it wants and it wont break anything. its a single thread that gets created and then immediately errors and does nothing.

are you using the survivor npcs mod?
Vhegar 5 MAR 2024 a las 18:33 
no im not using the survivor npcs mod
milena.srbova 31 JUL 2024 a las 10:25 
is this the place to report bugs?
i dunno but im doing it anyway.
so, this may be a compatibility issue or just a bug for me, but whenever i use this mod, my running and sprinting animations become very choppy and slow, and my weapon attack animations are way slower than they should be half the time and normal the other half of the time.
so far, i think this is a compatibility issue with one of the other popular traits mods, but i do not know for sure.
究極の絶望 8 OCT 2024 a las 14:29 
Yes, this same error happened to me, i used the 'superb survivors' mod, and the negative moodles appear on max. For what you said this error is only visual and doesn't actually do anything?

Publicado originalmente por Dr. Lalaoz:
i'll look into this more in depth later but after a quick look at the code i'm kind of surprised by that error.
i use display bars and my trait mod during all my testing so i can see stats easier.
the variable thats erroring out is coming straight from the OnDisconnect() event. which should only ever return a player object. so the fact that its nil is concerning.

my initial thoughts are that all of the survivor npc mods accomplish their setups by essentially running split screen characters. which could be triggering the OnDisconnect event when they despawn but since they're not actually players its just nil.

as far as functionality goes that error can pop up as much as it wants and it wont break anything. its a single thread that gets created and then immediately errors and does nothing.

are you using the survivor npcs mod?
< >
Mostrando 1-4 de 4 comentarios
Por página: 1530 50