Space Engineers

Space Engineers

Not enough ratings
Ore Sorting + More V2.1a
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.735 KB
10 Apr, 2016 @ 2:55pm
12 Apr, 2016 @ 6:06am
3 Change Notes ( view )

Subscribe to download
Ore Sorting + More V2.1a

Description
So this is a minorly repaired and slightly modified inventory sorting script for [Components] [Ingots] and [Ores], refineries, partial arc furnace support(clearing).

Important: Set conveyor off for refineries.(and clear the contents if filled)

IT PROGRESSIVELY loads refineries(not arc furnaces) with 500 of EACH ORE per cycle(wish I understood how the script was selecting the individual and unique ores but it does even if I do not see how), I recommend a 60 second timer loop. It moves [Ingots] from refineries, arc furnaces and assemblers to [Ingots] and it moves [components] to [components]. It also relocates any [Ores] that it finds into containers with [Ores] in the name, I would like to extend the scope of the search for more containers(all if i can figure it out exactly how) and relocate the various items into place.

So I dropped a lot of Vrage APi declarations(re added after installing VS2015) and went for local scope. Seems to work but this is the first time i'm using it.
______________________________________________________________________________
Shamelessly modified all credits to go to original authors -> -=Ripps=- and Stuart http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=594309065
==============================================================================
Ore sorting + More v2.1 Testworld -> http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=664082224

-=* Original Description *=-

This script will automatically search all cargo containers for ore and move/share them between any Cargo container with the "[Ores]" tag in their name, after that any ore(s) in the container(s) with the [Ores] tag will be sorted in to refineries / arc furnaces equally (Iron, Nickel and Cobalt will go to the arc furnaces the rest will go to the refineries) a equal amount of each ore will be split between how ever many you have.

The script will also empty all ingots from arc furnaces and refineries in to any cargo container with the tag "[Ingots]" in the name.

As well as that the script will clear out assemblers when they are finished and return ingots to the "[Ingots]" cargo, and it will move all components to any cargo container with "[Components]" in its name.

for the script to work you will need to have a timer block to run the script every second,
you will also need to make sure that all the arc furnaces and refineries have the conveyor system turned off

Let me know if you have any problems

~Stuart
11 Comments
Bobisback 21 Aug, 2016 @ 3:47pm 
will this iqnore docked ships? I have soem welding ships I do not want componets to come out of
Devlah 18 Jun, 2016 @ 11:33am 
I know right? I kinda wish there was either an option to change the font, or maybe a MOD that would do so sometimes.
Pheona Coldfire 17 Jun, 2016 @ 7:25pm 
ah ok I will try that! lol it is hard to tell the differance between ( and [ in game as the font makes them both look the same!
Devlah 15 Jun, 2016 @ 5:11pm 
Try using the brackets:
ie: "Large Cargo Container [Ingots]"
Pheona Coldfire 15 Jun, 2016 @ 4:44pm 
so I've tried your script but I cant seem to get it to work.........I have (Ores),(Ingots), and (components) in the names of my cargo containers and I have my refineries and furnaces turned off of conveyor use......am I missing something?
Devlah 13 Apr, 2016 @ 3:08am 
So would I. After struggling with the dedicated server not saving, I finally managed to get it fixed. NOW the script work without errors. I'm not sure what it was, but several restarts later, it finally works.
ID10TError  [author] 12 Apr, 2016 @ 11:40pm 
Did you try the Testworld?
All works tested again this morning so can you provide any further information, i'd like to understand what has happend with your game?
Compiles ok -> http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=664576286
Refinery 0 & 2 before run -> http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=664576543
Refinery 10 & 11 before run -> http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=664577225
Run screen -> http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=664577446
Refinery 0 & 2 after run -> http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=664577711
Refinery 10 & 11 after run -> http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=664578072
Devlah 12 Apr, 2016 @ 8:26pm 
v2.1a= "Caught exception during execution of script: No Main method available"
ID10TError  [author] 12 Apr, 2016 @ 5:48am 
Devlah 10 Apr, 2016 @ 6:53pm 
Caught exception during execution of script: No main method available