Project Zomboid

Project Zomboid

Time Decreases Loot
This topic has been locked
UdderlyEvelyn 30 Jul, 2022 @ 12:46pm
Exception Every Server Start
I haven't looked into the code (yet) to see why this might be happening, but with my (relatively large) modset I'm getting this error every time the server starts. It seems to be working fine regardless, but I figured it's best to look into it nonetheless since this is a mod that touches on a lot of things in the game.

LOG : General , 1659202942118> 2,136,227,657> ------------------------------------------------- LOG : General , 1659202942118> 2,136,227,657> More Loot Settings : Start of ModifyDistributions LOG : General , 1659202942118> 2,136,227,657> ------------------------------------------------- LOG : General , 1659202942118> 2,136,227,657> tweak Cigarettes Count LOG : General , 1659202942118> 2,136,227,657> tweakAttachedWeapons LOG : General , 1659202942118> 2,136,227,657> setupSpecificItemsMultipliersTable LOG : General , 1659202942122> 2,136,227,662> setup SkipChanceMultipliers check LOG : General , 1659202942123> 2,136,227,662> looping on SuburbsDistributions LOG : General , 1659202942212> 2,136,227,751> looping on Distributions LOG : General , 1659202942274> 2,136,227,814> looping on ProceduralDistributions ERROR: General , 1659202942874> 2,136,228,413> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: at MethodArguments.assertValid line:123. ERROR: General , 1659202942874> 2,136,228,414> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: at se.krka.kahlua.integration.expose.MethodArguments.assertValid(MethodArguments.java:123) at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:186) at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007) 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.GameServer.startServer(GameServer.java:1483) at zombie.network.GameServer.main(GameServer.java:755) LOG : General , 1659202942875> 2,136,228,414> ----------------------------------------- STACK TRACE ----------------------------------------- Callframe at: getItem function: multiplyLootChances -- file: multiplyDistributions.lua line # 730 function: loopOnTable -- file: multiplyDistributions.lua line # 857 function: ModifyDistributions -- file: multiplyDistributions.lua line # 1042
< >
Showing 1-1 of 1 comments
Champy  [developer] 15 Nov, 2022 @ 7:58am 
This looks like an error from More Loot Settings, not Time Decreases Loot...
Anyway, it probably throws this error because one of your mods made a typo in its distributions and so when More Loot Settings goes through the loot tables it can't recognize the item because of the typo.
< >
Showing 1-1 of 1 comments
Per page: 1530 50