Cataclysm-dda: Negative number of item after stacking overflow max limit.

Created on 11 May 2020  路  8Comments  路  Source: CleverRaven/Cataclysm-DDA

Describe the bug

I wanted to pickup 100 aspirins, but my inventory already contained some aspirins in the pocket and stacking would bring the number over 100 which would overflow the pocket. My inventory accepted the 80 aspirins and I got a message saying stacking would not fit in the pocket with the number -20 which corresponded to the difference. The aspirins left on the counter have now this negative value as its count, as well as the negative volume and negative weight if you inspect it. I can pickup the item and carry it over.

Steps To Reproduce

  1. Have some amount of aspirins in your pocket
  2. Try to pickup amount of aspirins which would bring your pocket amount over the max limit.
  3. Aspirins leftover after unsuccessful stacking should have negative value.

Expected behavior

I'd expect the remaining items not collected would have the amount corresponding to the remaining number of items which did not fit in the pocket. Definitely a positive value.

Screenshots

https://imgur.com/a/zvPmcHD

Versions and configuration

  • OS: Windows 10 x84
  • Game Version: 0.E-2036-gf6d85ac
  • Graphics version: Tiles (DEADPEOPLE)
  • Ingame language: English
  • Mods loaded: Disable NPC Needs, No Fungal Monsters

Additional context

Savegame provided

(P3 - Medium) <Bug> Containers

All 8 comments

I've just realized on another save, that when I hold in hands the item with negative number and drop the original stack, which was in my pocket, the item I hold in hands reverts to non-negative item. This time I picked up raw pelt where 3 ended in my pocket, filled the pocket up and in my hand I was holding pelt (-1). As soon as I've dropped the pelts from pocket into the drawer, the pelt in my hands turned to standard single item.

I just encountered this.

image
image

EDIT: After leaving the game alone for awhile, it resumed running!

image

I just noticed that this triggered a really strange bug after unloading my inventory.

image
image

Each time I take a step, my character tries to pick up a 0 casting and wield it!

Edit: Dropped my axe, and a heckton of casting appeared in my hand!

image

Dropped the bullet into my car and that's it for the bug. Now wielding my axe and walking around.

image

I love your inventory ;)

Sorry, misclick

Same thing happening here. I recorded and uploaded it for a quick demonstration.
After foraging acorns from a tree, despite having sufficient volume - I cannot hold onto all the acorns harvested. Instead every time one acorn is picked up, the previous acorn (held in hand) only gives me the option of dropping it.
After the pick up new acorn / drop old acorn cycle, the ground has a negative amount of acorns , and so does my character's hand. The acorns give a negative weight and volume as well.

Video (38 seconds long): https://www.youtube.com/watch?v=-_Ad407wEuA
It's a bit weird because the bug kinda stucked my computer and made the recording software not responsive, but it demonstrates the issue.

This just happened to me on the latest build, game crashed when i tried to drop & pick up the negative stack.

reproduced it fine yesterday, but when i sat down to try to work through it today i couldn't get the aspirin to go negative.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ituluwituluwzev picture ituluwituluwzev  路  3Comments

Cyrano7 picture Cyrano7  路  3Comments

tinukedaya picture tinukedaya  路  3Comments

2birdie picture 2birdie  路  3Comments

Asmageddon picture Asmageddon  路  3Comments