# "DEBUG: tried to set invalid ammo of wooden javelin for altalt"

**URL:** <https://discourse.cataclysmdda.org/t/debug-tried-to-set-invalid-ammo-of-wooden-javelin-for-altalt/15179>\
**Category:** The Garage\
**Created:** [March 25, 2018, 11:30pm UTC](https://discourse.cataclysmdda.org/t/debug-tried-to-set-invalid-ammo-of-wooden-javelin-for-altalt/15179 "2018-03-25T23:30:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![redxlaser15](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/redxlaser15/32/1573_2.png) [@redxlaser15](https://discourse.cataclysmdda.org/u/redxlaser15)\
**Post date:** [March 25, 2018, 11:30pm UTC](https://discourse.cataclysmdda.org/t/debug-tried-to-set-invalid-ammo-of-wooden-javelin-for-altalt/15179/1 "2018-03-25T23:30:32Z")

</div>

That exact message shows up every once in a while, and it what seems to happen is that the altalt doesn’t take use a wooden javelin as ammo. I’m not sure what to do about this, and I _assume_ it isn’t because of the Ascension mod. It seems unlikely that would happen.

---

<div class="post-metadata">

**Author:** ![trelatyraelis](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/trelatyraelis/32/1054_2.png) [@trelatyraelis](https://discourse.cataclysmdda.org/u/trelatyraelis)\
**Post date:** [March 26, 2018, 12:08pm UTC](https://discourse.cataclysmdda.org/t/debug-tried-to-set-invalid-ammo-of-wooden-javelin-for-altalt/15179/2 "2018-03-26T12:08:21Z")

</div>

It indeed isn’t. It’s a bug with the more survival tools mod. Something about trying to make javelins ammo when they should instead be used as weapons in another file.

Personally I just blacklist atlats from the mod and leave it at that, nobody has ever bothered to fix the thing.

---

<div class="post-metadata">

**Author:** ![redxlaser15](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/redxlaser15/32/1573_2.png) [@redxlaser15](https://discourse.cataclysmdda.org/u/redxlaser15)\
**Post date:** [March 26, 2018, 5:02pm UTC](https://discourse.cataclysmdda.org/t/debug-tried-to-set-invalid-ammo-of-wooden-javelin-for-altalt/15179/3 "2018-03-26T17:02:09Z")

</div>

In that case (if so possible) I shall fix it myself one day (hopefully soon). However, I first off need to know what type of coding program cataclysm uses in the first place. I only know some stuff about Python and am currently learning some Java, so it is not unlikely that fixing the problem is out of the question. Of course, I would also need to find where the error is in the code too, so that would be annoying.

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [March 26, 2018, 5:06pm UTC](https://discourse.cataclysmdda.org/t/debug-tried-to-set-invalid-ammo-of-wooden-javelin-for-altalt/15179/4 "2018-03-26T17:06:28Z")

</div>

The game is written in c++, but in this case the problem is consistency between data entries written in json.

---

<div class="post-metadata">

**Author:** ![redxlaser15](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/redxlaser15/32/1573_2.png) [@redxlaser15](https://discourse.cataclysmdda.org/u/redxlaser15)\
**Post date:** [March 26, 2018, 5:08pm UTC](https://discourse.cataclysmdda.org/t/debug-tried-to-set-invalid-ammo-of-wooden-javelin-for-altalt/15179/5 "2018-03-26T17:08:41Z")

</div>

Wut? I don’t get it… I hate being a rookie at times, since half the time I don’t actually understand stuff. Once you get into all the file locating and changing stuff I always because confuzld.

---

<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:** [March 26, 2018, 7:11pm UTC](https://discourse.cataclysmdda.org/t/debug-tried-to-set-invalid-ammo-of-wooden-javelin-for-altalt/15179/6 "2018-03-26T19:11:29Z")

</div>

The javelin override in More Survival Tools isin’t overriding the javelins item type.
