Project Zomboid

Project Zomboid

KillCount
ASnake_TWO Apr 11, 2023 @ 5:11pm
BUG
hi, your mod killcount bug for my server. red error appears everytime I kill Z. I use a lot of mods so maybye there are somes compatibility problem.
What is the problem? Or how to solve it?
Below is my error log.

function: createModData -- file: KillCountUpdate.lua line # 44 | MOD: KillCount
function: updateB41_52_OnZombieDead -- file: KillCountUpdate.lua line # 106 | MOD: KillCount.
[12-04-23 08:02:59.384] ERROR: General , 1681257779384> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __sub not defined for operands in createModData at KahluaUtil.fail line:82..
[12-04-23 08:02:59.384] ERROR: General , 1681257779384> DebugLogStream.printException> Stack trace:.
[12-04-23 08:02:59.388] LOG : General , 1681257779388> -----------------------------------------
STACK TRACE
-----------------------------------------
function: createModData -- file: KillCountUpdate.lua line # 44 | MOD: KillCount
function: updateB41_52_OnZombieDead -- file: KillCountUpdate.lua line # 106 | MOD: KillCount.
[12-04-23 08:02:59.389] LOG : General , 1681257779389> ETW Logger: BloodlustMeter=6.2009688428613865.
[12-04-23 08:02:59.390] LOG : General , 1681257779390> -----------------------------------------
STACK TRACE
-----------------------------------------
function: createModData -- file: KillCountUpdate.lua line # 44 | MOD: KillCount
function: updateB41_52_OnCharacterDeath -- file: KillCountUpdate.lua line # 75 | MOD: KillCount.
[12-04-23 08:02:59.390] ERROR: General , 1681257779390> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __sub not defined for operands in createModData at KahluaUtil.fail line:82..
[12-04-23 08:02:59.390] ERROR: General , 1681257779390> DebugLogStream.printException> Stack trace:.
[12-04-23 08:02:59.395] LOG : General , 1681257779395> -----------------------------------------
STACK TRACE