Project Zomboid

Project Zomboid

Weapon Modifiers v1.1.3
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Champy  [udvikler] 13. feb. 2023 kl. 7:21
Bug Reports
Report bugs here. Preferably with the error log, and if it's a mod conflict, with the name of the mod conflicting.
Sidst redigeret af Champy; 13. feb. 2023 kl. 7:21
< >
Viser 1-15 af 127 kommentarer
Totege 13. feb. 2023 kl. 7:48 
Installed on my server, the mod seems great but I have a small issue. The map has already been running for ~10 ingame days. My console is getting spammed with this error :


function: checkPlayerInventoryForWeaponModifiers -- file: WeaponModifiersInventory.lua line # 7 | MOD: Weapon Modifiers - Framework

ERROR: General , 1676303220726> 604?815?166> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getInventory of non-table: null at KahluaThread.tableget line:1689.
ERROR: General , 1676303220726> 604?815?166> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: attempted index: getInventory 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:65)
at zombie.GameTime.update(GameTime.java:680)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:566)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1623)
at zombie.gameStates.IngameState.update(IngameState.java:1333)
at zombie.network.GameServer.main(GameServer.java:903)
LOG : General , 1676303220729> 604?815?169> -----------------------------------------
STACK TRACE
-----------------------------------------
function: checkPlayerInventoryForWeaponModifiers -- file: WeaponModifiersInventory.lua line # 7 | MOD: Weapon Modifiers - Framework

Items do not seems to spawn with modifiers, excepts a few broken hammer on a pile i had on the floor. Newly crafted items also do not get modifiers, as far as i've seen.

I haven't explored much so i can't really tell for loot in tiles i haven't explored yet
Sidst redigeret af Totege; 13. feb. 2023 kl. 7:50
Champy  [udvikler] 13. feb. 2023 kl. 8:02 
@Totege Updated the mod with a quick fix. Tell me if it changes anything
源点 15. feb. 2023 kl. 22:29 
Excellent module, but the modifier in Tooltip_XX.txt seems to be untranslatable at present. I try to add other language translations for the module, but it doesn't work.
HOODINI 15. feb. 2023 kl. 23:31 
I noticed that when my weapon has modifiers that increase my weapon's durability, that said weapon becomes unbreakable. Kinda funny running around with a crafted spear that felled hundreds of zeds
Sidst redigeret af HOODINI; 15. feb. 2023 kl. 23:31
AmmoCache 16. feb. 2023 kl. 1:00 
Bug: Something my friends and I have noticed is that it doesn't always sync up what modifier is on the weapon on a dedicated server. I can loot a container and see a "Strong I" sledgehammer, then my friend will loot it and see "Tiring III" on the same sledgehammer. It's only when it's actually picked up from the container that it solidifies that modifier for everyone. Other than that it's a wonderful mod and you are awesome.

Just an FYI: We are running Britas Weapons (along with around 70 other mods) on our server and it seems to be functioning just fine with the Brita guns! It seems to just pull from the standard Ranged weapon pool for the modifiers and we haven't noticed any issues. :steamthumbsup:
Sidst redigeret af AmmoCache; 16. feb. 2023 kl. 1:00
Champy  [udvikler] 16. feb. 2023 kl. 1:28 
@HOODINI I removed that bug in the new update. No more spears with inifinite durability for you.
@源点 I corrected some things that should help with translation compatibility.
@AmmoCache I will look into it.
Bean 16. feb. 2023 kl. 2:33 
Hi, Im getting this error message in my Debug log
let me know if i need to find anything else

STACK TRACE
-----------------------------------------
function: applyModifierStatsToItem -- file: WeaponModifiersManager.lua line # 137 | MOD: Weapon Modifiers - Framework
function: checkItem -- file: WeaponModifiersManager.lua line # 446 | MOD: Weapon Modifiers - Framework
function: checkSquareFloorForWeaponModifiers -- file: WeaponModifiersManager.lua line # 464 | MOD: Weapon Modifiers - Framework.
[16-02-23 10:14:10.516] ERROR: General , 1676542450516> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __concat not defined for operands: null and [Berserk III] at KahluaUtil.fail line:82..
[16-02-23 10:14:10.516] ERROR: General , 1676542450516> DebugLogStream.printException> Stack trace:.
[16-02-23 10:14:10.517] LOG : General , 1676542450517> -----------------------------------------
STACK TRACE

I'm running the mod with the full range of weapon modifiers. unsure of any mod conflicts
Bean 16. feb. 2023 kl. 2:47 
following from my last message, I'm getting a load of error messages, all exactly the same with varying effects

STACK TRACE
-----------------------------------------
function: applyModifierStatsToItem -- file: WeaponModifiersManager.lua line # 137 | MOD: Weapon Modifiers - Framework
function: checkItem -- file: WeaponModifiersManager.lua line # 446 | MOD: Weapon Modifiers - Framework
function: checkSquareFloorForWeaponModifiers -- file: WeaponModifiersManager.lua line # 464 | MOD: Weapon Modifiers - Framework.
[16-02-23 10:38:56.064] ERROR: General , 1676543936064> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __concat not defined for operands: null and [Berserk III] at KahluaUtil.fail line:82..
[16-02-23 10:38:56.064] ERROR: General , 1676543936064> DebugLogStream.printException> Stack trace:.
[16-02-23 10:38:56.065] LOG : General , 1676543936065> -----------------------------------------
STACK TRACE

STACK TRACE
-----------------------------------------
function: applyModifierStatsToItem -- file: WeaponModifiersManager.lua line # 137 | MOD: Weapon Modifiers - Framework
function: checkItem -- file: WeaponModifiersManager.lua line # 446 | MOD: Weapon Modifiers - Framework
function: checkPlayerInventoryForWeaponModifiers -- file: WeaponModifiersInventory.lua line # 47 | MOD: Weapon Modifiers - Framework.
[16-02-23 10:39:14.198] ERROR: General , 1676543954198> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __concat not defined for operands: null and [Tiring II] at KahluaUtil.fail line:82..
[16-02-23 10:39:14.198] ERROR: General , 1676543954198> DebugLogStream.printException> Stack trace:.
[16-02-23 10:39:14.198] LOG : General , 1676543954198> -----------------------------------------
STACK TRACE


Tiring 2 seems to be the one that's appearing the most
ruth koleva 16. feb. 2023 kl. 2:49 
function: applyModifierStatsToItem -- file: WeaponModifiersManager.lua line # 137 | MOD: Weapon Modifiers - Framework
function: checkItem -- file: WeaponModifiersManager.lua line # 446 | MOD: Weapon Modifiers - Framework
function: checkPlayerInventoryForWeaponModifiers -- file: WeaponModifiersInventory.lua line # 47 | MOD: Weapon Modifiers - Framework

ERROR: General , 1676544520884> 50,291,710> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __concat not defined for operands: null and [Small] at KahluaUtil.fail line:82.
ERROR: General , 1676544520884> 50,291,710> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: __concat not defined for operands: null and [Small]
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:805)
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:65)
at zombie.GameTime.update(GameTime.java:680)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:566)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1623)
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:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1676544520885> 50,291,711> -----------------------------------------
STACK TRACE
-----------------------------------------
function: applyModifierStatsToItem -- file: WeaponModifiersManager.lua line # 137 | MOD: Weapon Modifiers - Framework
function: checkItem -- file: WeaponModifiersManager.lua line # 446 | MOD: Weapon Modifiers - Framework
function: checkPlayerInventoryForWeaponModifiers -- file: WeaponModifiersInventory.lua line # 47 | MOD: Weapon Modifiers - Framework


Same here.
Champy  [udvikler] 16. feb. 2023 kl. 3:00 
I just released a quick update that should fix these bugs.
ruth koleva 16. feb. 2023 kl. 3:09 
Just installed the update and it spits thousands of errors in seconds now.
Champy  [udvikler] 16. feb. 2023 kl. 3:11 
Oprindeligt skrevet af ruth koleva:
Just installed the update and it spits thousands of errors in seconds now.
same stack trace ?
ruth koleva 16. feb. 2023 kl. 3:13 
function: applyModifierStatsToItem -- file: WeaponModifiersManager.lua line # 137 | MOD: Weapon Modifiers - Framework
function: checkItem -- file: WeaponModifiersManager.lua line # 446 | MOD: Weapon Modifiers - Framework
function: checkPlayerInventoryForWeaponModifiers -- file: WeaponModifiersInventory.lua line # 47 | MOD: Weapon Modifiers - Framework

ERROR: General , 1676544545856> 50,316,684> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __concat not defined for operands: null and [Small] at KahluaUtil.fail line:82.
ERROR: General , 1676544545857> 50,316,684> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: __concat not defined for operands: null and [Small]
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:805)
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:65)
at zombie.GameTime.update(GameTime.java:680)
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:566)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1623)
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:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
LOG : General , 1676544545857> 50,316,685> -----------------------------------------
STACK TRACE
-----------------------------------------
function: applyModifierStatsToItem -- file: WeaponModifiersManager.lua line # 137 | MOD: Weapon Modifiers - Framework
function: checkItem -- file: WeaponModifiersManager.lua line # 446 | MOD: Weapon Modifiers - Framework
function: checkPlayerInventoryForWeaponModifiers -- file: WeaponModifiersInventory.lua line # 47 | MOD: Weapon Modifiers - Framework
Champy  [udvikler] 16. feb. 2023 kl. 3:15 
Allright I think I got it. Releasing a fix very soon.
ruth koleva 16. feb. 2023 kl. 3:17 
Fingers crossed my man I can hardly imagine the game without this mod now...
< >
Viser 1-15 af 127 kommentarer
Per side: 1530 50