# Unknown item id and invalid ammo

**URL:** <https://discourse.cataclysmdda.org/t/unknown-item-id-and-invalid-ammo/12758>\
**Category:** The Garage\
**Created:** [October 19, 2016, 7:36pm UTC](https://discourse.cataclysmdda.org/t/unknown-item-id-and-invalid-ammo/12758 "2016-10-19T19:36:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![latogato](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@latogato](https://discourse.cataclysmdda.org/u/latogato)\
**Post date:** [October 19, 2016, 7:36pm UTC](https://discourse.cataclysmdda.org/t/unknown-item-id-and-invalid-ammo/12758/1 "2016-10-19T19:36:29Z")

</div>

I play the game with a lot of mods, it worked fine for a time, but now there are some error message. I don’t know what was the previous version.

version: 5781  
mods:  
“ew\_pack”,  
“Medieval\_Stuff”,  
“More\_Survival\_Tools”,  
“makeshift”,  
“DinoMod”,  
“PK\_REBALANCE”,  
“crazy\_cataclysm”,  
“Animatronics”,  
“boats”,  
“deoxymod”,  
“blazemod”,  
“Tanks”,  
“Arcana”,  
“necromancy”,  
“filthy\_morale”

Error message when the save loading:  
DEBUG: item id handloaded\_654 is unknown  
FUNCTION: virtual void Single\_item\_creator::check\_consistency() const  
FILE: src/item\_groups.cpp  
LINE: 116

Error message when i open the crafting menu. The spraycan flamethrower is the default selected item in the list. I get this error message every time i select this item:  
DEBUG: tried to set invalid ammo of gasoline for spraycan flamethrower  
FUNCTION: item& item::ammo\_set(const itype\_id&, long int)  
FILE: src/item.cpp  
LINE: 279

---

<div class="post-metadata">

**Author:** ![proxiehunter](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@proxiehunter](https://discourse.cataclysmdda.org/u/proxiehunter)\
**Post date:** [October 19, 2016, 9:11pm UTC](https://discourse.cataclysmdda.org/t/unknown-item-id-and-invalid-ammo/12758/2 "2016-10-19T21:11:32Z")

</div>

I’ve also been getting the spray can flamethrower debug message. The mods we’re both using are:

“makeshift”,  
“More\_Survival\_Tools”,  
“boats”,  
“deoxymod”,  
“blazemod”,  
“Tanks”,

If a mod is to blame my money is on “makeshift” or “More\_Survival\_Tools”.

---

<div class="post-metadata">

**Author:** ![BorkBorkGoesTheCode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/borkborkgoesthecode/32/2343_2.png) [@BorkBorkGoesTheCode](https://discourse.cataclysmdda.org/u/BorkBorkGoesTheCode)\
**Post date:** [October 19, 2016, 10:25pm UTC](https://discourse.cataclysmdda.org/t/unknown-item-id-and-invalid-ammo/12758/3 "2016-10-19T22:25:07Z")

</div>

[quote=“proxiehunter, post:2, topic:12758”]I’ve also been getting the spray can flamethrower debug message. The mods we’re both using are:

“makeshift”,  
“More\_Survival\_Tools”,  
“boats”,  
“deoxymod”,  
“blazemod”,  
“Tanks”,

If a mod is to blame my money is on “makeshift” or “More\_Survival\_Tools”.[/quote]  
Found the surface problem. It’s not the mods.

[quote=“latogato, post:1, topic:12758”]Error message when the save loading:  
DEBUG: item id handloaded\_654 is unknown  
FUNCTION: virtual void Single\_item\_creator::check\_consistency() const  
FILE: src/item\_groups.cpp  
LINE: 116[/quote]  
I am sorry about the itemgroup bug, I accidentally included the wrong item id in my itemgroup PR. Two fixes are open.

---

<div class="post-metadata">

**Author:** ![BorkBorkGoesTheCode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/borkborkgoesthecode/32/2343_2.png) [@BorkBorkGoesTheCode](https://discourse.cataclysmdda.org/u/BorkBorkGoesTheCode)\
**Post date:** [October 20, 2016, 3:19am UTC](https://discourse.cataclysmdda.org/t/unknown-item-id-and-invalid-ammo/12758/4 "2016-10-20T03:19:00Z")

</div>

Icecoon’s Weapons Pack is fixed. The flamethrower fix is waiting for approval.

---

<div class="post-metadata">

**Author:** ![latogato](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@latogato](https://discourse.cataclysmdda.org/u/latogato)\
**Post date:** [October 20, 2016, 5:38pm UTC](https://discourse.cataclysmdda.org/t/unknown-item-id-and-invalid-ammo/12758/5 "2016-10-20T17:38:25Z")

</div>

The latest version has no error messages. Thank you for the fixes!
