Space Engineers

Space Engineers

Automated Inventory Sorting
Dark 19 Oct, 2014 @ 10:18am
Bug: unable to override wildcard
I think I've found a bug: can't override pull settings for "Construction Component" if Component wildcard is used:

[21:03:07] Moving 5482 Construction from 'Large Cargo Container 5' (Large Cargo Container 5) to 'LCC [Component,SteelPlate:8000,Construction:4000]' (Large Cargo Container) - 72257909830959689

Clearly over 4000 was moved in one go.

If I remove "Component" from name:
[21:09:02] Moving 4000 Construction from 'Large Cargo Container 7' (Large Cargo Container 7) to 'LCC [SteelPlate:8000,Construction:4000]' (Large Cargo Container) - 72257909830959689

Those two containers are on different grids if that matter.

http://pastebin.com/4mZKFRhe - full log
< >
Showing 1-5 of 5 comments
Dark 19 Oct, 2014 @ 12:20pm 
http://pastebin.com/BAPeXKVm quick and dirty fix for intermediate use.
Autositz 19 Oct, 2014 @ 5:31pm 
Have you tried the following syntax yet and checked if it gives the expected result?
[Component,Component/SteelPlate:8000,Component/Construction:4000]
This works for Ingot and Ore.. so no clue if for Component aswell.. as Component/ITEM is not listed on the 'readme'....
Last edited by Autositz; 19 Oct, 2014 @ 5:32pm
Dark 20 Oct, 2014 @ 4:13am 
I did tried that at first. Tried moving "Component" around, nothing worked...then I started digging the code.
tyrsis  [developer] 20 Oct, 2014 @ 1:16pm 
I will look at this. Your method works fine, and I may just use it, but I believe I'm going to cleanup how I'm doing operators. Kind of busy with something else right now, but will use it as a stopgap for now I believe. Thanks
Dark 20 Oct, 2014 @ 2:45pm 
I managed to fix item "splitting" as well, it was indeed a rounding error.
Using decimals and pure ints instead of doubles got rid of ~ items.
< >
Showing 1-5 of 5 comments
Per page: 1530 50