Project Zomboid

Project Zomboid

The Last Of Guns [B41][Discontinued]
 This topic has been pinned, so it's probably important
AshleysZombie  [developer] 21 Jul, 2023 @ 2:21am
Bugs
Report your bugs here

Please provide as much information as to what caused the bug, what you did before and anything else you think is important. Thank you! :spiffo:
Last edited by AshleysZombie; 21 Jul, 2023 @ 2:23am
< >
Showing 1-5 of 5 comments
Salt 28 Jul, 2023 @ 2:04pm 
I get these errors when loading into a world. I don't know how to disable the removal of vanilla guns as in the sandbox options I'm not seeing the option in question that the code is referencing. The mod I think this is conflicting with(assuming it is a conflict) is likely VFE.

attempted index: enablespawntlog of non-table: null LOG : General , 1690576890969> 0> ----------------------------------------- STACK TRACE ----------------------------------------- function: customizeDistribution -- file: Gunspawn_procedural.lua line # 18 | MOD: Unnamed Mod ERROR: General , 1690576890969> 0> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: enablespawntlog of non-table: null at KahluaThread.tableget line:1689. ERROR: General , 1690576890969> 0> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index: enablespawntlog of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492) 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:92) at zombie.world.moddata.GlobalModData.init(GlobalModData.java:53) at zombie.iso.IsoWorld.init(IsoWorld.java:2438) at zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:268) at zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:225) at java.base/java.lang.Thread.run(Unknown Source) LOG : General , 1690576890970> 0> ----------------------------------------- STACK TRACE ----------------------------------------- function: customizeDistribution -- file: Gunspawn_procedural.lua line # 18 | MOD: Unnamed Mod LOG : General , 1690576890970> 0> ------------------------------------------------------------- attempted index: disablespawn of non-table: null LOG : General , 1690576890970> 0> ----------------------------------------- STACK TRACE ----------------------------------------- function: customizeDistribution -- file: RemovesVanilaGunsSpawn.lua line # 8 | MOD: Unnamed Mod ERROR: General , 1690576890970> 0> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: disablespawn of non-table: null at KahluaThread.tableget line:1689. ERROR: General , 1690576890970> 0> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index: disablespawn of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492) 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:92) at zombie.world.moddata.GlobalModData.init(GlobalModData.java:53) at zombie.iso.IsoWorld.init(IsoWorld.java:2438) at zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:268) at zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:225) at java.base/java.lang.Thread.run(Unknown Source) LOG : General , 1690576890970> 0> ----------------------------------------- STACK TRACE ----------------------------------------- function: customizeDistribution -- file: RemovesVanilaGunsSpawn.lua line # 8 | MOD: Unnamed Mod
EDIT: After doing further testing I can confirm that the error above is not a conflict with any other mod. I tested this with just The Workshop and this mod installed and still got this error.
Last edited by Salt; 28 Jul, 2023 @ 2:51pm
Salt 28 Jul, 2023 @ 2:49pm 
I should also mention that the sandbox options not showing up is also not a conflict with any other mod. It would seem that the sandbox options have not been implemented(properly or at all) and this has resulted in the error as the code for checking is trying to check against options that just aren't there.
Last edited by Salt; 28 Jul, 2023 @ 3:03pm
Nik  [developer] 29 Jul, 2023 @ 5:29pm 
Originally posted by Salt:
I should also mention that the sandbox options not showing up is also not a conflict with any other mod. It would seem that the sandbox options have not been implemented(properly or at all) and this has resulted in the error as the code for checking is trying to check against options that just aren't there.
Sorry for the delay (i did not get notification from this discussion).
Removal of vanila guns option is disabled by default so its strange that it attempts to execute this function that is tied to sandbox setting. I started playthrought with this mod (with both sandbox settings enabled) and i haven't had any error so far (thought i have to say that while vanilla guns don't spawn in most containers, some zombies will still spawn with vanila guns on their backs/holsters, but im not sure how to handle it). My friend also says that the sandbox options do work for him and has not encoutered any errors. Maybe doing a game file integrity check would help, or resubing to mod if the bug still occurs?
CilginFlix 1 Aug, 2023 @ 9:13am 
Originally posted by realnik10:
Originally posted by Salt:
I should also mention that the sandbox options not showing up is also not a conflict with any other mod. It would seem that the sandbox options have not been implemented(properly or at all) and this has resulted in the error as the code for checking is trying to check against options that just aren't there.
Sorry for the delay (i did not get notification from this discussion).
Removal of vanila guns option is disabled by default so its strange that it attempts to execute this function that is tied to sandbox setting. I started playthrought with this mod (with both sandbox settings enabled) and i haven't had any error so far (thought i have to say that while vanilla guns don't spawn in most containers, some zombies will still spawn with vanila guns on their backs/holsters, but im not sure how to handle it). My friend also says that the sandbox options do work for him and has not encoutered any errors. Maybe doing a game file integrity check would help, or resubing to mod if the bug still occurs?


i have the same problem. you and your friend vs me and this guy .d
Nik  [developer] 1 Aug, 2023 @ 9:54am 
Originally posted by CilginFlix:
Originally posted by realnik10:
Sorry for the delay (i did not get notification from this discussion).
Removal of vanila guns option is disabled by default so its strange that it attempts to execute this function that is tied to sandbox setting. I started playthrought with this mod (with both sandbox settings enabled) and i haven't had any error so far (thought i have to say that while vanilla guns don't spawn in most containers, some zombies will still spawn with vanila guns on their backs/holsters, but im not sure how to handle it). My friend also says that the sandbox options do work for him and has not encoutered any errors. Maybe doing a game file integrity check would help, or resubing to mod if the bug still occurs?


i have the same problem. you and your friend vs me and this guy .d
The thing is i can't attempt to fix something that simply does work on my end, both with only those mods only, aswell as in my playthrough with a lot of other mods. If you could tell me more, so i can attempt to reproduce it and know when does the error occur. Is it at start of new save, is it custom sandbox/apocalypse/survivor/builder, does it actually do anything like preventing guns from spawning, or do option to remove vanila guns does not work at all (its not perfect as i can't remove some of items from spawning but it fairly removes majority of it). Does it occur every time you launch this save? Did you use it with any other mods, but required ones? IS it multiplayer? Dedicated? Have you tried wiping/starting a new save if its multiplayer?
Last edited by Nik; 2 Aug, 2023 @ 8:38am
< >
Showing 1-5 of 5 comments
Per page: 1530 50