Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
(The console does not display this for all players..)
https://pastebin.com/5Juk6Jp4
Mod compatibility somehow? It works perfectly fine everywhere I tested. It works even with over 500 mods!
I am also seeing exceptions in server logs from this mod. See below. Let me know if there is any other way I can help. Thanks for the mod!
STACK TRACE
-----------------------------------------
function: onClientCommand -- file: LifeBoard_Server.lua line # 73 | MOD: Days Survived Leaderboard
attempted index: daysSurvived of non-table: null
LOG : General , 1693890032110> 6,788,970> -----------------------------------------
STACK TRACE
-----------------------------------------
function: onClientCommand -- file: LifeBoard_Server.lua line # 73 | MOD: Days Survived Leaderboard
ERROR: General , 1693890032110> 6,788,970> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: daysSurvived of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1693890032111> 6,788,970> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: daysSurvived 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:4168)
at zombie.network.PacketTypes$PacketType.onServerPacket(PacketTypes.java:1022)
at zombie.network.GameServer.mainLoopDealWithNetData(GameServer.java:1532)
at zombie.network.GameServer.main(GameServer.java:800)
LOG : General , 1693890032111> 6,788,970> -----------------------------------------
STACK TRACE
-----------------------------------------
function: onClientCommand -- file: LifeBoard_Server.lua line # 73 | MOD: Days Survived Leaderboard
@BitBraven - Any clue whether this is something on our end or where we should troubleshoot? Thanks for your time and for your contributions to the game (I use sooooo many of your mods - they are amazeballs)
LOG : General , 1700159251869> 454.375.618> -------------------------------------------------------------
attempted index: daysSurvived of non-table: null
LOG : General , 1700159251869> 454.375.619> -----------------------------------------
STACK TRACE
-----------------------------------------
function: onClientCommand -- file: LifeBoard_Server.lua line # 73 | MOD: Days Survived Leaderboard
ERROR: General , 1700159251870> 454.375.619> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: daysSurvived of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1700159251870> 454.375.620> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: daysSurvived 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:4168)
at zombie.network.PacketTypes$PacketType.onServerPacket(PacketTypes.java:1022)
at zombie.network.GameServer.mainLoopDealWithNetData(GameServer.java:1532)
at zombie.network.GameServer.main(GameServer.java:800)
LOG : General , 1700159251872> 454.375.621> -----------------------------------------
STACK TRACE
-----------------------------------------
function: onClientCommand -- file: LifeBoard_Server.lua line # 73 | MOD: Days Survived Leaderboard
Does seem to happen when client joins too early/first time after restart?
You can fix it by checking if "args" is null in remote exec of a server
or running a "if not getPlayer()" in EveryMinute event, because this event runs even when player is not initialized.
Cheers.