-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Charcoal kiln unacceptable pocket error #59189
Comments
/confirmed I don't believe it has anything to do with moving items as such. I get this reliably reproducible error whenever I examine my charcoal kiln at the Kitchen base camp expansion (version 2, although version 1 looks the same in this area) to finish the production process and then access any smoking rack without having moved the charcoal away from the kiln (I keep my smoking racks reasonably topped up with charcoal). |
/confirmed I guess editing in the confirmation doesn't work. |
I can't reproduce this on 4034a38, does it still happen with some more complicated reproduction steps? |
Still there for me: FUNCTION : put_in Steps for me:
The kiln and the smokers are all within a base camp storage area, but not part of any base camp blueprint (bare bones base camp). It can also be noted that dismissing the debug message with space (i.e. single time dismiss) still doesn't allow the message to appear again when 'e'xamining that (or an adjacent) smoking rack, indicating there is some condition that's generated by "releasing" the charcoal in the kiln that's triggered only by the examination of the smoker, but that this condition is resolved at that time. I avoid the annoying messages by moving the charcoal away from the kiln directly after "releasing" it. Neither a rock forge nor a bloomery causes the message to appear when 'e'xamined after "releasing" the charcoal in the kiln. These two are at some 15 or so tiles distance (in particular, more than the 6 of the crafting interaction distance). Save with .mm1 folder removed: Walk to the SE to get to the kiln to the N of the row of smokers: |
Cataclysm-DDA/src/inventory.cpp Lines 515 to 531 in 4034a38
It's this block's fault, called when forming a crafting inventory. It seems kinda off in more ways than an unsafe put_in , though.
Cataclysm-DDA/src/iexamine.cpp Line 6333 in 4034a38
It's also kind of overkill for the smoker examine to form a crafting inventory just to check if there is any charcoal nearby, although I imagine there are more ways to trigger this error, so adjusting that would only be partially helpful. Since the worst this error can do is be annoying, I won't fix it specifically. The error will go away when charges get removed, although it's another thing I have to keep in mind for #60885. |
This error did not go away when charges got removed. I refueled a camp forge and got the same error when I went back to examine the bulletin board. DEBUG : tried to put an item (charcoal) count (1940) in a container (fake_forge) that cannot contain it: pocket unacceptable because tried to put too many charges of ammo in item FUNCTION : put_in |
Encountering a similar issue with "Smoking Rack", so unsure if this is the same issue, the bug has returned, or was never fully resolved. I recall playing builds of CDDA experimental ~12 months ago without this issue, so I think a recent change has re-implemented it. I think the issue can be artificially resolved by not placing more than the appropriate amount of fuel (2,000 units of Charcoal for a Smoking Rack) into a Smoking Rack manually. but haven't tested extensively. Windows 11 |
This error has persisted for a fair while. As far as I can tell, it happens when you top up a smoking rack, at which point the game places more charcoal into it than it can hold if you've got enough at the source. I think the maximum capacity is 90000 currently (the size of the charges was changed at some point, I think). |
Can confirm, too. Alternate reproduction steps:
|
Describe the bug
DEBUG : tried to put an item (charcoal) count (2080) in a container (fake_char_kiln) that cannot contain it: pocket unacceptable because tried to put too many charges of ammo in item
FUNCTION : ret_val item::put_in(const item&, item_pocket::pocket_type, bool)
FILE : src/item.cpp
LINE : 1479
VERSION : fa6f25b
Steps to reproduce
With charcoal kiln and smoking rack in close proximity, and 91 charcoal already in the smoking rack, have charcoal kiln produce more charcoal from 2 logs input. Examine the charcoal kiln when finished, then examine again.
Expected behavior
Examining the kiln shouldn't attempt to move the charcoal at all. If moved, then the correct amount should be moved to the smoking rack, that's below its capacity limit.
Screenshots
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth],
Bionic Professions [package_bionic_professions]
]
Additional context
Aventura.zip
The text was updated successfully, but these errors were encountered: