Space Engineers

Space Engineers

Selective Refining
Počet komentářů: 94
Leon 5. srp. 2020 v 14.32 
thx
Welerongorgo 5. srp. 2020 v 14.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 11. čvc. 2020 v 16.34 
updat plz
Orhunersy 13. kvě. 2020 v 1.40 
Please Update
zarozak 7. úno. 2019 v 3.39 
still not working
Leon 11. pro. 2018 v 19.07 
updat plz
______ 2. lis. 2018 v 6.32 
No Function
xXPredzioXx 1. čvn. 2018 v 17.08 
damn i love this script if you culd update it i wuld be greatfull
Yumata 15. srp. 2017 v 17.23 
Old Code,No Function
Leon 29. dub. 2017 v 16.08 
updat plz ?!
Morphik 2. úno. 2017 v 0.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!! 28. led. 2017 v 18.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 12. led. 2017 v 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 19. pro. 2016 v 12.29 
thank god this still works.^^
Leon 18. pro. 2016 v 21.19 
updat Plz
The Internet 28. zář. 2016 v 12.33 
Same issue as Devlah here as well
Greystar 5. zář. 2016 v 15.48 
for some reason since i started running this script my refineries won't refine Scrap Metal.
17864155 8. srp. 2016 v 22.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 17. čvc. 2016 v 16.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 13. dub. 2016 v 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 6. dub. 2016 v 21.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 15. bře. 2016 v 17.34 
Same here as well
Ace_Fetz 14. bře. 2016 v 3.48 
same issue as Deviah
Devlah 14. bře. 2016 v 0.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 21. úno. 2016 v 15.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 19. led. 2016 v 13.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 19. led. 2016 v 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 17. led. 2016 v 15.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 7. pro. 2015 v 17.52 
This is perfect, just what i needed. Will you update it?
REQUIM 27. lis. 2015 v 0.27 
strange problem here every time the script triggers my uranium gets pulled out and place back in alternating each time
Satis 3. lis. 2015 v 14.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 18. říj. 2015 v 16.36 
This script needs a major update i think. It does its job partially but not all the way
HayateKusoni 1. zář. 2015 v 22.56 
Hey can u make this script work with Arc Furnaces?
Rylo704 12. dub. 2015 v 13.17 
looks like some of your scripts need an update
L3htokurppa 1. dub. 2015 v 14.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 22. bře. 2015 v 19.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 18. bře. 2015 v 3.49 
Pls add Scrap to Iron Refinery.
Keep up the good work!
Scrub 17. bře. 2015 v 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 28. úno. 2015 v 19.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 28. úno. 2015 v 19.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 28. úno. 2015 v 19.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 28. úno. 2015 v 19.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  [autor] 28. úno. 2015 v 18.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 28. úno. 2015 v 18.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 27. úno. 2015 v 19.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 22. úno. 2015 v 17.31 
seems the ingame scripts and workshop is broken, they dont show up even if your subscribed
rehsinuP 22. úno. 2015 v 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  [autor] 17. úno. 2015 v 22.50 
@AppleSucks No, you just change the actual name of the refinery to have the + or - in it.
WarDave 16. úno. 2015 v 23.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?