Optera wrote:I confused myself since it defaults to comparator = >.
easy fix : no fix and no update needed because of the default.
but it should be adjusted anyway for the next version since they might someday decide to change the default ...
Moderator: Optera
Optera wrote:I confused myself since it defaults to comparator = >.
Done already.Anson wrote:Optera wrote:I confused myself since it defaults to comparator = >.
easy fix : no fix and no update needed because of the default.
but it should be adjusted anyway for the next version since they might someday decide to change the default ...
just tested on my old request-testmap, and it worked pretty well, doing proper round robin.Optera wrote:Let me know how well 0.6 holds up in your usage scenarios.
use_Best_Effort = falsedoe wrote:How do i stop my trains going to a provider station below what the minimum pickup is? for example i got -8k as min amount, and it send like 5-6 trains to get varied low amounts even though the prov does not have 8k yet. they go to get like 260 / 100 / 190 / 240 etc etc
i done something wrong with setup or i need to do something to stop this happening?
any help appreciated.
Thanks for testing. Next time please include the logfile at loglevel 4, so i can see in detail what each station has in stock and calculates.Anson wrote:...
Then game crashed, happened 2 times now.Error while running event on_tick (ID 0)
__LogisticTrainNetwork__/control.lua:224: attempt to concatenate field 'from' (a nil value)
Thanks for reporting.doe wrote:Installed your latest release, put a train down and sent to depot, when it reached depot i get this error:
Then game crashed, happened 2 times now.Error while running event on_tick (ID 0)
__LogisticTrainNetwork__/control.lua:224: attempt to concatenate field 'from' (a nil value)
Only thing i did was change best effort from true to false.
I seen that you released another version. Unfortunately i got exact same error and crash.Optera wrote:Thanks for reporting.doe wrote:Installed your latest release, put a train down and sent to depot, when it reached depot i get this error:
Then game crashed, happened 2 times now.Error while running event on_tick (ID 0)
__LogisticTrainNetwork__/control.lua:224: attempt to concatenate field 'from' (a nil value)
Only thing i did was change best effort from true to false.
I really should stop coding when tired... Those "brilliant" ideas I get when tired always come back to bite me.
You could either stop all trains and pick them up or wait until the faulty deliveries time out.doe wrote:I seen that you released another version. Unfortunately i got exact same error and crash.
You know you could simply turn off best effort?JREwing wrote:Hello, thank you for a really useful mod.
I have a tip for using and a Nice to have wish.
Iam feeding station with requests generated by circuit with histeresis. Some stations are not reading chests at all. I feed signal from Roboport to hysteresis circuit, and if comodity is below limit (eg. less then 10k of iron plates), it sends a signal (-6k of iron plates) to the station. With Station Minimum delivery size at 2k. And keep sending this signal until amount in network reach higher limit (eg. 30k of iron plates). Then stop sending at all. It always hauling full trains (or maximum what sending station can provide, but not less than 2k).
I probably will add a minimum train length signal for convenience. You can get your exact 10 carriages by setting min and max to 10.And Nice-to-have feature would be a Strict size of train signal. I have infrastrucure designed for one size of trains but I would like to use service delivery trains (with one cargo wagon) to haul amunition, repair kits, logistic and repair bots etc. But I want use those small trains for only this job and no other, even if minimum delivery size is lower then capacity of this train. Because loading station could have that amount on position different from the first wagon. Or some requsting station could empty the second locomotive (reverse) fuel, if match with hauling cargo.
I would like to have strict orders for trains, which stations are for 5 cart trains only (and no longer or shorter are allowed), which stations are for 10 cart trains only (and no longer or shorter are allowed) and which stations are for 3 cart trains only (and no longer or shorter are allowed).
Yes, I know. Iam using only that option. But I like hysteresis idea. Start hauling under 10k, and stops after reachin 30k. When Iam feeding the content (chest or logisting network) directly to the station, mod substract amount in chests from needed amount. So some trains may not be full. In my situation, trains are always full .Optera wrote: You know you could simply turn off best effort?
That would be really nice feature.Optera wrote: I probably will add a minimum train length signal for convenience. You can get your exact 10 carriages by setting min and max to 10.
Any requester can be set to minimum shipment size >= train inventory size to achieve the same effect of your hysteresis.JREwing wrote:Yes, I know. Iam using only that option. But I like hysteresis idea. Start hauling under 10k, and stops after reachin 30k. When Iam feeding the content (chest or logisting network) directly to the station, mod substract amount in chests from needed amount. So some trains may not be full. In my situation, trains are always full .Optera wrote: You know you could simply turn off best effort?
how would that be done ?Optera wrote:Any requester can be set to minimum shipment size >= train inventory size to achieve the same effect of your hysteresis.
best effort = trueAnson wrote:how would that be done ?Optera wrote:Any requester can be set to minimum shipment size >= train inventory size to achieve the same effect of your hysteresis.
can you please give us the values for signals at provider and requester to achieve this:
- no transports until requester has less than 10k ore
- when transports start, they are done with 2k delivery size
- transports continue until there are 30k ore
- transports don't stop when (after a few transports) the amount is back between 10k and 30k
although i probably would prefer a more steady flow (instead of peaks which might cause jams when several trains want to load and unload at the same time), i like the idea of setting up additional circuits to tend to special requirements (eg smelting batches of lots of copper and then lots of iron, instead of switching between the two all the time).
An encoded signal for valid train compositions. I like that, but I wonder who even makes use of the current encoded composition signal?the min train length and max train length will be really nice.
(i had suggested that already myself
an alternative could be to specify exact patterns (bitmasks) for engines and wagons, but that would probably be much too complicated to implement, to understand, and to use, and still not include all details that might be useful, eg not knowing the direction of the engines. parameters for min and max length together with specific lengths of trains should achieve good results already.
By outputing the encoded train composition LTN already allows for a more versatile and complex refueling system than smart trains.suggestion - refueling stations and stackers in front of depots
Thanks for reminding me. I think I said I'd move it to a pure red/green tech, but somehow forgot about that. It will use a lot of red/greens and while at it i might also add some of bobs science requirements if you use that.suggestion - LTN already before blue science