Necesse

Necesse

Stack Resizer
80 Comments
mei_ohtori 11 May @ 3:37am 
As for my earlier issue, I solved it by locking the stack with LAlt.
However, the lock is removed once it is placed in storage or once it leaves your hand, so it would be helpful if you could improve this if possible.
mei_ohtori 11 May @ 2:42am 
If you put two or more tablet boxes in your hand and perform automatic organization, they will end up in the same stack.
Also, when they are separated from the stack, the contents are copied.
I think this may be an effect of the stack count limit being set to 5000, but can the setting be changed here?
Currently, we are dealing with this by putting them in an empty bag or not carrying them at the same time.

Translated text by Deepl
softword 2 May @ 11:44pm 
ok tnx.
Ferren-  [author] 2 May @ 5:08pm 
Scrolls and tablets do not stack by design. It creates un-handled possibilities wherein a player might attempt to enchant an item with a stack of scrolls, or open a stack of tablets in the gateway. You can always override this behavior though by adding the item category back.
softword 26 Apr @ 11:27pm 
@Ferren- the scrolls doesn't stack
Ferren-  [author] 24 Apr @ 8:18am 
my poor attention span cannot handle all my projects, but i will keep beating on it anyway
softword 24 Apr @ 7:20am 
Ok, fine, thanks, now is updated, before latest master branch is on 0.5.2 version
Ferren-  [author] 24 Apr @ 6:51am 
Yep, same jar! All of the code for my mods and some machine learning stuff is on my github @ https://github.com/FerrenF/Necesse-Stack-Resizer
softword 24 Apr @ 5:59am 
@Ferren- thx for support and fast updates! I ask to you another times, the jar is same for client/server? And where I can found sources?
シズ【Shizu】 24 Apr @ 5:54am 
Can confirm is working fine now. Thank you. :steamthumbsup:
Ferren-  [author] 24 Apr @ 5:41am 
Pushing a patch now. Just need to update the mod. I did not bump version this time because it was laughable what I did.
Ferren-  [author] 24 Apr @ 5:39am 
Less is more when making a patch, I suppose.
シズ【Shizu】 24 Apr @ 5:39am 
Thank you for looking into it. :steamthumbsup: I am playing alone on SP anyways also, hope it helps to narrow down the issue with the info.
Ferren-  [author] 24 Apr @ 5:38am 
Haha, that won't work because I wrapped those functions in a 'ooh i am sure this will help stabilize multiplayer' method. :V It'll be out very soon.
シズ【Shizu】 24 Apr @ 5:36am 
I also tried deleting the config file, restart the game and load back into the world hoping ti will recreate the file and fixes it. But it doesn't re-create the config file at all.
Ferren-  [author] 24 Apr @ 5:33am 
Aww. Did I mess up singleplayer fixing multiplayer again? Putting out a fix soon. :(
シズ【Shizu】 24 Apr @ 5:32am 
Config doesn't seems to be saving or loading from the Stack Resizer_WorldName.dat file anymore. Every time I restart the game and load into the world the stack size kept getting reset.
softword 24 Apr @ 12:47am 
it works! thanks :)
softword 24 Apr @ 12:42am 
Can I use the same jar on dedicated server right?
softword 24 Apr @ 12:36am 
@Ferren- many thanks :)
Ferren-  [author] 23 Apr @ 10:13pm 
@Softword - I have identified and fixed the issue. Pushing patch very shortly. Let me know if anything is still not working right.
Zara ♡ 23 Apr @ 6:24pm 
Ah thank you!! Works perfectly. I wanted to be able to stack my monies more. I didn't use console commands but I did go into the files and alter the number in the file here: Necesse/cfg/mods.

I set it to 99999 lol. Then I loaded the game up to my current save and voila! The tool tip said "99999" and I was able to add all my money to the same stack! Thank you so much for this. So easy and so useful.
Ferren-  [author] 23 Apr @ 2:00pm 
@softword, I'm looking into that now! thanks for the report
EMIR_A 23 Apr @ 7:35am 
Bueno
softword 22 Apr @ 11:46pm 
how can set max stack? I've try in console using:

/stackresize default 2000

or

/stackresize set ore 2000

but nothing......the tool tip show me always 5000


another bug is if I try to "/stackresize get ore" give me this error:

[2025-04-23 08:44:45] (ERR) java.lang.NullPointerException: Cannot read field "categoryModifiers" because "stackResizer.StackResizer.currentSettings" is null
[2025-04-23 08:44:45] (ERR) at stackResizer.StackResizer.getCategoryStackSize(StackResizer.java:356)
[2025-04-23 08:44:45] (ERR) at stackResizer.SRCommandHandler$StackSizeCommand.runModular(SRCommandHandler.java:249)
[2025-04-23 08:44:45] (ERR) at
Edinorog 15 Apr @ 10:53am 
Here. But I just removed that mod, and everything works fine.
Edinorog 15 Apr @ 10:53am 
Mods: More Names (v. 1.1)

java.lang.NoClassDefFoundError: necesse/entity/mobs/friendly/human/humanShop/TravelingMerchantMob
at necesse.entity.mobs.friendly.human.HumanMob.getRandomName(HumanMob.java:3256)
at necesse.entity.mobs.friendly.human.humanShop.FriendlyWitchHumanMob.randomizeLook(FriendlyWitchHumanMob.java:255)
at necesse.entity.mobs.friendly.human.HumanMob.setSettlerSeed(HumanMob.java:1560)
at necesse.entity.mobs.friendly.human.HumanMob.init(HumanMob.java:1027)
at necesse.entity.mobs.friendly.human.humanShop.HumanShop.init(HumanShop.java:61)
Ferren-  [author] 14 Apr @ 5:24pm 
I could still use the crash report if you have one! I can try and work around whatever is making it incompatible.
Edinorog 14 Apr @ 10:56am 
No, it was a conflict with your mod because of the More Names mod. sorry.
Ferren-  [author] 13 Apr @ 8:32pm 
Do you have a crash report you can put in bug reports?
Edinorog 13 Apr @ 10:09am 
It's crashing the game. It's throwing an error.
Ferren-  [author] 11 Apr @ 7:28pm 
Stack Resizer updated. Items now have a tooltip section specifying their max stack size, and a string identifying whether or not an item's stack size has been modified - and in what way. Commands will now display more help regarding their usage as you type them.
Ferren-  [author] 8 Apr @ 10:56am 
I'll write a guide or make a video when I have time, I have been terribly busy with graduation. I am happy you weren't here for the previous set of commands. They were admittedly terrible >_>. In the mean time, I'll make a questions thread that you are welcome to ask how to do x in!
CKZERA 8 Apr @ 9:19am 
This mod seems to help a lot, but I really didn't understand anything at all about what should be done. I used the commands as they should be used, but nothing changed. I don't know if I'm doing it wrong, it's probably that... but that's it... the mod is complicated to use and understand how to use. Maybe a demonstration video could help.
Ferren-  [author] 25 Mar @ 6:20pm 
I fixed the raider dropping 5k weapons issue. For really real this time.
Pathfio Discort Achraí 25 Mar @ 2:54am 
enemy still drom 5K weapons
Ferren-  [author] 24 Mar @ 12:21pm 
All armor is included in the blacklist as well, because of problems equipping stacks of armor and disappearing items within special containers such as enchanting table slots. You can always add armor items or categories back to allow them to stack with the /stackresize command. This is a little less problematic as long as you understand that weird stuff might happen with stacks of armor. The command will autocomplete categories for you so there is no need to lookup these categories either.
Pathfio Discort Achraí 24 Mar @ 11:46am 
what about armor that no one is wearing?
Ferren-  [author] 24 Mar @ 9:07am 
Weapons should not stack. I put it on a global blacklist because it was causing a variety. If you want weapons to stack again, you could theoretically use /stackresize set weapons #, but It's not reccomended.
Pathfio Discort Achraí 24 Mar @ 1:37am 
weapons stop stacking after my 24h achiment
Ferren-  [author] 21 Mar @ 9:21pm 
Pushing a fix version now to resolve issues with raiders being able to bypass the blacklist. It was REAL! Sorry guys! It looks like the raiders drop an unexpected class type instead of the real weapon class type.
Ferren-  [author] 21 Mar @ 5:00pm 
oops its stackresize.stacksize.set
Skay24 21 Mar @ 4:58pm 
Well that command did not work as "could not find stackresize.set"
So will try change file.
Ferren-  [author] 21 Mar @ 4:55pm 
That's an ingame command. If you are editing the .DAT file, just put like
classModifiers = necesse.inventory.item.toolItem.ToolItem=5000;
Skay24 21 Mar @ 4:54pm 
Ok now I get it I add this as command ingame.
Ferren-  [author] 21 Mar @ 4:32pm 
And just remove it when you are done, or keep it there (up to you).
Ferren-  [author] 21 Mar @ 4:32pm 
You can set a custom stack size for the class necesse.inventory.item.toolItem.ToolItem and temporarily override the blacklist component for all weapons and tools.

/stackresize.set necesse.inventory.item.toolItem.ToolItem 5000 true
Skay24 21 Mar @ 4:29pm 
Hi question can I copy past old version of the Stack Resizer_....dat file so in game I can collect the full stack of weapons just so I can delete it. WIll it work? Is there a chance to do it. As I don't know a way to delete item on the ground...
Ferren-  [author] 20 Mar @ 9:29pm 
That may not be Stack Resizer then. I tried to do testing on that issue the last time you had reported it and couldn't get a full stack to drop anywhere. What's your mod list look like?