Cataclysm-dda: DEBUG : tried to set ammo for jumper_cable_heavy which does not have ammo or a magazine

Created on 20 Jul 2020  路  7Comments  路  Source: CleverRaven/Cataclysm-DDA

Describe the bug

DEBUG : tried to set ammo for jumper_cable_heavy which does not have ammo or a magazine

FUNCTION : void Item_modifier::modify(item&) const
FILE : src/item_group.cpp
LINE : 324

Steps To Reproduce

don't know, was doing nothing related

Versions and configuration

10852

(S1 - Need confirmation)

All 7 comments

is this still a bug? how do we reproduce it?

Just had this happen as well on build 10911. Mods are Aftershock and Blaze industries. Unfortunately I don't have a save from before the error to post but it pops up whenever the cables are first generated. In this case the error popped up when I first approached a recycling center that had jumper cables and heavy duty cables in the bins. Both cables spawned normally after the error was ignored.

I got similar errors on starting a new game(on 10918) but for jumper_cable and for spray_can and the line number being 358

I cannot reproduce this error in 0.E-5926-g a883429bdd

Spawned fire lookout towers on the overmap until I found one that had heavy-duty cable (jumper_cable_heavy). I was able to View, examine, and pick up the cable with no errors.

This reminds me what I suggested in issues #42416 and others to automate the reporting of crash debug. It is ridiculous to not know how to reproduce a game related issue in a turn based game.

I haven't seen this error in a long time either and I have played through multiple different runs since I last reported it. I believe it has been fixed. This one was fairly reproducible by simply walking near anywhere that spawned those cables.

@Fosheze Thank you for confirming. I agree it is probably fixed now. Closing issue.

Was this page helpful?
0 / 5 - 0 ratings