Project Zomboid

Project Zomboid

Excrementum
PepperCat 2022 年 9 月 17 日 下午 3:52
Superb Survivors lua error
Not sure if you are interested in the compatibility with Superb Survivors but just in case:

function: UpdateSmellMoodle -- file: $Excrementum.lua line # 1388 | MOD: Excrementum
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@3e9e7110
function: WearThis -- file: SuperSurvivor.lua line # 519 | MOD: Superb Survivors
function: getRandomSurvivorSuit -- file: SuperSurvivorSuitsUtilities.lua line # 55 | MOD: Superb Survivors
function: SuitUp -- file: SuperSurvivor.lua line # 4742 | MOD: Superb Survivors
function: new -- file: SuperSurvivor.lua line # 129 | MOD: Superb Survivors
function: spawnSurvivor -- file: SuperSurvivorManager.lua line # 148 | MOD: Superb Survivors
function: SuperSurvivorRandomSpawn -- file: SuperSurvivorsMod.lua line # 149 | MOD: Superb Survivors
function: SuperSurvivorsNewSurvivorManager -- file: SuperSurvivorsMod.lua line # 890 | MOD: Superb Survivors
function: SuperSurSurvivorSpawnGenFivePercent -- file: SuperSurvivorsMod.lua line # 937 | MOD: Superb Survivors
function: SuperSurvivorDoRandomSpawns -- file: SuperSurvivorsMod.lua line # 1048 | MOD: Superb Survivors

ERROR: General , 1663454878729> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: ass of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1663454878729> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: ass of non-table: null
< >
正在显示第 1 - 8 条,共 8 条留言
Postal 2022 年 9 月 17 日 下午 7:40 
Yup. Get the same one. Activates a red box about every 15 seconds.
star  [开发者] 2022 年 9 月 19 日 上午 6:23 
Thanks! Yes, it's incompatible for now.
star  [开发者] 2022 年 9 月 19 日 上午 6:25 
Anyway I won't make full compatibility. Survivors need other AI to go to toilet I guess.
PepperCat 2022 年 9 月 19 日 上午 6:27 
Oh yeah, for sure NPC's won't go to the toilet, that's a lot of work that's not worth it but a way to prevent the lua error (I'm not sure if it occurs due to a moddata not initialized for them or something) would be cool. Just to not see the red box :)
star  [开发者] 2022 年 9 月 20 日 上午 2:00 
I bet on that NPC triggers OnClothingUpdated event. Easy to fix.

But "a red box about every 15 seconds" cofuses me, because it means EveryTenMinutes event. And it's impossible, because the beginning code is "local player = getSpecificPlayer(0)".

Anyway I'll push possible fix today.
PepperCat 2022 年 9 月 20 日 上午 5:41 
It doesn't happen every 15 seconds for me, it is as you said in the "OnClothingUpdated" and basically occurs when the NPC spawn mostly
Postal 2022 年 9 月 20 日 上午 8:52 
I'll see if the update fixes the error for me. Could be a conflict elsewhere. It was just something I noticed. Also I may or may not have forgotten to turn on moodle framework at the time now that I think about it. So I'll give it another go and let you know! Love the mod btw!
star  [开发者] 2022 年 9 月 24 日 上午 3:23 
Is it fixed?
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50