Project Zomboid

Project Zomboid

Excrementum
PepperCat 17 Sep, 2022 @ 3:52pm
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
< >
Showing 1-8 of 8 comments
Postal 17 Sep, 2022 @ 7:40pm 
Yup. Get the same one. Activates a red box about every 15 seconds.
star  [developer] 19 Sep, 2022 @ 6:23am 
Thanks! Yes, it's incompatible for now.
star  [developer] 19 Sep, 2022 @ 6:25am 
Anyway I won't make full compatibility. Survivors need other AI to go to toilet I guess.
PepperCat 19 Sep, 2022 @ 6:27am 
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  [developer] 20 Sep, 2022 @ 2:00am 
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 20 Sep, 2022 @ 5:41am 
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 20 Sep, 2022 @ 8:52am 
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  [developer] 24 Sep, 2022 @ 3:23am 
Is it fixed?
< >
Showing 1-8 of 8 comments
Per page: 1530 50