Looting a stackable item you already have a stack of does not merge the stacks server-side #872
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
items that can stack will appear to stack when looted off a corpse, but don't
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the items should either not stack or stack when looted
Screenshots




a situation like this, level 10 nano stims in inventory and on a corpse
looting it will make it stack
but when you try to loot something else with 1 inventory slot left, it won't let you
the stims will unstack on zone or relog
i have noticed the same behavior with ammo drops in the subway
this doesn't happen with other methods of adding items, shops, mission rewards, .item
Confirmed. I am able to reproduce this issue as described above. On second relog it was staying in its correct stack.
First relog after looting stims from Stim Fiend:
https://github.com/user-attachments/assets/31399e14-c153-4670-bf52-0af7ce92a9b3
Second relog with the same items that got unstacked from the first relog:
https://github.com/user-attachments/assets/a70837d2-3c68-4f62-b5cb-3a0bbf0ae3e6
Raising the priority on this one as further testing has highlighted that if certain conditions are met, unequippable items can be placed on the wear window. Repro instructions in BH chat.
https://bytebin.project-rk.com/0aGAjrkK
I dont know how it happened, and cant repoduce it, but it happened either when i tried to use the Spirit Siphon, or looted it in ELY port 7.
Issue:
Spirit Siphon got equiped in implantslot Legs, and i cant remove it.
By right clicking a spirit i get message: Target slot is not empty.
By trying to use it (to get rid of the stack):
stacking items on lootto Looting a stackable item you already have a stack of does not merge the stacks server-sideI have implemented a partial fix for this, for now - I have prevented players from equipping items which they should not equip (e.g. bullets/stims/spirit siphons/etc.) which should prevent random junk from ending up in a character's equipment tabs. Once this fix is confirmed I will also fix it so that item stacks merge properly.
Confirmed that this is now fixed. The server now outputs a 'Sorry, you cannot equip this string.' when attempting to move items from the 'ghost' slot to the wear window.
Situation is ready for the further fix for false stacks on the client.
This should now be fixed.
Can confirm that this is fixed now.