# Crashing when trying to load game

**URL:** <https://discourse.cataclysmdda.org/t/crashing-when-trying-to-load-game/26110>\
**Category:** The Garage\
**Created:** [March 18, 2021, 10:32pm UTC](https://discourse.cataclysmdda.org/t/crashing-when-trying-to-load-game/26110 "2021-03-18T22:32:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Medi\_Ding](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/medi_ding/32/5091_2.png) [@Medi\_Ding](https://discourse.cataclysmdda.org/u/Medi_Ding)\
**Post date:** [March 18, 2021, 10:32pm UTC](https://discourse.cataclysmdda.org/t/crashing-when-trying-to-load-game/26110/1 "2021-03-18T22:32:31Z")

</div>

I guess this is expected because I used alt-f4, but now whenever I try to start my game, the whole game crashes. I feel this might be because I talked with the marloss npc in the fungal blossoms before alt-f4.

[The program has crashed.See the log file for a stack trace.CRASH LOG FILE: . - Pastebin.com](https://pastebin.com/Mp8JV4gh) is the crash log.

Is there anything I can delete or alter to fix this?

---

<div class="post-metadata">

**Author:** ![GiggleGrassGatherer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/gigglegrassgatherer/32/7743_2.png) [@GiggleGrassGatherer](https://discourse.cataclysmdda.org/u/GiggleGrassGatherer)\
**Post date:** [March 19, 2021, 9:10am UTC](https://discourse.cataclysmdda.org/t/crashing-when-trying-to-load-game/26110/2 "2021-03-19T09:10:28Z")

</div>

Looks like your character is trying to repair nonexistent item? Probably worth a bug report on [github](https://github.com/CleverRaven/Cataclysm-DDA/issues).

> [@Medi\_Ding](#):
>
> I guess this is expected because I used alt-f4

Alt-F4 shouldn’t result in this. The game does never half-save its state, it’s all or nothing.

---

<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:** [March 20, 2021, 9:55am UTC](https://discourse.cataclysmdda.org/t/crashing-when-trying-to-load-game/26110/3 "2021-03-20T09:55:26Z")

</div>

Force quitting during save could lead to anything.

---

<div class="post-metadata">

**Author:** ![Medi\_Ding](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/medi_ding/32/5091_2.png) [@Medi\_Ding](https://discourse.cataclysmdda.org/u/Medi_Ding)\
**Post date:** [March 21, 2021, 6:51pm UTC](https://discourse.cataclysmdda.org/t/crashing-when-trying-to-load-game/26110/4 "2021-03-21T18:51:48Z")

</div>

Is there a way to delete specific items or actions from a save? I feel like me trying to solder a cleansuit is what is causing my game to crash.

---

<div class="post-metadata">

**Author:** ![Medi\_Ding](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/medi_ding/32/5091_2.png) [@Medi\_Ding](https://discourse.cataclysmdda.org/u/Medi_Ding)\
**Post date:** [March 21, 2021, 7:03pm UTC](https://discourse.cataclysmdda.org/t/crashing-when-trying-to-load-game/26110/5 "2021-03-21T19:03:48Z")

</div>

After looking in my world’s save file, I saw the action for repairing metal. It looks a bit weird.

```
"activity": { 
    "type": "ACT_REPAIR_ITEM", 
    "actor": null, 
    "moves_left": 636, 
    "index": -6, 
    "position": -2147483648, 
    "coords": [], 
    "coord_set": [], 
    "name": "", 
    "targets": [{ "type": "character", "character": 1, "idx": 68 }, { "idx": 33, "type": "in_container", "parent": { "type": "character", "character": 1, "idx": 130 } }], 
    "placement": [-2147483648, -2147483648, -2147483648], 
    "values": [1], 
    "str_values": ["repair_metal"], 
    "auto_resume": false, "monsters": [] 
}, 
"stashed_outbounds_activity": { "type": "ACT_NULL" }, 
"stashed_outbounds_backlog": { "type": "ACT_NULL" }, 
"backlog": [], "activity_vehicle_part_index": -1

```

Could the -21474… for the position be a cause?

HAHA IT WORKED!!! I don’t know why it overflowed, but I am happy with this. Thanks!

---

<div class="post-metadata">

**Author:** ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)\
**Post date:** [March 21, 2021, 7:07pm UTC](https://discourse.cataclysmdda.org/t/crashing-when-trying-to-load-game/26110/6 "2021-03-21T19:07:52Z")

</div>

> [@Medi\_Ding](#):
>
> Is there a way to delete specific items or actions from a save?

There is.

> [@Medi\_Ding](#):
>
> Could the -21474… for the position be a cause?

Probably. Although given that it’s in your inventory (as indicated by `"targets": [ { "type": "character", "character": 1, "idx": 68 }`) that would probably just mean it’s “not in the world”.

I strongly suggest to make a backup of the file first, but if you replace the

```auto
"activity": {  
    "type": "ACT_REPAIR_ITEM", 
    "actor": null, 
    "moves_left": 636, 
    "index": -6, 
    "position": -2147483648, 
    "coords": [], 
    "coord_set": [], 
    "name": "", 
    "targets": [{ "type": "character", "character": 1, "idx": 68 }, { "idx": 33, "type": "in_container", "parent": { "type": "character", "character": 1, "idx": 130 } }], 
    "placement": [-2147483648, -2147483648, -2147483648], 
    "values": [1], 
    "str_values": ["repair_metal"], 
    "auto_resume": false, "monsters": [] 
}, 

```

with

```auto
"activity": { "type": "ACT_NULL" },

```

it should fix it.
