Project Zomboid

Project Zomboid

Lethal Stealth
 This topic has been pinned, so it's probably important
retbenwin  [developer] Aug 13 @ 10:34am
Bug Reports
If you find a bug, you can comment it here.

I would greatly appreciate it if you could provide as much detail as possible, such as:
• A list of mods you used during the bug.
• What were you doing during the bug?
• Your console log (in case you received an error message).
< >
Showing 1-7 of 7 comments
MV75 Aug 13 @ 11:49pm 
Ok, we'll continue in here on the subject of laying prone takes two bullets per shot, I tried to disable any gun related mod I could such as auto reload, show ammo count, etc. I actually set the tracer files back to stock and the stock bullets were still fine, that may be a dead end to not worry about. The only ammunition that seems to be affected is the 762 rounds from Rains fire arms and that type isn't in the base game. I can lay prone with the m16a2 and it shoots one round, that is 556 ammo, I lay prone with the m24 sniper, that's 776x51 ammo, it shoots two shots. I think the link may be there.
Last edited by MV75; Aug 13 @ 11:49pm
retbenwin  [developer] Aug 14 @ 11:02pm 
@MV75 I was able to find the problem thanks to the information you provided. It's not caused by any incompatibility with other mods, it happens with all rifles that play the bolt animation. It seems my custom animation and the vanilla animation are running at the same time, causing the game to count both animations and subtract two bullets, which is why the weapon slightly clips through the ground.
retbenwin  [developer] Aug 14 @ 11:06pm 
@MV75 I'll update the mod in a bit with the fix :)
retbenwin  [developer] Aug 15 @ 1:41am 
@MV75 Fixed, thanks for your help.
MV75 Aug 15 @ 2:12am 
I never thought of investigating that. Glad my description led you on the right path. I tested it, works great. Thanks. Being an elite sniper is something I never thought possible in this game. Really opens a different play approach.
`attempted index: getModData of non-table: null
function: isPronePosition -- file: LTSPlayerProneStates.lua line # 45 | MOD: Lethal Stealth
function: OnKeyStartPressed -- file: LTSProneKeyHandler.lua line # 55 | MOD: Lethal Stealth
java.lang.RuntimeException: attempted index: getModData of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1530)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:502)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:174)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1826)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1653)
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:72)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:315)
at zombie.input.GameKeyboard.update(GameKeyboard.java:105)
at zombie.GameWindow.logic(GameWindow.java:308)
at zombie.GameWindow.frameStep(GameWindow.java:916)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)

Got this error when trying to get mod info. (Shift+C)
retbenwin  [developer] Aug 18 @ 10:38pm 
@EviternityZero Fixed, thanks for your report :)
< >
Showing 1-7 of 7 comments
Per page: 1530 50