Project Zomboid

Project Zomboid

Breaking Bad Challenge
 This topic has been pinned, so it's probably important
Mr. Nehative  [developer] 3 Jan, 2024 @ 5:41am
Problems with RV Interior
When I made the mod, I expected it to work with RV interiors (like other similar mods), but it didn't.

Every time you press the Vehicle Radial Menu (V) button in the RV with RV Interior it gives this error:

ERROR: General , 1704288767248> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: NotWhenChased of non-table: null at KahluaThread.tableget line:1689. ERROR: General , 1704288767248> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index: NotWhenChased 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.input.GameKeyboard.update(GameKeyboard.java:106) at zombie.GameWindow.logic(GameWindow.java:249) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:765) at zombie.GameWindow.run_ez(GameWindow.java:681) at zombie.GameWindow.mainThread(GameWindow.java:495) at java.base/java.lang.Thread.run(Unknown Source) LOG : General , 1704288767249> -----------------------------------------

Anyone who has any idea what's going on here, and how to fix it, will be credited in the mod description.

RV Interior:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2822286426
Last edited by Mr. Nehative; 3 Jan, 2024 @ 3:13pm
< >
Showing 1-3 of 3 comments
Goliath 8 Jan, 2024 @ 2:18pm 
not a fix but a suspected work around, couldnt you just disable this mod and enable rv interior after spawn? not great for mp
Mr. Nehative  [developer] 8 Jan, 2024 @ 5:08pm 
Originally posted by Goliath:
not a fix but a suspected work around, couldnt you just disable this mod and enable rv interior after spawn? not great for mp

It doesnt work, when i enter the rv it says "Interior map hasn't loaded. Return to the vehicle now? Yes No", I will see if there is something in the console.

EDIT:
LOG : General , 1704762421767> RVInterior WARNING: Unable to get generator when player leaving the interior? DEBUG: Vehicle , 1704762421818> CarController.<init> > Vehicle vid=255 type=Base.86bounder has been added at (4212,929688;8978,330078;0,339359) auth=vid:Base.86bounder(255) pid:(-1) auth=Server static=false active=false
Last edited by Mr. Nehative; 8 Jan, 2024 @ 5:11pm
Mr. Nehative  [developer] 5 Jul, 2024 @ 5:20pm 
it seems like a rv interior bug, not related to my mod.

but if it really is my code, then someone could give me a hint as to how do spawn a vehicle in a way that rv interior wouldnt explode.
< >
Showing 1-3 of 3 comments
Per page: 1530 50