Project Zomboid

Project Zomboid

Ammo And Medical Pouches 41.50+
PanzerKadaver  [developer] 4 Jan, 2022 @ 2:35am
Bug and Request
The mod do not work ? Have something to ask about this mod ?

This is the place. Keep it civil.
< >
Showing 1-4 of 4 comments
Helloteam 14 Jan, 2022 @ 7:26am 
Restating my comments here :


You have to replace the quotes (") with single quotes (') - e.g. require "Items/VehicleDistributions" has to be changed to require 'Items/VehicleDistributions'


The Ammopouch_back doesn't has the OnlyAcceptCategory. I think you just have to replace it with AcceptItemFunction = AMP.AcceptItemFunctionMedicalPouches,
Ganjalf The Green  [developer] 22 Mar, 2023 @ 6:31pm 
Originally posted by Helloteam:
Restating my comments here :


You have to replace the quotes (") with single quotes (') - e.g. require "Items/VehicleDistributions" has to be changed to require 'Items/VehicleDistributions'


The Ammopouch_back doesn't has the OnlyAcceptCategory. I think you just have to replace it with AcceptItemFunction = AMP.AcceptItemFunctionMedicalPouches,

it has been long, but this should be done
reopen a ticket if you encounter the problem again
Wikibox 8 Feb, 2024 @ 10:32am 
Hello i have this error on dedicated server, how i fix this? Thank you!

`Callframe at: table.insert
function: MedicalPouch_Distributions.lua -- file: MedicalPouch_Distributions.lua line # 7 | MOD: AmmoAndMedicalPouches
java.lang.NullPointerException: Cannot invoke "se.krka.kahlua.vm.KahluaTable.len()" because "<local2>" is null
at se.krka.kahlua.stdlib.TableLib.insert(TableLib.java:217)
at se.krka.kahlua.stdlib.TableLib.call(TableLib.java:89)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
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.pcall(KahluaThread.java:1782)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:564)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:510)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:496)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:342)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:264)
at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:97)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
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:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)

`Callframe at: table.insert
function: AmmoPouch_Distributions.lua -- file: AmmoPouch_Distributions.lua line # 6 | MOD: AmmoAndMedicalPouches
java.lang.NullPointerException: Cannot invoke "se.krka.kahlua.vm.KahluaTable.len()" because "<local2>" is null
at se.krka.kahlua.stdlib.TableLib.insert(TableLib.java:217)
at se.krka.kahlua.stdlib.TableLib.call(TableLib.java:89)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
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.pcall(KahluaThread.java:1782)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:564)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:510)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:496)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:342)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:264)
at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:97)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
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:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
Zac 2 Feb @ 8:33am 
hey man i still can't put anything in the ammo pouch, not even medical items. :( how do i find the codes too if im on a hosted server?
< >
Showing 1-4 of 4 comments
Per page: 1530 50