Project Zomboid

Project Zomboid

Easy Packing + Organized Storage
530 Comments
Mr. Nekuromu  [author] 21 hours ago 
@H.J

There shouldn't be any changes in appearance of original in-game content! New models were added packed variants, which are different items by PZ's game-engine. There isn't any way to disable the models, since the new items (packed versions) require one!
H.J 15 Sep @ 4:33am 
Can't you turn off appearance changes for magazines or drinks?
Mr. Nekuromu  [author] 9 Sep @ 7:50am 
@DeoS

I am unfamiliar with that mod, I would assume it does not. However depending on how that mod is coded, it's possible?
DeoS 5 Sep @ 7:00am 
Hi, does this mod works with inventory tetris?
Mr. Nekuromu  [author] 29 Aug @ 8:37am 
@Kuchugury

Look in the discussion on this page, I have explained the 'firearmmod' and it's relevance to the issue there.

@benjamin5455

If your server is a Build 42 server, we do not support it yet. Otherwise, I would suggest loading a server with only Easypacking enabled. If it works then likely a mod is conflicting with Easypacking in your original server.
benjamin5455 28 Aug @ 9:00am 
For some reason i cant start my multiplayer server when i add this mod to my multiplayer server that i have before u added the mod
Kuchugury 20 Aug @ 10:24am 
I try to aninstall mod but nothing changes
Kuchugury 20 Aug @ 10:18am 
Where can i find firearmmod because of that my easy packing dont work
Kuchugury 20 Aug @ 10:11am 
Hello
I want to ask about mod because we added mod on our server he works directly we have menu of this mod we can pack food and books but cannot pack any items like metal scrap or rope all items that we can use to crafts we cannot pack.
Mr. Nekuromu  [author] 20 Aug @ 7:23am 
@GotDaam

I am unsure about what would happen if you installed/uninstalled mid run- I would backup both the save / server in case doing so messes with something or causes issues!
Mr. Nekuromu  [author] 20 Aug @ 7:22am 
@erpek @CFW Magic

These are appreciated and will be added to the issues in the github~ thanks
GotDaam 19 Aug @ 12:53pm 
Can you install/uninstall mid run? or would I have start a fresh wipe on a dedicated server?
CFW Magic 19 Aug @ 6:09am 
Hey Hey People! Quick bug report.

For vanilla:

Blue pen stack x5 is broken. Here's the code:

item 5pkBluePen
{
Weight = 0.35,
Type = Normal,
DisplayName = 5 x Blue Pen,
DisplayCategory = Household,
Icon = PackOfBluePens,
}

The blue pen 5 pack is missing a worldstaticmodel and it's value was given to icon, which breaks both.

For gunfighter:

OpenpPack of flares has a broken category due to this piece of code:

Category::Firearm,

Small syntax error at the category, which puts open box of flare rounds in it's own empty category instead of in Firearm as it was intended to be.

Good luck!
erpek 13 Aug @ 4:33am 
Option B (wrap in an anonymous function):

local ok, err = pcall(function()
WeightAdjustment(itemType, scriptItem, params)
end)
-------------------------------------------------
If you’d like a stack trace on failure, xpcall works great:

local ok, err = xpcall(function()
WeightAdjustment(itemType, scriptItem, params)
end, debug.traceback)

if not ok then
print(("[EasyPacking] WeightAdjustment failed for %s: %s")
:format(tostring(itemType), tostring(err)))
end
-------------------------------------------------
This change keeps the current behavior (adjusting weights via DoParam) but actually protects against errors inside WeightAdjustment and avoids pcall receiving nil.


Thanks again for maintaining the mod!
erpek 13 Aug @ 4:33am 
Hi! First of all — thanks for the awesome mod, it’s been super useful on our B41 MP server.

While reviewing the code, I noticed a minor bug, probably (I think), in media/lua/shared/zzadjust_item_weight.lua: pcall is called with the result of WeightAdjustment(...) instead of the function itself. That means WeightAdjustment runs immediately (outside protection), and if it returns nil you end up with pcall(nil, …) → no protection and a type error. Also, any error thrown inside WeightAdjustment won’t be caught by pcall.

-------------------------------------------------
Current (problematic) pattern (simplified):

local ok, err = pcall(WeightAdjustment(itemType, scriptItem, params))
-------------------------------------------------
Safe alternatives:
-------------------------------------------------
Option A (cleanest, uses pcall’s varargs):

local ok, err = pcall(WeightAdjustment, itemType, scriptItem, params)
-------------------------------------------------
Mr. Nekuromu  [author] 3 Aug @ 7:10pm 
@Бамблби

Yes! Exactly, those are addons to be used with the mods they are made for. You'll notice it says 'Easy Packing For' followed by the mod name it was used with!

This is intended, and isn't needed unless you specifically have those mods and want them supported! However if you would like to check out the mods they are used for- check the FAQ in the discussions!
Mr. Nekuromu  [author] 3 Aug @ 7:05pm 
@☆ Sk8.Val3rie ☆

It doesn't need any mods- it's standalone!

However there are addons- in the case you do use other mods. Look in the discussions for the FAQ for further information please!
☆ Sk8.Val3rie ☆ 2 Aug @ 10:16am 
Could you link the needed mods, it needs mods but you dont even have them listed
Bumblebee 2 Aug @ 6:52am 
Good afternoon. I don't know why, but your mod needs 2 addons about weapons. I don't know why. Maybe because of my huge collection?
https://postimg.cc/3Wz5yz66
Mr. Nekuromu  [author] 1 Aug @ 6:48am 
@NanoTree
I'll add it to the requested features- and see about the possibility of some configurable settings!
NanoTree 31 Jul @ 2:33pm 
Fantastic mod! Is there any way to adjust how much packing the items reduces encumbrance? My only complaint is that stacking or packing certain things, like metal sheets for example, feels just a tad unbalanced and needs a nerf. But I'm picky about these things!
Mr. Nekuromu  [author] 14 Jul @ 9:31am 
@Mister Cheung

I am not sure! It should be, I would assume but as I would suggest with any mod changes mid-game in almost any game... make backups!
Mister Cheung 14 Jul @ 8:25am 
Is this mod safe to add for mid-saved games?
Mr. Nekuromu  [author] 27 Jun @ 1:58pm 
@ɆⱠ ₲Ɽł₣Ø❥42Ø
@ReadyForTheDevil

Build 42 support has been addressed, please refrain from spamming. This will not bring b42 support any quicker.
ReadyForTheDevil 27 Jun @ 2:35am 
b42
ɆL ₲Rł₣Ø❥42Ø 27 Jun @ 2:18am 
b42
Mr. Nekuromu  [author] 10 Jun @ 5:24am 
@Glaviern

Read the FAQ in the Discussions.

@Maceika - Allkeyshop

It should be working just fine on the latest stable build of 41. If it still isn't working, please try making a server with only this mod enabled. If it still doesn't work- feel free to let us know!
Glaviern 9 Jun @ 5:52pm 
B42?
Maceika - Allkeyshop 29 May @ 2:12pm 
does this work on Multiplayer (Host)? My server cant properly start when this is on
Mr. Nekuromu  [author] 20 Apr @ 1:35pm 
@Lil Boogie
Is this using Build 42? Or is this still Build 41? I am aware that Firearms (previously Firearms B41) has had updates - but I am less aware of the changes that have occurred with Gunfighter 2
Lil Boogie 19 Apr @ 3:52pm 
Hey could yall fix the GunFighterAddOn for this mod? They don't work & are unpackable. All the "Box of (ammo type)" packables can't be unpacked.
Mr. Nekuromu  [author] 19 Apr @ 10:31am 
@Shiesty Mark
It's not officially supported, but it's already on the enhancement/new feature list!

That's not to say it isn't "unofficially" supported somewhat. If VFE uses or left some of the item names in the code intact then those have a change of working. However I will warn since it's not officially supported the interactions of Easypacking & VFE might be odd, or cause item loss or crashes.
Maine 19 Apr @ 8:55am 
hey there! is VFE ammo supported? my old ammo compressor mod is causing more errors then its worth, and this works great for everything ive tried so far!
Mr. Nekuromu  [author] 19 Apr @ 8:05am 
@Madforce2k

Alright! Added to the enhanced features list!
Madforce2k 18 Apr @ 6:23pm 
Vinegar would be nice to pack too, some other mods add some dependencies that lead to more frequent crafting and storage of vinegar
BarelyAlive.16 5 Apr @ 3:51pm 
Thank you
Mr. Nekuromu  [author] 4 Apr @ 9:31pm 
@BarelyAlive.16

Please check the FAQ in the Discussions.
BarelyAlive.16 4 Apr @ 7:25pm 
it says i need a mod called firearmmod. i don't know what mod that is. Can someone help
Mr. Nekuromu  [author] 16 Mar @ 6:47am 
@- -
I'll add it to the things to be checked for b42 support thanks for that information!
- - 15 Mar @ 9:58am 
Drinks and alcohol are too heavy in b42 (2~3 kg), and it seems that only red and white wine and bottled beer can be packed.
Mr. Nekuromu  [author] 11 Mar @ 8:07am 
@IlIkeCraYoNs213
See the FAQ in the discussions.
IlIkeCraYoNs213 11 Mar @ 4:10am 
b42?
Mr. Nekuromu  [author] 5 Mar @ 1:28pm 
@BlackWater821
Vanilla Firearms Expansion has been in the enhancements list since Sept 2024. As with all other requests it'll be noted and at some point in the future it might be supported!
BlackWater821 5 Mar @ 11:03am 
No love for Vanilla Firearms Expansion B41 ?
Mr. Nekuromu  [author] 2 Mar @ 7:22am 
@Vorpal Void
That code could be redundant - I am not thoroughly familiar with the zomboid lua API. I may take a look into this at some point in the future. As for the seeing recipes always showing up, it's not something I tested -but something I can look into as well. It'll be added to the list to check up on when I can!
Vorpal Void 1 Mar @ 1:24pm 
Strange. For some reason recipes are shown as available for me even when there is not enough items for packing them, maybe some dedicated server quirk. Looking through the recipes logic, all I can see is to destroy specified items in Pack recipes; do you even need to do that, instead of just specifying item count as input? They will be "spent" that way anyway.
Mr. Nekuromu  [author] 1 Mar @ 7:56am 
@Ксерокопия члена

I'll add it to the enhancements that could be developed in the future!
Better if it supports B41 Firearms Revamped version
Mr. Nekuromu  [author] 28 Feb @ 8:18am 
@Awpii

I believe corn is packed via 6 cans, so you should see at least pack 6 if you have at least 6 in your inventory - also make sure they aren't favorited!

not everything packs into a clean 5 or 10 - there are various ones that pack in different ways so experiment!

let me know if that helps/works!
Sir Gigachad of Thundercock 28 Feb @ 7:26am 
I can't seem to make it work, the mod is enabled but even though I have, for example, 5 or 10 cans of corn, I can't seem to pack them.

I don't get any error either, I am playing on the lastest B41, is there something I'm doing wrong?