Project Zomboid

Project Zomboid

Simple Silencers
JФSҤ 9 月 19 日 下午 3:45
Help with folding survival rifle
I've tried with both the dedicated survival rifle addon, and the general modded weapons addon, but it keeps looking for a table. Here is the error log.

`Callframe at: table.pairs
function: SimpleSilencers_ModelWeaponPart.lua -- file: SimpleSilencers_ModelWeaponPart.lua line # 3 | MOD: Simple Silencers
java.lang.RuntimeException: Expected a table
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:101)
at se.krka.kahlua.vm.KahluaUtil.luaAssert(KahluaUtil.java:89)
at se.krka.kahlua.stdlib.TableLib.pairs(TableLib.java:125)
at se.krka.kahlua.stdlib.TableLib.call(TableLib.java:99)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:191)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:851)
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.pcall(KahluaThread.java:1623)
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:639)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:582)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:568)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:427)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:318)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:479)
at zombie.GameWindow.init(GameWindow.java:1386)
at zombie.GameWindow.mainThreadInit(GameWindow.java:756)
at zombie.GameWindow.mainThreadStart(GameWindow.java:598)
at zombie.MainThread.mainLoop(MainThread.java:64)
at java.base/java.lang.Thread.run(Unknown Source)
`
< >
正在显示第 1 - 2 条,共 2 条留言
JФSҤ 9 月 20 日 上午 8:06 
EDIT: nevermind the error is back. but the mod seems to work aside from the absence of cosmetics.

I was able to clear the error by the deleting the modeltweaker file in the second media folder. Everything seems to be working, although you can't see the silencer on the guns unfortunately.

Hope this helps anyone having the same issue
最后由 JФSҤ 编辑于; 9 月 21 日 上午 7:51
Monkey Magic  [开发者] 10 月 14 日 上午 5:14 
First, lets assume you are playing B42, because this mod is designed for vanilla weapons, and the patches only work for B42. If you are playing B41, please do not expect this mod to work for anything other than vanilla firearms.

Second, if you are using the Foldable Rifle Patch for Simple Silencers please note that that version will only work with Foldable Survival Rifle and not for any other modded firearm. Also note that all the patches are mutually exclusive, so only one can be used. Finally, note that you must click the mod order button and hit "auto" to make sure they load in the correct order.

Third, if you want to use more than just Foldable Survival Rifle then you will need to use the Modded Firearms patch instead. Please note that given that this patch allows for multiple different firearms, and that not everyone will use those firearms, that patch only checks to make sure it is loaded after the main mod. You will need to make sure all the firearm mods are loaded before both the main mod, and this patch manually.

Fourth - The modeltweaker.lua file is for the B41 version. It has zero impact on the B42 version, as it was disabled (in this case being zipped up and inaccessible by the game)

Finally, if none of the above is reason for your issue, then you are probably using some mod that is causing a conflict. The mod works perfectly fine.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50