Space Engineers

Space Engineers

Selective Refining
94 則留言
Leon 2020 年 8 月 5 日 下午 2:32 
thx
Welerongorgo 2020 年 8 月 5 日 下午 2:21 
If anyone's still interested in this script. I've posted a fixed version of it to the workshop which brings the code up to date.

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2188612790

It doesn't look like this one is going to be updated any time soon.
Leon 2020 年 7 月 11 日 下午 4:34 
updat plz
Orhunersy 2020 年 5 月 13 日 上午 1:40 
Please Update
zarozak 2019 年 2 月 7 日 上午 3:39 
still not working
Leon 2018 年 12 月 11 日 下午 7:07 
updat plz
______ 2018 年 11 月 2 日 上午 6:32 
No Function
xXPredzioXx 2018 年 6 月 1 日 下午 5:08 
damn i love this script if you culd update it i wuld be greatfull
Yumata 2017 年 8 月 15 日 下午 5:23 
Old Code,No Function
Leon 2017 年 4 月 29 日 下午 4:08 
updat plz ?!
Morphik 2017 年 2 月 2 日 上午 12:02 
IMyInventoryOwner has been obsolete for a while now. if you don't want the warning you can literally just delete the word and the script should be just fine.
Jeder liebt Safari!! 2017 年 1 月 28 日 下午 6:54 
it warns that IMyInveotryOwner is obsolete, but works.

But I had a problem with |, without a blank +gold|all it doesnt work and do strange things, with a blank it works perfect.

nice work! thx for the script :)
Hanzaplast 2017 年 1 月 12 日 上午 7:38 
I use this script and it works pretty good but now I stumbled upon a strange problem. I had it working successfuly with 4 refineries, but when I later built 4 more, it didn't work completely for the new 4. They are all connected to the conveyor network and the ownership is all set to me. The script doesnt pull in new ores despite te names being 'Refinery ## +all'. What it does do, however, is turn the refineries off. So somehow it doesn't want to pull new ores and as such thinks the refinery has nothing to do, thus turning the refinery off.

Anyone else have this problem? Any tips/hints/fixes?
Psycho 2016 年 12 月 19 日 下午 12:29 
thank god this still works.^^
Leon 2016 年 12 月 18 日 下午 9:19 
updat Plz
The Internet 2016 年 9 月 28 日 下午 12:33 
Same issue as Devlah here as well
Greystar 2016 年 9 月 5 日 下午 3:48 
for some reason since i started running this script my refineries won't refine Scrap Metal.
17864155 2016 年 8 月 8 日 下午 10:02 
Can only control 40 refineries at the same time. More, it will appear, "the script is too complex, please re edit the reconstruction of the script"
Vichama 2016 年 7 月 17 日 下午 4:41 
Great powersaving mod. Is there a way to get this to pull ore out of the Nanite Factory Mod? Also, how do I add metal scrap to the ore list? Do I just put it in that "string[] oreTypes" line? If I do, do I leave a space like "metal scrap" or do I need an underscore like "metal_scrap", or can I just add "scrap"?
Mycroft Groks 2016 年 4 月 13 日 上午 7:32 
I solved that by adding sorters to the refineries and turning off the conveyor system on the refineries. Have one sorter going into the refinery with only ore whitelisted, and then have a sorter pulling out the ingots.
Devlah 2016 年 4 月 6 日 下午 9:07 
SE v1.128: No errors in compiler or during execution, however it seems for some reason Ore is being ejected and replaced into designated refineries at the end of the timer cycle.
Mycroft Groks 2016 年 3 月 15 日 下午 5:34 
Same here as well
Ace_Fetz 2016 年 3 月 14 日 上午 3:48 
same issue as Deviah
Devlah 2016 年 3 月 14 日 上午 12:03 
Lines 292, 323, 328 and 336 have missing namespace errors. "IMyInventory" and "IMyInventoryItem" could not be found, are you missing a using directive or an assembly reference?
Mycroft Groks 2016 年 2 月 21 日 下午 3:01 
I'm having an issue with Arc furnaces turning off when there is no cobalt and nickel, but not sharing the workload with iron arc furnaces. I have them set up as "Refinery +Nickel |iron", "Refinery +Cobalt |Iron"
Robertak 2016 年 1 月 19 日 下午 1:33 
well.. i solved that by deleting of part of the code which was supposed to turn conveyor system use off.. script still seems to work fine, but is not shutting conv. system use off.. :-)
Robertak 2016 年 1 月 19 日 上午 6:42 
Hi Reptar. I have one problem with this script. When used without Items Sorting script to move refined ignots from the refinery to cargo container refineries are getting stuck with refined ingots as for now "use conveyor system" function (which is set to off by this script) works for both feeder cargo and output cargo of refinery block.
Maniac 2016 年 1 月 17 日 下午 3:18 
This works if I use the all, setting, but I picked this script specifically because it has the ability to selectively control what is refined. The problem is, when I use, for examble +Uranium, or +Magnesium, for example, it just clears the refineries inventory, and turns it off. Every time.
ivianrr 2015 年 12 月 7 日 下午 5:52 
This is perfect, just what i needed. Will you update it?
REQUIM 2015 年 11 月 27 日 上午 12:27 
strange problem here every time the script triggers my uranium gets pulled out and place back in alternating each time
Satis 2015 年 11 月 3 日 下午 2:22 
@Curzon Dax it already works with the Arc Furnace. I have no problems on my end. The only thing I needed to do was add the scrap to the accept list for the furnace and refinery to grab those as well.

Regarding updating the script, I'm guessing that it's about not sorting it based on what needs to be refined first before the secondary list kicks in.
Demon1337 2015 年 10 月 18 日 下午 4:36 
This script needs a major update i think. It does its job partially but not all the way
HayateKusoni 2015 年 9 月 1 日 下午 10:56 
Hey can u make this script work with Arc Furnaces?
Rylo704 2015 年 4 月 12 日 下午 1:17 
looks like some of your scripts need an update
L3htokurppa 2015 年 4 月 1 日 下午 2:57 
Every time the script is ran by timer block, all my refineries empty themself and later draw ore and then again on script ran, they empty. Any suggestions to solve this?
Dagothra 2015 年 3 月 22 日 下午 7:44 
I would like to see a tutorial on adding custom ores from other mods to be sorted. Right now it yanks most custom ore types back out.
yokmp 2015 年 3 月 18 日 上午 3:49 
Pls add Scrap to Iron Refinery.
Keep up the good work!
Scrub 2015 年 3 月 17 日 上午 9:03 
Seems to enable refineries to skip over the new conveyor blocks. Ores are going from my group of refineries through a Conveyor sorter that whitelists ingots rather than being put back into the container ores come from. There are no loops to bypass the sorter and nothing to stop the ores from returning to the previous container.
Tiger 2015 年 2 月 28 日 下午 7:13 
You can take your time, and make it all spiffy and clean, like this one.

I've been scouring the Workshop for a script that would tally up the ore stocks within an entire conveyor network (cargo containers & all refineries), and print that on an LCD screen... but alas, 'tis hopeless. My aim here is to have one LCD screen in my refinery room, which updates frequently to show overall progress. It doesn't need to list refineries individually (that can be a separate script request, for later); just the cumulative sum of all owned containers with any ore.
Tiger 2015 年 2 月 28 日 下午 7:13 
Ditto for a version that does the same, but with components. It'd be very handy to have a screen in a workroom that gives a complete inventory of available parts across an entire conveyor network (including within assemblers).
Tiger 2015 年 2 月 28 日 下午 7:13 
And another code that does the same trick, but with ingots, tallying up all containers, refineries, and assembler inventories, and simply listing them.

Each code should be expandable for custom ores (see Geneticus's new ores, and the Advanced Life Support mod), as well as mod-added refineries (especially the Stone Crusher and Uranium Centrifuge).
Tiger 2015 年 2 月 28 日 下午 7:13 
Simple list output would be perfect; doesn't need to be fancy to be effective. Just the name of an item, maybe a dash, and the sum total in the network, one per line. KISS, you know. ;)

Do any of those sould like something you could sharpen your mad C# skills on?
Reptar  [作者] 2015 年 2 月 28 日 下午 6:42 
@Tiger Sure, I can write some stuff by request, but I can't promise if or when I'd ever finish it :P
Tiger 2015 年 2 月 28 日 下午 6:36 
Excellent script!
A perfect patch for the Automated Inventory Script (mod)'s current Keen-caused bug where it no longer manages the vanilla Refineries. I was even able to easily edit the ore string to include the many modded ores I have, and I know nothing of C#.

If I may ask, are you willing to consider writing new codes by request?
Fleabag 2015 年 2 月 27 日 下午 7:55 
Currently have 4 refineries and 2 arc furnaces, script continues to pull Cobalt and Iron out of the opposite arc and put in the other over and over, not sure what the issue is have not had a problem with this script before. (Naming conventions were followed mod blocks were removed from the system to detect any interference)
scorp27 2015 年 2 月 22 日 下午 5:31 
seems the ingame scripts and workshop is broken, they dont show up even if your subscribed
rehsinuP 2015 年 2 月 22 日 上午 7:04 
i never used scripts before...so...click on sub start se, load my survivalmap and try to load it in the programming block...but i didnt see the script. What i am doing wrong? I rly used this on the first time so sorry for a bit nooby ask
Reptar  [作者] 2015 年 2 月 17 日 下午 10:50 
@AppleSucks No, you just change the actual name of the refinery to have the + or - in it.
WarDave 2015 年 2 月 16 日 下午 11:16 
So your saying to edit this line "string[] oreTypes = { "cobalt", "gold", "iron", "magnesium", "nickel", "platinum", "silicon", "silver", "stone", "uranium" };" to have the + or - in the ore name?