# Error With Mod Ammo When I Start A New Game

**URL:** <https://discourse.cataclysmdda.org/t/error-with-mod-ammo-when-i-start-a-new-game/21993>\
**Category:** The Garage\
**Tags:** mod\
**Created:** [November 19, 2019, 6:48am UTC](https://discourse.cataclysmdda.org/t/error-with-mod-ammo-when-i-start-a-new-game/21993 "2019-11-19T06:48:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OHNO\_BATMAN](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ohno_batman/32/7526_2.png) [@OHNO\_BATMAN](https://discourse.cataclysmdda.org/u/OHNO_BATMAN)\
**Post date:** [November 19, 2019, 6:48am UTC](https://discourse.cataclysmdda.org/t/error-with-mod-ammo-when-i-start-a-new-game/21993/1 "2019-11-19T06:48:26Z")

</div>

Never played before but I’m getting this error when I try and start a new game. Didn’t install any fancy mods or anything just what was included.

DEBUG : warnings for type cw-24:  
magazine “akmbigmag” holds incompatible ammo (“308” instead of “762”)  
magazine “akmmag” holds incompatible ammo (“308” instead of “762”)

FUNCTION : void Item\_factory::check\_definitions() const  
FILE : src/item\_factory.cpp  
LINE : 1104

Any help?

---

<div class="post-metadata">

**Author:** ![Vinicius](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/vinicius/32/5925_2.png) [@Vinicius](https://discourse.cataclysmdda.org/u/Vinicius)\
**Post date:** [November 20, 2019, 12:18am UTC](https://discourse.cataclysmdda.org/t/error-with-mod-ammo-when-i-start-a-new-game/21993/2 "2019-11-20T00:18:11Z")

</div>

So far as I know, the AKM “standard” munition is the 7.62x39 , and the debug is saying that the “standard” magazine is holding the .308 winchester munition (7.62x51 NATO) so I think the spawn of theses magazine are given then the wrong munition. I don’t know how to fix that and I not sure if what I said is the real problem. I hope I helped, see you ya.

---

<div class="post-metadata">

**Author:** ![Invalid\_Username](https://avatars.discourse-cdn.com/v4/letter/i/4bbf92/32.png) [@Invalid\_Username](https://discourse.cataclysmdda.org/u/Invalid_Username)\
**Post date:** [November 20, 2019, 12:13pm UTC](https://discourse.cataclysmdda.org/t/error-with-mod-ammo-when-i-start-a-new-game/21993/3 "2019-11-20T12:13:10Z")

</div>

> {  
> “id”: “cw-24”,  
> “copy-from”: “rifle\_semi”,  
> “type”: “GUN”,  
> “color”: “dark\_gray”,  
> “name”: “CW-24”,  
> “name\_plural”: “CW-24”,  
> “description”: “Civilian version of the SVS-24. It was made by Clearwater Arms, Georgia, for the US market. It’s pure semi-automatic, and fires the weaker 5.45x39mm cartridge.”,  
> “price”: 210000,  
> “//”: “Civvie version is cheaper.”,  
> “material”: [“steel”, “plastic”],  
> “ammo”: “545x39”,  
> “weight”: 3900,  
> “volume”: 8,  
> “bashing”: 12,  
> “to\_hit”: -1,  
> “dispersion”: 75,  
> “durability”: 9,  
> “default\_mods”: [“red\_dot\_sight”],  
> “valid\_mod\_locations”: [  
> [“accessories”, 4],  
> [“barrel”, 1],  
> [“bore”, 1],  
> [“brass catcher”, 1],  
> [“grip”, 1],  
> [“magazine”, 1],  
> [“mechanism”, 4],  
> [“muzzle”, 1],  
> [“rail”, 1],  
> [“sights”, 1],  
> [“sling”, 1],  
> [“stock”, 1],  
> [“underbarrel”, 1]  
> ],  
> “magazines”: [  
> [“545x39”, [ “cw24\_robomag”, “cw24\_bigrobomag”] ],  
> [“762”, [ “akmmag”, “akmbigmag”] ],  
> [“654”, [ “svs24\_robomag”, “svs24\_robodrum”] ]  
> ]  
> }

> {  
> “id”: “akmbigmag”,  
> “type”: “MAGAZINE”,  
> “name”: “AKM extended magazine”,  
> “description”: “A 40-round, 7.62x39mm magazine initially designed for the RPK but compatible with the AKM rifle.”,  
> “weight”: “570 g”,  
> “volume”: “750 ml”,  
> “price”: 8300,  
> “material”: “steel”,  
> “symbol”: “#”,  
> “color”: “light\_gray”,  
> “ammo\_type”: “762”,  
> “capacity”: 40,  
> “reliability”: 8,  
> “reload\_time”: 120,  
> “flags”: [“MAG\_BULKY”]  
> },  
> {  
> “id”: “akmmag”,  
> “type”: “MAGAZINE”,  
> “name”: “AKM magazine”,  
> “description”: “A standard 30-round magazine made for the AKM rifle, made of stamped sheet metal.”,  
> “weight”: “430 g”,  
> “volume”: “500 ml”,  
> “price”: 2800,  
> “material”: “steel”,  
> “symbol”: “#”,  
> “color”: “light\_gray”,  
> “ammo\_type”: “762”,  
> “capacity”: 30,  
> “reliability”: 9,  
> “flags”: [“MAG\_COMPACT”]  
> }  
> ]

These are the relevant json entries in my folders. CW-24 is in data/mods/EW\_Pack/ew\_weapons.json and the magazines in question are in data/json/items/magazine/762.json. What I’m guessing is happening is that you have the entry for the AK mag and extended mag under 308 instead of 762 like it should be. Check the entries for the magazines and see if they say “762” under “ammo\_type” like they are supposed to.
