Page 1 of 1
[0.7.1] Crash to desktop opening inventory/crafting window
Posted: Thu Oct 10, 2013 9:38 pm
by Telarin
After loading a version 0.7.0 saved game in version 0.7.1, as soon as I press 'E' to open the inventory/crafting window, the game crashes to desktop.
Re: [0.7.1] Crash to desktop opening inventory/crafting wind
Posted: Thu Oct 10, 2013 11:07 pm
by FreeER
I'm almost certain they will need more info for this one...Perhaps upload the save so they can check it out?
Re: [0.7.1] Crash to desktop opening inventory/crafting wind
Posted: Fri Oct 11, 2013 12:44 pm
by Telarin
Re: [0.7.1] Crash to desktop opening inventory/crafting wind
Posted: Fri Oct 11, 2013 1:33 pm
by FreeER
I took a quick look and while I'm not a dev, my guess is that it's the logistic robots trying to deliver big combat robot capsules (changed to distractors in 7.1). I'm basing this off of the fact that in 7.1 you can open a chest and see the inventory without crashing, and you can open your inventory/crafting just fine in 7.0, but I noticed the logistic robots filter.
a quick test by loading in 7.0, removing filter and then loading in 7.1 concludes: that I am very like to be correct, no crash.
I've no idea how to fix this in a script but here's the save without the filter (thus no crash).
https://www.dropbox.com/s/rdz95viz8frlx ... in0702.zip
Re: [0.7.1] Crash to desktop opening inventory/crafting wind
Posted: Fri Oct 11, 2013 1:54 pm
by kovarex
FreeER wrote:I took a quick look and while I'm not a dev, my guess is that it's the logistic robots trying to deliver big combat robot capsules (changed to distractors in 7.1). I'm basing this off of the fact that in 7.1 you can open a chest and see the inventory without crashing, and you can open your inventory/crafting just fine in 7.0, but I noticed the logistic robots filter.
a quick test by loading in 7.0, removing filter and then loading in 7.1 concludes: that I am very like to be correct, no crash.
I've no idea how to fix this in a script but here's the save without the filter (thus no crash).
https://www.dropbox.com/s/rdz95viz8frlx ... in0702.zip
Hehe you are correct

The bug is caused by the removed (or migrated) item. In inventory/crafting queue these kind of migrations (removals) are checked, but not in the filter, which leaves the filter with invalid item.
The same would happen (until 0.7.2) if you had mod item there and you removed the mod.
It will be fixed in 0.7.2