# Worn item causing game crash when activated need help finding the cause

**URL:** <https://discourse.cataclysmdda.org/t/worn-item-causing-game-crash-when-activated-need-help-finding-the-cause/18858>\
**Category:** The Lab\
**Tags:** mod\
**Created:** [February 20, 2019, 3:33am UTC](https://discourse.cataclysmdda.org/t/worn-item-causing-game-crash-when-activated-need-help-finding-the-cause/18858 "2019-02-20T03:33:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Desmont](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@Desmont](https://discourse.cataclysmdda.org/u/Desmont)\
**Post date:** [February 20, 2019, 3:33am UTC](https://discourse.cataclysmdda.org/t/worn-item-causing-game-crash-when-activated-need-help-finding-the-cause/18858/1 "2019-02-20T03:33:30Z")

</div>

trying out adding an item and a recipe to the game and just ran into this crash that i’m not sure how to fix the items work as expected if its not worn but wearing causes a crash this doesn’t seem to happen to the item i coped and i’m not sure what i changed to cause this

> **My item**
>
> [  
> {  
> “id”: “imper\_stone\_mask”,  
> “type”: “TOOL\_ARMOR”,  
> “category”: “armor”,  
> “name”: “stone mask”,  
> “name\_plural”: “masks of stone”,  
> “description”: “A stone mask that seems to radiate a dark power”,  
> “weight”: 710,  
> “volume”: 4,  
> “price”: 21000,  
> “material”: [“stone”],  
> “symbol”: “[”,  
> “looks\_like”: “mask\_bal”,  
> “color”: “light\_brown”,  
> “max\_charges”: 15,  
> “initial\_charges”: 15,  
> “covers”: [“EYES”, “MOUTH”],  
> “coverage”: 100,  
> “encumbrance”: 10,  
> “warmth”: 10,  
> “ammo”: “NULL”,  
> “material\_thickness”: 2,  
> “environmental\_protection”: 1,  
> “artifact\_data”: { “charge\_type”: “ARTC\_HP” },  
> “use\_action”: {  
> “target”: “imper\_stone\_mask\_on”,  
> “msg”: “to do”,  
> “active”: true,  
> “need\_charges”: 10,  
> “need\_charges\_msg”: “As you stare into the mask’s eyes you almost can’t contain your desire to feed the mask”,  
> “type”: “transform”  
> }  
> },  
> {  
> “id”: “imper\_stone\_mask\_on”,  
> “type”: “TOOL\_ARMOR”,  
> “copy-from”: “imper\_stone\_mask”,  
> “name”: “stone mask (on)”,  
> “name\_plural”: “stone masks (on)”,  
> “description”: “to do”,  
> “turns\_per\_charge”: 15,  
> “revert\_to”: “imper\_stone\_mask”,  
> “material\_thickness”: 1,  
> “environmental\_protection”: 6,  
> “artifact\_data”: { “effects\_worn”: [“AEP\_MUTAGENIC”] },  
> “qualities”: [[“GLARE”, 2] ],  
> “charges\_per\_use”: 10,  
> “use\_action”: { “type”: “mutagen\_iv” }  
> }  
> ]

> **the item i coped**
>
> {  
> “id”: “somen\_clairvoyance”,  
> “type”: “TOOL\_ARMOR”,  
> “category”: “armor”,  
> “name”: “mask of insight”,  
> “name\_plural”: “masks of insight”,  
> “description”: “A mask faced with iron and decorated with other metal, depicting the face of some unknown divine figure. Fueling it with consecrated essence will grant the wearer clairvoyance within a limited range and protection from bright flashes, but blind you to anything beyond its effect.”,  
> “weight”: 710,  
> “volume”: 4,  
> “price”: 21000,  
> “material”: [“iron”, “copper”],  
> “symbol”: “[”,  
> “looks\_like”: “mask\_bal”,  
> “color”: “light\_red”,  
> “ammo”: “essence\_dull\_type”,  
> “max\_charges”: 12,  
> “covers”: [“EYES”, “MOUTH”],  
> “coverage”: 100,  
> “encumbrance”: 10,  
> “warmth”: 10,  
> “material\_thickness”: 2,  
> “environmental\_protection”: 1,  
> “use\_action”: {  
> “target”: “somen\_clairvoyance\_on”,  
> “msg”: “The mask appears to contort into a fearsome visage, the eyeholes momentarily seeming to glow.”,  
> “active”: true,  
> “need\_charges”: 1,  
> “need\_charges\_msg”: “Fuel the mask with consecrated essence, to open your eyes.”,  
> “type”: “transform”  
> },  
> “flags”: [“NO\_SALVAGE”]  
> },  
> {  
> “id”: “somen\_clairvoyance\_on”,  
> “type”: “TOOL\_ARMOR”,  
> “copy-from”: “somen\_clairvoyance”,  
> “name”: “mask of insight (on)”,  
> “name\_plural”: “masks of insight (on)”,  
> “//”: “It seems you need around 6 to protect against flashes”,  
> “description”: “A mask faced with iron and decorated with other metal, depicting the face of some unknown divine figure. The face depicted on the mask seems more menacing than it did previously.”,  
> “turns\_per\_charge”: 50,  
> “revert\_to”: “somen\_clairvoyance”,  
> “material\_thickness”: 2,  
> “environmental\_protection”: 6,  
> “artifact\_data”: { “effects\_worn”: [“AEP\_CLAIRVOYANCE\_PLUS”] },  
> “qualities”: [[“GLARE”, 2] ],  
> “use\_action”: {  
> “target”: “somen\_clairvoyance”,  
> “msg”: “The mask’s features return to its original impassive expression.”,  
> “type”: “transform”  
> },  
> “extend”: { “flags”: [“SUN\_GLASSES”, “BLIND”, “IR\_EFFECT”, “PARTIAL\_DEAF”] }  
> },

---

<div class="post-metadata">

**Author:** ![Desmont](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@Desmont](https://discourse.cataclysmdda.org/u/Desmont)\
**Post date:** [February 20, 2019, 4:30am UTC](https://discourse.cataclysmdda.org/t/worn-item-causing-game-crash-when-activated-need-help-finding-the-cause/18858/2 "2019-02-20T04:30:18Z")

</div>

> **crash log**
>
> CRASH LOG FILE: config/crash.log  
> VERSION: 0.C-37498-ga2fc42c  
> TYPE: Signal  
> MESSAGE: SIGSEGV: Segmentation fault  
> STACK TRACE:  
> @0x5D5065[cataclysm-tiles.exe+0x1D5065]  
> @0x5D5C12[cataclysm-tiles.exe+0x1D5C12]  
> SMPEG\_error+0x4B034@0xE8C040[cataclysm-tiles.exe+0xA8C040]  
> \_C\_specific\_handler+0x9C@0x77B485A8[ntdll.dll+0x185A8]  
> RtlDecodePointer+0xBD@0x77B59D0D[ntdll.dll+0x29D0D]  
> RtlUnwindEx+0xBBF@0x77B491AF[ntdll.dll+0x191AF]  
> KiUserExceptionDispatcher+0x2E@0x77B81278[ntdll.dll+0x51278]  
> @0xA45F17[cataclysm-tiles.exe+0x645F17]  
> @0x85153C[cataclysm-tiles.exe+0x45153C]  
> @0x804129[cataclysm-tiles.exe+0x404129]  
> @0xBD67BD[cataclysm-tiles.exe+0x7D67BD]  
> @0xBE35DE[cataclysm-tiles.exe+0x7E35DE]  
> @0xBE7DEE[cataclysm-tiles.exe+0x7E7DEE]  
> @0xBE7F2D[cataclysm-tiles.exe+0x7E7F2D]  
> @0x6C496B[cataclysm-tiles.exe+0x2C496B]  
> @0x71DE7D[cataclysm-tiles.exe+0x31DE7D]  
> @0x700A36[cataclysm-tiles.exe+0x300A36]  
> IMG\_LoadWEBP\_RW+0x4E8F39@0x1487679[cataclysm-tiles.exe+0x1087679]  
> @0x4013ED[cataclysm-tiles.exe+0x13ED]  
> @0x4014FB[cataclysm-tiles.exe+0x14FB]  
> BaseThreadInitThunk+0xD@0x7792652D[kernel32.dll+0x1652D]  
> RtlUserThreadStart+0x21@0x77B5C521[ntdll.dll+0x2C521]

---

<div class="post-metadata">

**Author:** ![Zhilkin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zhilkin/32/3749_2.png) [@Zhilkin](https://discourse.cataclysmdda.org/u/Zhilkin)\
**Post date:** [February 20, 2019, 2:02pm UTC](https://discourse.cataclysmdda.org/t/worn-item-causing-game-crash-when-activated-need-help-finding-the-cause/18858/3 "2019-02-20T14:02:08Z")

</div>

> [@Desmont](#):
>
> mutagen\_iv

See [Mutation updates by ZhilkinSerg · Pull Request #32 · chaosvolt/cdda-arcana-mod · GitHub](https://github.com/chaosvolt/cdda-arcana-mod/pull/32)

---

<div class="post-metadata">

**Author:** ![QuietCoyote](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/quietcoyote/32/6451_2.png) [@QuietCoyote](https://discourse.cataclysmdda.org/u/QuietCoyote)\
**Post date:** [February 20, 2019, 10:15pm UTC](https://discourse.cataclysmdda.org/t/worn-item-causing-game-crash-when-activated-need-help-finding-the-cause/18858/4 "2019-02-20T22:15:26Z")

</div>

This would go into “The Garage”, where bugs are supposed to be reported, it helps to read the category description too. (Not “The Lab” though, I think the description of it is currently bugged and is displaying a description for a creating a new category…
