Crashing when trying to load game

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 is the crash log.

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

Looks like your character is trying to repair nonexistent item? Probably worth a bug report on github.

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

1 Like

Force quitting during save could lead to anything.

1 Like

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.

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!

There is.

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

"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

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

it should fix it.

1 Like