Stationeers

Stationeers

View Stats:
Thiesen Jan 6, 2024 @ 7:57pm
My centrifuges don't output their contents unless I open them but that stops them totally and then they empty themselfs
The videos I have seen they can be opened so that they empty thmeself while still running...

What is going on?
Originally posted by MeLKiEugene:
Originally posted by Thiesen:
Originally posted by MeLKiEugene:
Start:
yield
lb r1 690945935 Reagents 0
lb r0 690945935 Open 0
select r0 r0 0 50
sgt r0 r1 r0
sb 690945935 Open r0
j Start

I am not at the MIPS stage yet... so that's meaningless to me...

But I somewhat actually got it to work using just a batch reader and a batch writer... the problem is to get the logic to start the centrifuges again once the error is gone...

And I did not read the reagents... I read the error of the centrifuges... the problem is that they stay open even when emptied... and thus they're still in an error state...
You can just copy this and it will work when the centrifuges are filled to an average of 50.
Or chips...
1. Batch Reader - Set Centrifugers -Reagents
2. Batch Reader - Set Centrifugers -Open
3. Memory Chip - 0
4. Memory Chip - 50
5. Select Unit - Set Reader No. 2
Input 1 - Memory Chip - 50
Input 2 - Memory Chip - 0
6. Compare Unit
- Input 1 Set Reader No. 1
Greater
- Input 2 - Set Select Unit
7. Batch Writer
-Input Compare Unit
-Output Centrifuges
-Setting Open

Try this option, it should work
< >
Showing 1-15 of 36 comments
ItsDarthChaos Jan 6, 2024 @ 8:53pm 
They will only open on their own if you stop their rotation. You can open them manually, which will start to slow them down or even stall them, or you can program them to stop, empty their contents, then start again.
Thiesen Jan 6, 2024 @ 9:00pm 
Originally posted by ItsDarthChaos:
They will only open on their own if you stop their rotation. You can open them manually, which will start to slow them down or even stall them, or you can program them to stop, empty their contents, then start again.

Which completly breaks a deep miner chain with centrifuges... the deep minerrs will continue to produce dirty ore and thus backing up the chutes:..

Awesome decision devs!!!!
Alizia Kaline Jan 6, 2024 @ 11:40pm 
Originally posted by Thiesen:
Which completly breaks a deep miner chain with centrifuges... the deep minerrs will continue to produce dirty ore and thus backing up the chutes:..

Awesome decision devs!!!!

Yes awesome decision, because now there is something to do to mine. Nothing broke, you just need to code their automatization. Literally 5 lines of MIPS, doable without MIPS too.

Stop complain for nothing seriously...
ItsDarthChaos Jan 7, 2024 @ 1:28am 
Originally posted by Alizia Kaline:
Originally posted by Thiesen:
Which completly breaks a deep miner chain with centrifuges... the deep minerrs will continue to produce dirty ore and thus backing up the chutes:..

Awesome decision devs!!!!

Yes awesome decision, because now there is something to do to mine. Nothing broke, you just need to code their automatization. Literally 5 lines of MIPS, doable without MIPS too.

Stop complain for nothing seriously...
I mean honestly yeah... It's a minor inconvenience compared to going out and mining the ore yourself.
Thiesen Jan 7, 2024 @ 3:16am 
Originally posted by Alizia Kaline:
Originally posted by Thiesen:
Which completly breaks a deep miner chain with centrifuges... the deep minerrs will continue to produce dirty ore and thus backing up the chutes:..

Awesome decision devs!!!!

Yes awesome decision, because now there is something to do to mine. Nothing broke, you just need to code their automatization. Literally 5 lines of MIPS, doable without MIPS too.

Stop complain for nothing seriously...

Thanks for the nice reply... especially the last part... makes one feel welcomed...

I am not gonna delve into MIPS coding but doing it with logic chips seems possible...

Batch Slot Readers reads what from the centrifuges?

And Batch Writers writes what to them?
Grand Forks Jan 7, 2024 @ 4:29am 
mips code would be a lot easier to do, but, I would try to look at what the centrifuge full dialog is then use that in the chip set(logic chips) empty then close. Me I have not used it to perfection yet but i have set up where it only uses its own power in two different ways, from coal that it accumulates and wind (mars).
My biggest problem was/is overflow from the mining. May need a silo option
or more centrifuges IE power I think it was under 500w to run mine, basic centrifuge and stacker. I would have to look again.

This is where mips would be easier, update would be faster to change in coding and updating your automation.

Lots of time when i do mips i use displays showing what the output value is. open close percent kelvin etc. It makes it easier to learn and more understanding for automation options.

I wish you good luck and yes you should be able to do it in logic chips

its the same as mips logic just more visual.

ill edit in a bit have to look up the centrifuges
check this page out, it will help you answer the question
https://stationeers-wiki.com/Kit_(Centrifuge)

edit edit. to answer the first question you had it was a update that made the centrifuge stop spinning before unloading. I mean it always tried to stop but would unload before completely stopping ie the videos were a bit ago.

I think when they first were implemented they kept running and were used with the shredder.
Last edited by Grand Forks; Jan 7, 2024 @ 4:45am
ItsDarthChaos Jan 7, 2024 @ 7:37am 
Originally posted by Thiesen:
Originally posted by Alizia Kaline:

Yes awesome decision, because now there is something to do to mine. Nothing broke, you just need to code their automatization. Literally 5 lines of MIPS, doable without MIPS too.

Stop complain for nothing seriously...

Thanks for the nice reply... especially the last part... makes one feel welcomed...

I am not gonna delve into MIPS coding but doing it with logic chips seems possible...

Batch Slot Readers reads what from the centrifuges?

And Batch Writers writes what to them?
Believe me, MIPS is an absolute pain in the ass to learn. But it makes life so much easier once you start getting the hang of it. And something simple like this is a great place to start learning it.

I just wish the game would pause while you are working in MIPS. I could spend hours working there, but it's hard when you are constantly being pulled away because of food/water/oxygen/ect. Which is why I have a creative world I use when I need to work on a more complicated system.
Last edited by ItsDarthChaos; Jan 7, 2024 @ 7:39am
> Believe me, MIPS is an absolute pain in the ass to learn.

I don't think so, and I say that despite knowing that my background is different. And ...

> I just wish the game would pause while you are working in MIPS.

... this means that you haven't yet seen the little pause button on screen in the top right of the editor, so I could guess that you haven't spent much time there. - Sorry if any of this feels offensive, it's not intended.
ItsDarthChaos Jan 7, 2024 @ 9:43am 
Originally posted by God, owner of the Universe:
> Believe me, MIPS is an absolute pain in the ass to learn.

I don't think so, and I say that despite knowing that my background is different. And ...

> I just wish the game would pause while you are working in MIPS.

... this means that you haven't yet seen the little pause button on screen in the top right of the editor, so I could guess that you haven't spent much time there. - Sorry if any of this feels offensive, it's not intended.
... You are joking. I have seen it many times, but I always assumed it just paused the code you are working on...

which I guess since you have to export it to update the chipset, doesnt actually make any sense. God, I feel dumb now. XD

And to clarify, when I say it's a pain in the ass, that is mostly because the language it uses is a bit awkward for me. I am used to working in a more 'if x = a then b else c' type of format. And don't even get me started about the Stack. That is a monster I still haven't been able to wrap my mind around. XD
Last edited by ItsDarthChaos; Jan 7, 2024 @ 9:48am
Thiesen Jan 7, 2024 @ 10:09am 
I am not a programmer but to me MIPS seems to look like some kind of Assembly... I know what mnemonics are and what machine code are though...
Paul Jan 7, 2024 @ 10:55am 
They got reworked pretty recently so if you're watching older videos they'll work differently there.
Wolfie_ Jan 7, 2024 @ 6:14pm 
Originally posted by Thiesen:
Originally posted by ItsDarthChaos:
They will only open on their own if you stop their rotation.
Which completly breaks a deep miner chain with centrifuges... the deep minerrs will continue to produce dirty ore and thus backing up the chutes:..

Suggestion: Could make use of the silos (holds 600 item 'stacks' each) as a buffer, then be a matter of figuring out how long takes to stop & unload the centrifuge verses how much ore stacks generated to decide how many silos needed.
FarmerPalmer Jan 7, 2024 @ 9:18pm 
Originally posted by Thiesen:
Which completely breaks a deep miner chain with centrifuges... the deep miners will continue to produce dirty ore and thus backing up the chutes:..

Just had a thought, The idea of having an extra centrifuge that you switch on while the other one is emptying, (sorry can't remember ratio of 'fuges to miners). say you need 3 'fuges, build 4.
1, 2, 3, on, 4th off/emptying
2, 3, 4, on, 1st off/emptying and so on.
Was an idea I got, could help? It would be up to the operator to work out how they implement this ether manual of automated.
Last edited by FarmerPalmer; Jan 7, 2024 @ 9:19pm
Alizia Kaline Jan 7, 2024 @ 10:56pm 
Originally posted by Thiesen:
Thanks for the nice reply... especially the last part... makes one feel welcomed...

Well, when you come complain about devs adding (finally) a minimum of gameplay, you can't really hope receive more than "play the game" answer.

Little note : This change is in fact a simple fix, it was written that the centrifuge was supposed to work this way. I assume that for dev purpose, they removed this contraint during a certain time. Expect this kind of change in the future, build your system with this in mind (possibility of expansion, reserve some spare resources, etc...).

However, to prove my good faith, here is a solution in MIPS, with the thought process to be able to apply it on all situation :

Tools :
-> Tablet - Cartridge Configuration
-> F1 - Stationpedia

Variables available :
- Open : Control the exit of the ressources
- Error : =1 when something go wrong (open when empty, close when full)
- Reagents : Total of ressources in the centrifuge

Observations :
- Error =1 during the emptying.
- The maximum capacity = 400.

Algo :
We have to do 2 actions, open when it's full, close when it's "empty" (or almost).
These two actions are made only when error is triggered, we can use this.

Pseudo-code :
Max = 399.0
Min = 3.0 (there are always some reagent mix <1.0 remaining)

CodeError = GetCodeErrorMax() (careful, it's a float)
IsError = CodeError > 0
NbReagents = GetReagents()

IsFull = NbReagents > Max
IsEmpty = NbReagents < Min

IsFull = IsFull & IsError (it's full AND there is error)
IsEmpty = IsEmpty & IsError (it's empty AND there is error)

if(IsFull) -> Open() (Error will stay =1 until empty)
if(IsEmpty) -> Close() (Error will stay =0 until it's full)

Repeat.


This code is pretty simple and can be done in analogical too, but it will be more expensive in power.
Last edited by Alizia Kaline; Jan 7, 2024 @ 11:02pm
Alizia Kaline Jan 7, 2024 @ 10:57pm 
Solution in MIPS :

define CENTRIFUGE 690945935

define MAXREAGENT 399.0
define MINREAGENT 3.0

start:

lb CodeError CENTRIFUGE Error 3
sgt CodeError CodeError 0
lb NbReagents CENTRIFUGE Reagents 3

sgt IsFull NbReagents MAXREAGENT
slt IsEmpty NbReagents MINREAGENT

and IsFull IsFull CodeError
and IsEmpty IsEmpty CodeError


beq IsFull 1 open
beq IsEmpty 1 close
end:

yield
j start

open:
sb CENTRIFUGE Open 1
j end

close:
sb CENTRIFUGE Open 0
j end
< >
Showing 1-15 of 36 comments
Per page: 1530 50

Date Posted: Jan 6, 2024 @ 7:57pm
Posts: 36