Project Zomboid

Project Zomboid

B42 Swatpack Redux
Bug Report
@Illyria, firstly, thank you for porting this mod to the most recent build and share it with the community of PZ, awesome work.

Secondly, i was just testing the mod, and when you choose the "Examine Armor" on the context menu, it gives this errors below, the second error is when opening the protection window on the health/info menu.

`attempted index: setText of non-table: null function: ExamineArmor -- file: armor.lua line # 131 | MOD: B42 Swatpack function: perform -- file: timed_actions.lua line # 215 | MOD: B42 Swatpack java.lang.RuntimeException: attempted index: setText of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1760) at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85) at zombie.characters.CharacterTimedActions.LuaTimedActionNew.perform(LuaTimedActionNew.java:143) at zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:10353) at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:9996) at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:2228) at zombie.characters.IsoPlayer.update(IsoPlayer.java:2207) at zombie.MovingObjectUpdateSchedulerUpdateBucket.update(MovingObjectUpdateSchedulerUpdateBucket.java:71) at zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:155) at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:3062) at zombie.iso.IsoCell.updateInternal(IsoCell.java:5967) at zombie.iso.IsoCell.update(IsoCell.java:5900) at zombie.iso.IsoWorld.updateWorld(IsoWorld.java:4158) at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:4278) at zombie.iso.IsoWorld.update(IsoWorld.java:4192) at zombie.gameStates.IngameState.updateInternal(IngameState.java:1811) at zombie.gameStates.IngameState.update(IngameState.java:1507) at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101) at zombie.GameWindow.logic(GameWindow.java:388) at zombie.GameWindow.frameStep(GameWindow.java:928) at zombie.GameWindow.run_ez(GameWindow.java:821) at zombie.GameWindow.mainThread(GameWindow.java:619) at java.base/java.lang.Thread.run(Unknown Source) `

`attempted index: setText of non-table: null function: ArmorKeysUp -- file: armor.lua line # 736 | MOD: B42 Swatpack java.lang.RuntimeException: attempted index: setText of non-table: null at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667) at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:624) at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173) at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963) at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1790) 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:65) at zombie.GameWindow.logic(GameWindow.java:314) at zombie.GameWindow.frameStep(GameWindow.java:928) at zombie.GameWindow.run_ez(GameWindow.java:821) at zombie.GameWindow.mainThread(GameWindow.java:619) at java.base/java.lang.Thread.run(Unknown Source) `

Another thing that doesnt seem to be quite right at the moment, at least not like the photos in the mod showcase, is the position of the Police Riot Shield, i'm gonna leave some screenshots below to show what i mean, its clipping, although i'm using the Tomb's Player Body Overhaul , but i'm using other shield mod( Shield Mode (Secondary Hand Equip) (B41/B42) ), and this doesnt happen with those shields, figure i should let you know also.

Also the Swat Knee Pads replace the hoodie, when they should replace the knee pads, not clothing in the upper body, screenshot attached as well.

There is also some clipping with of the balaclava added by your mod with the vanilla helmets, for the example the battling one, more screenshots below

Screenshots: Shield Clipping [prnt.sc] / Shield Clipping 2 [prnt.sc] / Shield Clipping 3/Not Grabbing the Handle [prnt.sc] / Swat Knee Pads Replace Hoodie [prnt.sc] / Balaclava Clipping [prnt.sc]

Any more information needed, please let me know.

Keep the awesome work.

Cheers.
Last edited by Rusty #DopeRust; 11 May @ 9:38pm
< >
Showing 1-2 of 2 comments
Illyria  [developer] 22 May @ 4:56pm 
Yes there are lots of little things i have already fixed, the police shield i have known about since i ported it. I'm holding off updating the mod until build 42 stable with multiplayer is out as every new hotfix breaks most of what I've fixed in the mod already.

In regards to the armor error codes; yes the armor system is what I've been struggling to fix the most in build 42. Everytime i fix and clear an error another arises, the system isn't very compatible with the new version of the game.

I'm at the point now where i dont think its worthwhile to save the old 'blocked' armor system or if its even possible with this version of the mod. The plan is to remove the block system entirely for the build 42 stable update and to add a large chance to shove zombies away to both shields until i can fix the current armor system added by the mod.
Originally posted by Illyria:
Yes there are lots of little things i have already fixed, the police shield i have known about since i ported it. I'm holding off updating the mod until build 42 stable with multiplayer is out as every new hotfix breaks most of what I've fixed in the mod already.

In regards to the armor error codes; yes the armor system is what I've been struggling to fix the most in build 42. Everytime i fix and clear an error another arises, the system isn't very compatible with the new version of the game.

I'm at the point now where i dont think its worthwhile to save the old 'blocked' armor system or if its even possible with this version of the mod. The plan is to remove the block system entirely for the build 42 stable update and to add a large chance to shove zombies away to both shields until i can fix the current armor system added by the mod.

Well i can understand that the majority wants the stable and multiplayer version, but the thing is the reply is always the same when problems/bugs/errors arrise, i know what i'm saying, and i have proofs of plenty of other authors with the same replys as yours, you guys just choose not to update the mods, because there is plenty other mods and even more complex than yours, that get updated and work as they should without any problem at all, and i know what i'm talking about since i'm a mod/project tester in the modding community of PZ, and you should be able to tell by report.

The only thing i ask is please dont gaslight your "subscribers/users" with this kind of replys, users that really like this game, will see trough all that, this is a community after all, and you are free.

Cheers.
< >
Showing 1-2 of 2 comments
Per page: 1530 50