Space Engineers

Space Engineers

Automated Inventory Sorting
Clor 30 Oct, 2014 @ 3:29am
Mod Crshing game.
Hi. sorry for my bad English. After 3-5 minutes after starting, the game crashes.
This only happens when something is SORTED. When not sorted all is well.
Pastebin is problem today.


[12:59:56] Moving 1.00 SteelPlate from 'Сборщик 12 ведущий [Ingot:75,ingot/iron:Override:605,ingot/Cobalt:225]' (Сборщик 12) to 'Большой грузовой контенер 7[component]' (Большой грузовой контенер 7) - 72067653707839020
[12:59:59] SortInventory(): System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at 33FB6E717989660631E6772B99F502AD.DE48496EE9812E665B802D5FE9E7AD77.EFBD3CF8717682D7B59A5878FF97E0BB()
at 6DDCED906C852CFDABA0B56B84D0BD74.F00C92FFA6F55CD283D86570FFC332AE.GetObjectBuilderCubeBlock(Boolean A5DC70F106B952A1255F4B70E35F9DCD)
at 6DDCED906C852CFDABA0B56B84D0BD74.B5257F4B8254F1D432BFCE1B5DCC1A5E.GetObjectBuilderCubeBlock(Boolean A5DC70F106B952A1255F4B70E35F9DCD)
at SimpleInventorySort.Inventory.FindAndTakeInventoryItem(List`1 slimBlocks, IMySlimBlock slimBlock, IMyInventory inventory, SortDefinitionItem item, List`1 compList)
at SimpleInventorySort.Inventory.SortInventory()
[12:59:59] Moving 51.70 Stone from 'Очистительный завод 4[ore/iron:1,ore/Nickel:1,ore/Cobalt:1]' (Очистительный завод 4) to 'Большой грузовой контенер[ingot]' (Большой грузовой контенер) - 72067653707839020
[12:59:59] Moving 2.44 Nickel from 'Дуговая печь' (Дуговая печь) to 'Большой грузовой контенер[ingot]' (Большой грузовой контенер) - 72067653707839020
[12:59:59] Moving 1.15 Nickel from 'Очистительный завод[ore/iron:1,ore/Nickel:1,ore/Cobalt:1]' (Очистительный завод) to 'Большой грузовой контенер[ingot]' (Большой грузовой контенер) - 72067653707839020
[12:59:59] Moving 1.15 Nickel from 'Очистительный завод 3[ore/iron:1,ore/Nickel:1,ore/Cobalt:1]' (Очистительный завод 3) to 'Большой грузовой контенер[ingot]' (Большой грузовой контенер) - 72067653707839020
[12:59:59] Moving 1.15 Nickel from 'Очистительный завод 6[ore/iron:1,ore/Nickel:1,ore/Cobalt:1]' (Очистительный завод 6) to 'Большой грузовой контенер[ingot]' (Большой грузовой контенер) - 72067653707839020
Last edited by Clor; 30 Oct, 2014 @ 3:30am
< >
Showing 1-7 of 7 comments
tyrsis  [developer] 30 Oct, 2014 @ 9:06pm 
I'm sorry this is happening to you. Can you please get it to crash again, and post to pastebin.com the logs from these directories:
%appdata%/SpaceEngineers/SpaceEngineers.log
%appdata%/spaceengineers/storage/321588701.sbm_SimpleInventorySort
Clor 30 Oct, 2014 @ 11:35pm 
tyrsis  [developer] 31 Oct, 2014 @ 10:57am 
That is weird, what crash screen do you get when it crashes? The logs are empty of anything important that I can use to figure this out. I've tried to catch a section that may be crashing, but I highly doubt that is the problem.

Can you try again and confirm that it's still crashing? Is it the typical crash dialog that asks you to send a report to keen?
Clor 31 Oct, 2014 @ 1:24pm 
Message from windows. The search for a solution online or close. The program terminates abnormally.
If sorting is not to use, or disable /togget the game work
Try it to break the game, maybe that will appear in the .log
Sorry that does not work mod is excellent.
Last edited by Clor; 31 Oct, 2014 @ 1:27pm
tyrsis  [developer] 31 Oct, 2014 @ 4:59pm 
Unfortunately without logs I can't fix the problem. But I can give you a work around. What I will do is this. I will add a command for you that lets you sort "safely". What this means is, when I add the command, you have to manually sort by typing something like /sort manual. This will run the sort once, and it will be safe and wont' crash you. That should be enough to sort a lot of stuff. And then you can run it whenever you want stuff sorted.

I hope you understand what I mean. I will add this command in the next update, so you will be able to use the mod without it crashing you (even though it's not perfect).
tyrsis  [developer] 31 Oct, 2014 @ 9:48pm 
I have added the command "/sort manual". You can now toggle off the automatic sort, and you can sort on demand by typing "/sort manual". This should make it so that you don't crash, and also lets you sort whenever you want. So before you go to check your inventory, just type /sort manual, and it will sort everything for you once. I know it's not perfect, but it will at least let you use the mod.
Clor 31 Oct, 2014 @ 11:22pm 
Thank you! I think the game is broken earlier than creates a log.
< >
Showing 1-7 of 7 comments
Per page: 1530 50