Project Zomboid

Project Zomboid

Advanced Trajectory's Realistic Overhaul
EhDani 2 Jan, 2024 @ 5:38pm
bug report
I was testing the mod and I saw that it only doesn't work for some people and it says this error to them


attempted index: getValue of non-table: null
function: OnPlayerUpdate -- file: Advanced_trajectory_core.lua line # 685 | MOD: Advanced Trajectory's Realistic Overhaul
function: checkontick -- file: Advanced_trajectory_core.lua line # 1715 | MOD: Advanced Trajectory's Realistic Overhaul
java.lang.RuntimeException: attempted index: getValue of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
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.gameStates.IngameState.updateInternal(IngameState.java:1624)
at zombie.gameStates.IngameState.update(IngameState.java:1333)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:298)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:667)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)

and I can't hurt them.
< >
Showing 1-11 of 11 comments
Radon226  [developer] 2 Jan, 2024 @ 6:33pm 
Ask them to reinstall the mod, the error is likely occurring because the sandbox options aren't updated to the latest ones.


In regards to "and I can't hurt them.", paste the ATROPVP log so I can see it.
EhDani 3 Jan, 2024 @ 6:22am 
He uninstalled the game and unsubscribed from the mods, when he returned he still got an error and the ATROPVP log did not appear on his computer
EhDani 3 Jan, 2024 @ 6:24am 
I have firearms expancion
Radon226  [developer] 3 Jan, 2024 @ 2:10pm 
Have him in debug mode and try ATRO in single player to see if the same error still occurs.
Radon226  [developer] 3 Jan, 2024 @ 2:12pm 
Also send me your server sandboxvars file so I can check the sandbox options.
EhDani 3 Jan, 2024 @ 3:57pm 
could find the log

[01-01-24 21:53:41.463] [ATROPVP] "marlo1x1" shot "Braiso" (PartShot: "Torso inferior" || HitDmg: "5" || BaseGunDmg: "5.2269393904841195" || ActDmg: "5.226939390484119").
[01-01-24 21:53:53.522] [ATROPVP] "marlo1x1" shot "Braiso" (PartShot: "Torso superior" || HitDmg: "15" || BaseGunDmg: "3.8102181786168643" || ActDmg: "11.430654535850591").
[01-01-24 21:54:00.181] [ATROPVP] "marlo1x1" shot "Braiso" (PartShot: "Torso superior" || HitDmg: "15" || BaseGunDmg: "4.391777658952606" || ActDmg: "13.175332976857813").
[01-01-24 21:54:24.027] [ATROPVP] "Braiso" shot "marlo1x1" (PartShot: "Torso superior" || HitDmg: "5" || BaseGunDmg: "7.281318076946519" || ActDmg: "36.406590384732596").
[01-01-24 21:54:24.054] [ATROPVP] "Braiso" shot "marlo1x1" (PartShot: "Torso inferior" || HitDmg: "15" || BaseGunDmg: "3.719769611099835" || ActDmg: "55.796544166497526").
Last edited by EhDani; 3 Jan, 2024 @ 4:04pm
EhDani 3 Jan, 2024 @ 4:03pm 
Originally posted by Radon226:
Also send me your server sandboxvars file so I can check the sandbox options.
how can i send you is to big for steam chat
EhDani 3 Jan, 2024 @ 4:10pm 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
Radon226  [developer] 3 Jan, 2024 @ 5:08pm 
Solved. Version of ATRO was outdated due to subscribing to a modpack (which does not automatically update mods to latest version).
LORDEXODIA01 14 Jan, 2024 @ 3:10pm 
ERROR: General , 1705273753687> 3,020,133,313> ExceptionLogger.logException> Exception thrown java.io.IOException: User limit of inotify watches reached at LinuxWatchService$Poller.implRegister.
ERROR: General , 1705273753688> 3,020,133,314> DebugLogStream.printException> Stack trace:
java.io.IOException: User limit of inotify watches reached
at java.base/sun.nio.fs.LinuxWatchService$Poller.implRegister(Unknown Source)
at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
at java.base/sun.nio.fs.LinuxWatchService$Poller.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
ERROR: General , 1705273753690> 3,020,133,315> java.lang.NullPointerException
ERROR: General , 1705273753690> 3,020,133,316> at java.base/sun.nio.fs.UnixPath.register(Unknown Source)
ERROR: General , 1705273753690> 3,020,133,316> at java.base/java.nio.file.Path.register(Unknown Source)
ERROR: General , 1705273753691> 3,020,133,316> at zombie.DebugFileWatcher.registerDir(DebugFileWatcher.java:73)
ERROR: General , 1705273753691> 3,020,133,316> at zombie.DebugFileWatcher$1.preVisitDirectory(DebugFileWatcher.java:57)
ERROR: General , 1705273753691> 3,020,133,317> at zombie.DebugFileWatcher$1.preVisitDirectory(DebugFileWatcher.java:53)
ERROR: General , 1705273753692> 3,020,133,317> at java.base/java.nio.file.Files.walkFileTree(Unknown Source)
ERROR: General , 1705273753692> 3,020,133,317> at java.base/java.nio.file.Files.walkFileTree(Unknown Source)
ERROR: General , 1705273753692> 3,020,133,318> at zombie.DebugFileWatcher.registerDirRecursive(DebugFileWatcher.java:52)
ERROR: General , 1705273753693> 3,020,133,318> at zombie.DebugFileWatcher.addDirectoryRecurse(DebugFileWatcher.java:113)
ERROR: General , 1705273753693> 3,020,133,318> at zombie.ZomboidFileSystem.getAllModFoldersAux(ZomboidFileSystem.java:557)
ERROR: General , 1705273753693> 3,020,133,319> at zombie.ZomboidFileSystem.getAllModFolders(ZomboidFileSystem.java:595)
ERROR: General , 1705273753693> 3,020,133,319> at zombie.gameStates.ChooseGameInfo.getModDetails(ChooseGameInfo.java:181)
ERROR: General , 1705273753694> 3,020,133,319> at zombie.gameStates.ChooseGameInfo.getAvailableModDetails(ChooseGameInfo.java:209)
ERROR: General , 1705273753694> 3,020,133,319> at zombie.ZomboidFileSystem.loadModAndRequired(ZomboidFileSystem.java:839)
ERROR: General , 1705273753694> 3,020,133,320> at zombie.ZomboidFileSystem.loadMods(ZomboidFileSystem.java:871)
ERROR: General , 1705273753695> 3,020,133,320> at zombie.network.GameServer.doMinimumInit(GameServer.java:1371)
ERROR: General , 1705273753695> 3,020,133,320> at zombie.network.GameServer.main(GameServer.java:688)
ERROR: General , 1705273753695> 3,020,133,321> GameServer.main> Exception thrown java.lang.NullPointerException at UnixPath.register. Message: Exception Thrown
ERROR: General , 1705273753695> 3,020,133,321> DebugLogStream.printException> Stack trace:
java.lang.NullPointerException
at java.base/sun.nio.fs.UnixPath.register(Unknown Source)
at java.base/java.nio.file.Path.register(Unknown Source)
at zombie.DebugFileWatcher.registerDir(DebugFileWatcher.java:73)
at zombie.DebugFileWatcher.addDirectory(DebugFileWatcher.java:105)
at zombie.ZomboidFileSystem.getAllModFolders(ZomboidFileSystem.java:593)
at zombie.gameStates.ChooseGameInfo.getModDetails(ChooseGameInfo.java:181)
at zombie.gameStates.ChooseGameInfo.getAvailableModDetails(ChooseGameInfo.java:209)
at zombie.ZomboidFileSystem.loadModAndRequired(ZomboidFileSystem.java:839)
at zombie.ZomboidFileSystem.loadMods(ZomboidFileSystem.java:871)
at zombie.network.GameServer.doMinimumInit(GameServer.java:1371)
at zombie.network.GameServer.main(GameServer.java:688)
LOG : General , 1705273753698> 3,020,133,323> Server Terminated.
LOG : Network , 1705273753820> 3,020,133,446> Loading world...
LOG : General , 1705273753829> 3,020,133,454> LuaEventManager: adding unknown event "OnClimateManagerInit"
LOG : General , 1705273753831> 3,020,133,457> Cannot invoke "se.krka.kahlua.vm.KahluaTable.rawget(Object)" because "zombie.Lua.LuaManager.env" is nullLOG : General , 1705273753832> 3,020,133,457> [Ljava.lang.StackTraceElement;@38018b62LOG : General , 1705273753880> 3,020,133,506> IsoMetaGrid.Create: begin scanning directories
LOG : General , 1705273753881> 3,020,133,506> Looking in these map folders:
LOG : General , 1705273753882> 3,020,133,507> /mnt/zomboid/media/maps/Fort Knox linked to Eerie Country
LOG : General , 1705273753882> 3,020,133,508> /mnt/zomboid/media/maps/To Eerie Country
LOG : General , 1705273753882> 3,020,133,508> /mnt/zomboid/media/maps/Eerie A
LOG : General , 1705273753882> 3,020,133,508> /mnt/zomboid/media/maps/Eerie B
LOG : General , 1705273753882> 3,020,133,508> /mnt/zomboid/media/maps/Eerie C
LOG : General , 1705273753882> 3,020,133,508> /mnt/zomboid/media/maps/Eerie Country
LOG : General , 1705273753883> 3,020,133,508> /mnt/zomboid/media/maps/Eerie D
LOG : General , 1705273753883> 3,020,133,508> /mnt/zomboid/media/maps/From Bedford Falls to Fort Knox
LOG : General , 1705273753883> 3,020,133,508> /mnt/zomboid/media/maps/BedfordFalls
LOG : General , 1705273753883> 3,020,133,508> /mnt/zomboid/media/maps/North
LOG : General , 1705273753883> 3,020,133,508> /mnt/zomboid/media/maps/South
LOG : General , 1705273753883> 3,020,133,509> /mnt/zomboid/media/maps/West
LOG : General , 1705273753883> 3,020,133,509> /mnt/zomboid/media/maps/researchbase
LOG : General , 1705273753883> 3,020,133,509> /mnt/zomboid/media/maps/researchbaseroad
LOG : General , 1705273753883> 3,020,133,509> /mnt/zomboid/media/maps/RC10YL
LOG : General , 1705273753883> 3,020,133,509> /mnt/zomboid/media/maps/RavenCreek
LOG : General , 1705273753883> 3,020,133,509> /mnt/zomboid/media/maps/FortRedstone
LOG : General , 1705273753884> 3,020,133,509> /mnt/zomboid/media/maps/Otr
LOG : General , 1705273753884> 3,020,133,509> /mnt/zomboid/media/maps/Over the River - Secondary Route
LOG : General , 1705273753884> 3,020,133,509> /mnt/zomboid/media/maps/SecretZ_Core_v2
LOG : General , 1705273753884> 3,020,133,509> /mnt/zomboid/media/maps/SZ_Battlefield_Louisville_Airfield
LOG : General , 1705273753884> 3,020,133,509> /mnt/zomboid/media/maps/SZ_Battlefield_Louisville_Hospital
LOG : General , 1705273753884> 3,020,133,510> /mnt/zomboid/media/maps/SZ_Battlefield_Louisville_Stadium
LOG : General , 1705273753884> 3,020,133,510> /mnt/zomboid/media/maps/SZ_Camp_Deerhead
LOG : General , 1705273753884> 3,020,133,510> /mnt/zomboid/media/maps/SZ_Checkpoint_1
LOG : General , 1705273753884> 3,020,133,510> /mnt/zomboid/media/maps/SZ_Checkpoint_2
LOG : General , 1705273753885> 3,020,133,510> /mnt/zomboid/media/maps/SZ_Checkpoint_3
LOG : General , 1705273753885> 3,020,133,510> /mnt/zomboid/media/maps/SZ_Checkpoint_4
LOG : General , 1705273753885> 3,020,133,510> /mnt/zomboid/media/maps/SZ_Checkpoint_5
LOG : General , 1705273753885> 3,020,133,510> /mnt/zomboid/media/maps/SZ_Checkpoint_6
LOG : General , 1705273753885> 3,020,133,510> /mnt/zomboid/media/maps/SZ_Checkpoint_7
LOG : General , 1705273753885> 3,020,133,510> /mnt/zomboid/media/maps/SZ_Checkpoint_8
LOG : General , 1705273753885> 3,020,133,511> /mnt/zomboid/media/maps/SZ_EVAC_Louisville
LOG : General , 1705273753885> 3,020,133,511> /mnt/zomboid/media/maps/SZ_EVAC_Muldraugh
LOG : General , 1705273753885> 3,020,133,511> /mnt/zomboid/media/maps/SZ_Muldraugh_Blockade
LOG : General , 1705273753885> 3,020,133,511> /mnt/zomboid/media/maps/SZ_Muldraugh_Crossing_Blockade
LOG : General , 1705273753885> 3,020,133,511> /mnt/zomboid/media/maps/SZ_TheMall_Resistance
LOG : General , 1705273753885> 3,020,133,511> /mnt/zomboid/media/maps/SZ_Westpoint_Bridge_out
LOG : General , 1705273753886> 3,020,133,511> /mnt/zomboid/media/maps/Muldraugh, KY
LOG : General , 1705273753886> 3,020,133,511> /mnt/zomboid/media/maps/ForagingZ
LOG : General , 1705273753886> 3,020,133,511> /mnt/zomboid/media/maps/Basements
LOG : General , 1705273753886> 3,020,133,512> /mnt/zomboid/media/maps/10YL
LOG : General , 1705273753886> 3,020,133,512> /mnt/zomboid/media/maps/vehicle_interior
LOG : General , 1705273753887> 3,020,133,512> <End of map-folders list>
LOG : General , 1705273753944> 3,020,133,570> IsoMetaGrid.Create: finished scanning directories in 0.064 seconds
LOG : General , 1705273753944> 3,020,133,570> IsoMetaGrid.Create: begin loading
LOG : General , 1705273753946> 3,020,133,571> LuaEventManager: adding unknown event "OnPreDistributionMerge"
ERROR: General , 1705273753946> 3,020,133,572> GameServer.main> Exception thrown java.lang.NullPointerException: Cannot invoke "se.krka.kahlua.vm.KahluaTable.rawget(Object)" because "zombie.Lua.LuaManager.env" is null at LuaEventManager.AddEvent line:417. Message: Exception Thrown
ERROR: General , 1705273753946> 3,020,133,572> DebugLogStream.printException> Stack trace:
java.lang.NullPointerException: Cannot invoke "se.krka.kahlua.vm.KahluaTable.rawget(Object)" because "zombie.Lua.LuaManager.env" is null
at zombie.Lua.LuaEventManager.AddEvent(LuaEventManager.java:417)
at zombie.Lua.LuaEventManager.checkEvent(LuaEventManager.java:47)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:60)
at zombie.iso.IsoWorld.init(IsoWorld.java:2309)
at zombie.network.GameServer.main(GameServer.java:702)
LOG : General , 1705273753946> 3,020,133,572> Server Terminated.
getting this error
Radon226  [developer] 18 Jan, 2024 @ 2:04pm 
@LORDEXODIA01 Not exactly sure what issue this log is addressing considering that it doesn't point to any lines from ATRO.
< >
Showing 1-11 of 11 comments
Per page: 1530 50