How Does Depot Priority Work?
Moderator: Optera
How Does Depot Priority Work?
My trains are not prioritizing them when returning to depots, and the trains in those depots are not priortized first on deliveries. I even have made the priority a million with no noticable change.
Re: How Does Depot Priority Work?
First check if the correct signals are sent to the stop.
Should the problem persist enable debug log, attach factorio-current.log and tell me which depot to look for.
Should the problem persist enable debug log, attach factorio-current.log and tell me which depot to look for.
My Mods: mods.factorio.com
Re: How Does Depot Priority Work?
This is from a sandbox save with a simple provide > request > depot loop. The depots ones with no priority are closest to the provider and requester stations and are being chosen first over the further but much higher priority ones. A train is sitting in the depot priority: 999999999 stop, and wont leave unless you make it be the only avalable depot. Another depot of similar priority is empty and not being chosen for incoming trains.
- Attachments
-
- factorio-current.log
- (554.97 KiB) Downloaded 125 times
Re: How Does Depot Priority Work?
Seems like I messed up big when writing the depot priority code.
It never could have worked as intended and still yours is the first bug report after over a year since it was introduced.
It will take time to properly fix it.
It never could have worked as intended and still yours is the first bug report after over a year since it was introduced.
It will take time to properly fix it.
My Mods: mods.factorio.com
Re: How Does Depot Priority Work?
Fixed in 1.16.0
Switching train selector to use table sort was simpler than squeezing priority into the old structure.
Switching train selector to use table sort was simpler than squeezing priority into the old structure.
My Mods: mods.factorio.com
Re: How Does Depot Priority Work?
I am seeing this issue pop up in 1.16.3
I have two depots at the top and a requester and provider at the bottom. No matter what the two depots are set to, the closest depot is selected.
https://imgur.com/hlSh7Wu
The top depot was always set at 100 Priority, and I have changed the bottom one from 50, to 150, to -50
The only mods enabled are LTN and Editor Extensions.
I have two depots at the top and a requester and provider at the bottom. No matter what the two depots are set to, the closest depot is selected.
https://imgur.com/hlSh7Wu
The top depot was always set at 100 Priority, and I have changed the bottom one from 50, to 150, to -50
The only mods enabled are LTN and Editor Extensions.
Last edited by Jao247 on Tue Oct 26, 2021 10:40 pm, edited 1 time in total.
Re: How Does Depot Priority Work?
You would need identical trains parked at both depots to even begin testing depot priority.Jao247 wrote: ↑Tue Oct 26, 2021 10:37 pm I am seeing this issue pop up in 1.16.3
I have two depots at the top and a requester and provider at the bottom. No matter what the two depots are set to, the closest depot is selected.
https://imgur.com/hlSh7Wu
The top depot was always set at 100 Priority, and I have changed the bottom one from 50, to 150, to -50
The only mods enabled are LTN and Editor Extensions.
My Mods: mods.factorio.com
Re: How Does Depot Priority Work?
Paste this in editor mode and watch where it picks trains from: Left is with priority and right without. Start the trains by turning on the constant combinator.