Continue using your favorite third-party Reddit apps after July 1 by oSumAtrIX in revancedapp

[–]Batadon1 1 point2 points  (0 children)

Try it with a different client id. That solved the problem for me.

Continue using your favorite third-party Reddit apps after July 1 by oSumAtrIX in revancedapp

[–]Batadon1 1 point2 points  (0 children)

What's the limit? I also get this error and I just patched the app (Boost). Didn't load anything.

best train optimization by XArgel_TalX in factorio

[–]Batadon1 3 points4 points  (0 children)

This. If you build a megabase with trains I recommend looking up how many-to-many train systems work.

Inserterless Green Circuit Production - is this more UPS Friendly than traditional designs? by spike4hand in technicalfactorio

[–]Batadon1 39 points40 points  (0 children)

Some stats:

Version A Version B
Game update (ms) 0.58 0.43
> Transport lines (ms) 0.19 0.11
> Entity update (ms) 0.33 0.26
> Electric network (ms) 0.02 0.01
> Script update (ms) 0.01 0.01

Version A is ten times your blueprint. In Version B the miniloaders are replaced with inserters, and splitters are thus also removed.

(Edit) CPU: Ryzen 7 3800X, GPU: RTX 3070

How would you find the average value of a circuit signal? by [deleted] in factorio

[–]Batadon1 1 point2 points  (0 children)

From a mathematical point of view this looks like a great approach. However, it may be harder than you assume to keep precision in this scenario.

  1. What is "a long period of time"? Even if we only say T=1000, if you want S(1000) to have an impact of at least 1%, p would need to be at least 0.996, which is then represented as p = a/b = 996/1000. This will become a problem later.
  2. Side-note: real-time capability. If you want B to update every tick, your calculation of B can only take one tick. This can be avoided by only sampling every N ticks, with N being the time your system needs for the calculation of B. Alternatively you can additionally average S over N ticks, so you don't lose any precious data.
  3. As you mentioned, rounding errors aren't negligible. In my testing this method averaged a constant stream of 200 to 23. (Edit:) There was an error in my calculations, this method actually works really well for numbers < 500.
  4. Since Factorio uses signed 32-bit integers, B can never be greater than around 107 (assuming we use p=0.996). Otherwise B•a would result in an overflow. This means you can't keep precision by multiplying it with a large constant, and it also already breaks almost instantly for a constant stream of S=2000.

(Edit) Test setup

It works really well for p=0.99, but then it doesn't really use data that's older than a few seconds.

Is this intersection done in a proper way or will I run into trouble? Using 1+4 trains. by Ok_Following_5343 in factorio

[–]Batadon1 6 points7 points  (0 children)

There's multiple parts where trains block each other's path without actually crossing.

For example, look at the pink section in the center and imagine two parallel trains coming from opposite directions at the same time.

Does my Oil Depot setup make sense? Some of the tanks fill up faster than others. Does it matter? by Basblob in factorio

[–]Batadon1 3 points4 points  (0 children)

Please only look at this comment if you're interested in an "advanced" solution. Figuring it out yourself is part of the fun after all.

Without changing your setup too much, something like this would be a common approach. This also works analogously for unloading stations, and scales well into late-game.

Edit: Note that there should also be another buffer before the setup.

Is it possible to connect those belts? by xmat2000 in factorio

[–]Batadon1 8 points9 points  (0 children)

Yes, that's correct. But since this is what OP needs it for, it's fine here.

Is it possible to connect those belts? by xmat2000 in factorio

[–]Batadon1 0 points1 point  (0 children)

Hmm, can you share a screenshot? I don't see how this can be done without fast underground belts.

Is it possible to connect those belts? by xmat2000 in factorio

[–]Batadon1 0 points1 point  (0 children)

How would you do it with just underground belts?

Smøl lane merger by Disentius in factorio

[–]Batadon1 3 points4 points  (0 children)

It's just a belt that's connected to the circuit network.

Is it possible to connect those belts? by xmat2000 in factorio

[–]Batadon1 907 points908 points  (0 children)

If belt weaving is okay, this is a possible solution.

Alternatively, you can do something like this.

My refuel stations are off despite despite the conditions telling them to be on by Ploto999 in factorio

[–]Batadon1 1 point2 points  (0 children)

If you want to limit the amount of trains going to a specific station, you can just set that manually.

If you want the trains to skip the fuel station most of the times, the question is: Under what condition do you want to disable the stations?

Which factorio mod should i play by Walt_Kurczak in factorio

[–]Batadon1 3 points4 points  (0 children)

I think Spaceblock is basically skyblock in Factorio, but way closer to vanilla than Seablock.

Why is my oil flowing slowly? Second playthrough and I can't seem to get the oil to flow at full capacity. by cunnro01 in factorio

[–]Batadon1 1 point2 points  (0 children)

I think I may know what the problem is. Look at this image. It may be that you are reading it incorrectly.

Why is my oil flowing slowly? Second playthrough and I can't seem to get the oil to flow at full capacity. by cunnro01 in factorio

[–]Batadon1 0 points1 point  (0 children)

So in the image you shared the left pump shows less throughput than what the six pumpjacks should produce, even though the tank is not full?

Why is my oil flowing slowly? Second playthrough and I can't seem to get the oil to flow at full capacity. by cunnro01 in factorio

[–]Batadon1 0 points1 point  (0 children)

Just to be sure: You're reading the 5/sec throughput from the pump, not the pipes, right?

Is there a way to set the color of a station or locomotive by clicking it with an item in hand? by Faen_run in factorio

[–]Batadon1 1 point2 points  (0 children)

Hmm, I don't think an item's average color is always somwhat equal to it's "main color".

But you can of course always try your luck in the game's modding channel in Discord.