Project Zomboid

Project Zomboid

Excrementum
PepperCat 17. sep. 2022 kl. 15: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
< >
Viser 1-8 af 8 kommentarer
Postal 17. sep. 2022 kl. 19:40 
Yup. Get the same one. Activates a red box about every 15 seconds.
star  [udvikler] 19. sep. 2022 kl. 6:23 
Thanks! Yes, it's incompatible for now.
star  [udvikler] 19. sep. 2022 kl. 6:25 
Anyway I won't make full compatibility. Survivors need other AI to go to toilet I guess.
PepperCat 19. sep. 2022 kl. 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  [udvikler] 20. sep. 2022 kl. 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 20. sep. 2022 kl. 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 20. sep. 2022 kl. 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  [udvikler] 24. sep. 2022 kl. 3:23 
Is it fixed?
< >
Viser 1-8 af 8 kommentarer
Per side: 1530 50